=== source code for java_client_erl_server_SUITE:marshal_s/1
=== Test case started with:
java_client_erl_server_SUITE:marshal_s([{java,"/usr/bin/java"},
{watchdog,<0.5005.0>},
{tc_logfile,
"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_23.14.18/tests.ic_test.logs/run.2014-01-03_23.14.24/java_client_erl_server_suite.marshal_s.html"},
{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,
"/home/pi/R16B03/otp-support/release/tests/ic_test/java_client_erl_server_SUITE_data/"},
{priv_dir,
"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_23.14.18/tests.ic_test.logs/run.2014-01-03_23.14.24/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_23.14.18"
=== Started at 2014-01-03 23:52:16
/usr/bin/java -classpath "/home/pi/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@localhost VEHYFUGFRZDWFAGWVXDB marshal_s
Hello World!
{m_i_impl,84,[3,2,1,1]}
verify_s(3, 2, 1) => 1
{m_i_impl,84,[5,4,3,3]}
verify_s(5, 4, 3) => 3
{m_i_impl,84,[-128,0,1,-128]}
verify_s(-128, 0, 1) => -128
{m_i_impl,84,[255,0,1,255]}
verify_s(255, 0, 1) => 255
{m_i_impl,84,[256,0,1,256]}
verify_s(256, 0, 1) => 256
{m_i_impl,84,[32767,0,1,32767]}
verify_s(32767, 0, 1) => 32767
{m_i_impl,84,[-32768,0,1,-32768]}
verify_s(-32768, 0, 1) => -32768
{m_i_impl,84,[32767,-1,1,32768]}
Expected exception: com.ericsson.otp.erlang.OtpErlangDecodeException: Value does not fit in short: 32768
{m_i_impl,84,[-32768,1,1,-32769]}
Expected exception: com.ericsson.otp.erlang.OtpErlangDecodeException: Value does not fit in short: -32769
{m_i_impl,84,[-32768,0,-1,32768]}
Expected exception: com.ericsson.otp.erlang.OtpErlangDecodeException: Value does not fit in short: 32768
=== Ended at 2014-01-03 23:52:18
=== successfully completed test case
=== returned value = ok
Test run history
| Top level test index