diff options
author | Bruce Yinhe <[email protected]> | 2014-08-25 15:32:32 +0200 |
---|---|---|
committer | Bruce Yinhe <[email protected]> | 2014-08-25 15:32:38 +0200 |
commit | 7003ce74a2dfe183c3f0dff5a0500ec611721e16 (patch) | |
tree | 3fe1414066f55dabd6d1e1df5430fb187362341e /lib/jinterface/test/jinterface_SUITE.erl | |
parent | 8e0ccafd46cd0a7e5531084a0ded38d1064e5051 (diff) | |
parent | 0725d5cdf30b740b5c90b9fd355401161f14f401 (diff) | |
download | otp-7003ce74a2dfe183c3f0dff5a0500ec611721e16.tar.gz otp-7003ce74a2dfe183c3f0dff5a0500ec611721e16.tar.bz2 otp-7003ce74a2dfe183c3f0dff5a0500ec611721e16.zip |
Merge branch 'vladdu/jinterface_fun_equals' into maint
OTP-12121
* vladdu/jinterface_fun_equals:
jinterface: fix bug in equality for OtpErlangFun
Diffstat (limited to 'lib/jinterface/test/jinterface_SUITE.erl')
-rw-r--r-- | lib/jinterface/test/jinterface_SUITE.erl | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lib/jinterface/test/jinterface_SUITE.erl b/lib/jinterface/test/jinterface_SUITE.erl index cb725164cd..00abc97ff5 100644 --- a/lib/jinterface/test/jinterface_SUITE.erl +++ b/lib/jinterface/test/jinterface_SUITE.erl @@ -38,7 +38,8 @@ java_exit_with_reason_any_term/1, status_handler_localStatus/1, status_handler_remoteStatus/1, status_handler_connAttempt/1, - maps/1 + maps/1, + fun_equals/1 ]). -include_lib("common_test/include/ct.hrl"). @@ -106,7 +107,8 @@ fundamental() -> register_and_whereis, % RegisterAndWhereis.java get_names, % GetNames.java boolean_atom, % BooleanAtom.java - maps % Maps.java + maps, % Maps.java + fun_equals % FunEquals.java ]. ping() -> @@ -691,6 +693,18 @@ maps(Config) when is_list(Config) -> []). %%%----------------------------------------------------------------- +fun_equals(doc) -> + ["FunEquals.java: " + "Test OtpErlangFun.equals()"]; +fun_equals(suite) -> + []; +fun_equals(Config) when is_list(Config) -> + ok = jitu:java(?config(java, Config), + ?config(data_dir, Config), + "FunEquals", + []). + +%%%----------------------------------------------------------------- %%% INTERNAL FUNCTIONS %%%----------------------------------------------------------------- send_receive(TestCaseTag,Fun,Config) -> |