Simplify
This commit is contained in:
parent
7d8f83c919
commit
6366eafa3b
|
@ -122,28 +122,24 @@ jms_temporary_queue(Config) ->
|
||||||
|
|
||||||
%% Send different message types from JMS client to JMS client.
|
%% Send different message types from JMS client to JMS client.
|
||||||
message_types_jms_to_jms(Config) ->
|
message_types_jms_to_jms(Config) ->
|
||||||
TestName = atom_to_binary(?FUNCTION_NAME),
|
ok = run_jms_test(?FUNCTION_NAME, Config).
|
||||||
ok = run_jms_test(TestName, [], Config).
|
|
||||||
|
|
||||||
%% Send different message types from JMS client to Erlang AMQP 1.0 client.
|
%% Send different message types from JMS client to Erlang AMQP 1.0 client.
|
||||||
message_types_jms_to_amqp(Config) ->
|
message_types_jms_to_amqp(Config) ->
|
||||||
TestName = atom_to_binary(?FUNCTION_NAME),
|
ok = run_jms_test(?FUNCTION_NAME, Config).
|
||||||
ok = run_jms_test(TestName, [], Config).
|
|
||||||
|
|
||||||
temporary_queue_rpc(Config) ->
|
temporary_queue_rpc(Config) ->
|
||||||
TestName = atom_to_binary(?FUNCTION_NAME),
|
ok = run_jms_test(?FUNCTION_NAME, Config).
|
||||||
ok = run_jms_test(TestName, [], Config).
|
|
||||||
|
|
||||||
temporary_queue_delete(Config) ->
|
temporary_queue_delete(Config) ->
|
||||||
TestName = atom_to_binary(?FUNCTION_NAME),
|
ok = run_jms_test(?FUNCTION_NAME, Config).
|
||||||
ok = run_jms_test(TestName, [], Config).
|
|
||||||
|
|
||||||
%% -------------------------------------------------------------------
|
%% -------------------------------------------------------------------
|
||||||
%% Helpers
|
%% Helpers
|
||||||
%% -------------------------------------------------------------------
|
%% -------------------------------------------------------------------
|
||||||
|
|
||||||
run_jms_test(TestName, JavaProps, Config) ->
|
run_jms_test(TestName, Config) ->
|
||||||
run(TestName, [{"-Dtest=JmsTest#~ts", [TestName]} | JavaProps], Config).
|
run(TestName, [{"-Dtest=JmsTest#~ts", [TestName]}], Config).
|
||||||
|
|
||||||
run(TestName, JavaProps, Config) ->
|
run(TestName, JavaProps, Config) ->
|
||||||
TestProjectDir = ?config(data_dir, Config),
|
TestProjectDir = ?config(data_dir, Config),
|
||||||
|
|
Loading…
Reference in New Issue