=== source code for java_client_erl_server_SUITE:marshal_us/1
=== Test case started with:
java_client_erl_server_SUITE:marshal_us([{java,"/usr/bin/java"},
{watchdog,<0.4467.0>},
{tc_logfile,
"/home/karol/R16B03/otp-support/release/tests/test_server/ct_run.test_server@zed.2013-12-30_21.50.52/tests.ic_test.logs/run.2013-12-30_21.50.55/java_client_erl_server_suite.marshal_us.html"},
{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,
"/home/karol/R16B03/otp-support/release/tests/ic_test/java_client_erl_server_SUITE_data/"},
{priv_dir,
"/home/karol/R16B03/otp-support/release/tests/test_server/ct_run.test_server@zed.2013-12-30_21.50.52/tests.ic_test.logs/run.2013-12-30_21.50.55/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/karol/R16B03/otp-support/release/tests/test_server/ct_run.test_server@zed.2013-12-30_21.50.52"
=== Started at 2013-12-30 21:57:14
/usr/bin/java -classpath "/home/karol/R16B03/otp-support/release/tests/ic_test/java_client_erl_server_SUITE_data/:/usr/lib/erlang/lib/ic-4.3.4/priv/ic.jar:/usr/lib/erlang/lib/jinterface-1.5.8/priv/OtpErlang.jar:" JavaClient JavaClient test_server@zed SVCEJRPSJZEXETXTPTJK marshal_us
Hello World!
{m_i_impl,89,[3,2,1,1]}
verify_us(3, 2, 1) => 1
{m_i_impl,89,[5,4,3,3]}
verify_us(5, 4, 3) => 3
{m_i_impl,89,[255,0,1,255]}
verify_us(255, 0, 1) => 255
{m_i_impl,89,[256,0,1,256]}
verify_us(256, 0, 1) => 256
{m_i_impl,89,[32767,0,1,32767]}
verify_us(32767, 0, 1) => 32767
{m_i_impl,89,[32768,0,1,32768]}
verify_us(-32768, 0, 1) => -32768
{m_i_impl,89,[65535,0,1,65535]}
verify_us(-1, 0, 1) => -1
{m_i_impl,89,[32767,-32768,1,65535]}
verify_us(32767, -32768, 1) => -1
{m_i_impl,89,[65535,-1,1,65536]}
Expected exception: com.ericsson.otp.erlang.OtpErlangDecodeException: Value does not fit in ushort: 65536
=== Ended at 2013-12-30 21:57:15
=== successfully completed test case
=== returned value = ok
Test run history
| Top level test index