import unittest
import sys
from jep_pipe import jep_pipe
from jep_pipe import build_java_process_cmd


@unittest.skipIf(sys.platform.startswith("win"), "subprocess complications on Windows")
class TestGetValue(unittest.TestCase):

    def test_get_collection_boxing(self):
        jep_pipe(build_java_process_cmd('jep.test.TestGetCollectionBoxing'))

    def test_get_bytearray(self):
        jep_pipe(build_java_process_cmd('jep.test.TestGetByteArray'))

    def test_get_temp_value(self):
        jep_pipe(build_java_process_cmd('jep.test.TestGetTempValue'))
