This commit is contained in:
David Ansari 2025-02-13 12:46:09 +01:00
parent 7d8f83c919
commit 6366eafa3b
1 changed files with 6 additions and 10 deletions

View File

@ -122,28 +122,24 @@ jms_temporary_queue(Config) ->
%% Send different message types from JMS client to JMS client.
message_types_jms_to_jms(Config) ->
TestName = atom_to_binary(?FUNCTION_NAME),
ok = run_jms_test(TestName, [], Config).
ok = run_jms_test(?FUNCTION_NAME, Config).
%% Send different message types from JMS client to Erlang AMQP 1.0 client.
message_types_jms_to_amqp(Config) ->
TestName = atom_to_binary(?FUNCTION_NAME),
ok = run_jms_test(TestName, [], Config).
ok = run_jms_test(?FUNCTION_NAME, Config).
temporary_queue_rpc(Config) ->
TestName = atom_to_binary(?FUNCTION_NAME),
ok = run_jms_test(TestName, [], Config).
ok = run_jms_test(?FUNCTION_NAME, Config).
temporary_queue_delete(Config) ->
TestName = atom_to_binary(?FUNCTION_NAME),
ok = run_jms_test(TestName, [], Config).
ok = run_jms_test(?FUNCTION_NAME, Config).
%% -------------------------------------------------------------------
%% Helpers
%% -------------------------------------------------------------------
run_jms_test(TestName, JavaProps, Config) ->
run(TestName, [{"-Dtest=JmsTest#~ts", [TestName]} | JavaProps], Config).
run_jms_test(TestName, Config) ->
run(TestName, [{"-Dtest=JmsTest#~ts", [TestName]}], Config).
run(TestName, JavaProps, Config) ->
TestProjectDir = ?config(data_dir, Config),