aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-14 16:54:32 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:34:50 +0100
commit6a2363e72e81c7ad16bf534f3a7ca7029d7255ce (patch)
tree0615fee94e2317954911cee9d3c69ff574c8fc04 /lib/odbc/test
parente0144ad1f84b26badb6a75fdc0b760ff11cffb76 (diff)
downloadotp-6a2363e72e81c7ad16bf534f3a7ca7029d7255ce.tar.gz
otp-6a2363e72e81c7ad16bf534f3a7ca7029d7255ce.tar.bz2
otp-6a2363e72e81c7ad16bf534f3a7ca7029d7255ce.zip
Fix formatting for odbc
Diffstat (limited to 'lib/odbc/test')
-rw-r--r--lib/odbc/test/odbc_connect_SUITE.erl28
-rw-r--r--lib/odbc/test/odbc_data_type_SUITE.erl60
-rw-r--r--lib/odbc/test/odbc_query_SUITE.erl58
-rw-r--r--lib/odbc/test/odbc_start_SUITE.erl14
4 files changed, 80 insertions, 80 deletions
diff --git a/lib/odbc/test/odbc_connect_SUITE.erl b/lib/odbc/test/odbc_connect_SUITE.erl
index 997ebfd0b6..b0a70fe04c 100644
--- a/lib/odbc/test/odbc_connect_SUITE.erl
+++ b/lib/odbc/test/odbc_connect_SUITE.erl
@@ -44,27 +44,27 @@
suite() -> [{suite_callbacks,[ts_install_scb]}].
all() ->
-case odbc_test_lib:odbc_check() of
- ok ->
- [not_exist_db, commit, rollback, not_explicit_commit,
- no_c_node, port_dies, control_process_dies,
- {group, client_dies}, connect_timeout, timeout,
- many_timeouts, timeout_reset, disconnect_on_timeout,
- connection_closed, disable_scrollable_cursors,
- return_rows_as_lists, api_missuse];
- Other -> {skip, Other}
-end.
+ case odbc_test_lib:odbc_check() of
+ ok ->
+ [not_exist_db, commit, rollback, not_explicit_commit,
+ no_c_node, port_dies, control_process_dies,
+ {group, client_dies}, connect_timeout, timeout,
+ many_timeouts, timeout_reset, disconnect_on_timeout,
+ connection_closed, disable_scrollable_cursors,
+ return_rows_as_lists, api_missuse];
+ Other -> {skip, Other}
+ end.
groups() ->
[{client_dies, [],
- [client_dies_normal, client_dies_timeout,
- client_dies_error]}].
+ [client_dies_normal, client_dies_timeout,
+ client_dies_error]}].
init_per_group(_GroupName, Config) ->
- Config.
+ Config.
end_per_group(_GroupName, Config) ->
- Config.
+ Config.
%%--------------------------------------------------------------------
diff --git a/lib/odbc/test/odbc_data_type_SUITE.erl b/lib/odbc/test/odbc_data_type_SUITE.erl
index 120e9c6154..75484b177e 100644
--- a/lib/odbc/test/odbc_data_type_SUITE.erl
+++ b/lib/odbc/test/odbc_data_type_SUITE.erl
@@ -42,43 +42,43 @@
suite() -> [{suite_callbacks,[ts_install_scb]}].
all() ->
-case odbc_test_lib:odbc_check() of
- ok ->
- [{group, char}, {group, int}, {group, floats},
- {group, dec_and_num}, timestamp];
- Other -> {skip, Other}
-end.
+ case odbc_test_lib:odbc_check() of
+ ok ->
+ [{group, char}, {group, int}, {group, floats},
+ {group, dec_and_num}, timestamp];
+ Other -> {skip, Other}
+ end.
groups() ->
[{char, [],
- [char_fixed_lower_limit, char_fixed_upper_limit,
- char_fixed_padding, varchar_lower_limit,
- varchar_upper_limit, varchar_no_padding,
- text_lower_limit, text_upper_limit, unicode]},
- {binary_char, [],
- [binary_char_fixed_lower_limit,
- binary_char_fixed_upper_limit,
- binary_char_fixed_padding, binary_varchar_lower_limit,
- binary_varchar_upper_limit, binary_varchar_no_padding,
- binary_text_lower_limit, binary_text_upper_limit,
- unicode]},
- {int, [],
- [tiny_int_lower_limit, tiny_int_upper_limit,
- small_int_lower_limit, small_int_upper_limit,
- int_lower_limit, int_upper_limit, big_int_lower_limit,
- big_int_upper_limit, bit_false, bit_true]},
- {floats, [],
- [float_lower_limit, float_upper_limit, float_zero,
- real_zero]},
- {dec_and_num, [],
- [dec_long, dec_double, dec_bignum, num_long, num_double,
- num_bignum]}].
+ [char_fixed_lower_limit, char_fixed_upper_limit,
+ char_fixed_padding, varchar_lower_limit,
+ varchar_upper_limit, varchar_no_padding,
+ text_lower_limit, text_upper_limit, unicode]},
+ {binary_char, [],
+ [binary_char_fixed_lower_limit,
+ binary_char_fixed_upper_limit,
+ binary_char_fixed_padding, binary_varchar_lower_limit,
+ binary_varchar_upper_limit, binary_varchar_no_padding,
+ binary_text_lower_limit, binary_text_upper_limit,
+ unicode]},
+ {int, [],
+ [tiny_int_lower_limit, tiny_int_upper_limit,
+ small_int_lower_limit, small_int_upper_limit,
+ int_lower_limit, int_upper_limit, big_int_lower_limit,
+ big_int_upper_limit, bit_false, bit_true]},
+ {floats, [],
+ [float_lower_limit, float_upper_limit, float_zero,
+ real_zero]},
+ {dec_and_num, [],
+ [dec_long, dec_double, dec_bignum, num_long, num_double,
+ num_bignum]}].
init_per_group(_GroupName, Config) ->
- Config.
+ Config.
end_per_group(_GroupName, Config) ->
- Config.
+ Config.
diff --git a/lib/odbc/test/odbc_query_SUITE.erl b/lib/odbc/test/odbc_query_SUITE.erl
index 49e2239ad4..a4abb3edbb 100644
--- a/lib/odbc/test/odbc_query_SUITE.erl
+++ b/lib/odbc/test/odbc_query_SUITE.erl
@@ -41,42 +41,42 @@
suite() -> [{suite_callbacks,[ts_install_scb]}].
all() ->
-case odbc_test_lib:odbc_check() of
- ok ->
- [sql_query, first, last, next, prev, select_count,
- select_next, select_relative, select_absolute,
- create_table_twice, delete_table_twice, duplicate_key,
- not_connection_owner, no_result_set, query_error,
- multiple_select_result_sets, multiple_mix_result_sets,
- multiple_result_sets_error,
- {group, parameterized_queries}, {group, describe_table},
- delete_nonexisting_row];
- Other -> {skip, Other}
-end.
+ case odbc_test_lib:odbc_check() of
+ ok ->
+ [sql_query, first, last, next, prev, select_count,
+ select_next, select_relative, select_absolute,
+ create_table_twice, delete_table_twice, duplicate_key,
+ not_connection_owner, no_result_set, query_error,
+ multiple_select_result_sets, multiple_mix_result_sets,
+ multiple_result_sets_error,
+ {group, parameterized_queries}, {group, describe_table},
+ delete_nonexisting_row];
+ Other -> {skip, Other}
+ end.
groups() ->
[{parameterized_queries, [],
- [{group, param_integers}, param_insert_decimal,
- param_insert_numeric, {group, param_insert_string},
- param_insert_float, param_insert_real,
- param_insert_double, param_insert_mix, param_update,
- param_delete, param_select]},
- {param_integers, [],
- [param_insert_tiny_int, param_insert_small_int,
- param_insert_int, param_insert_integer]},
- {param_insert_string, [],
- [param_insert_char, param_insert_character,
- param_insert_char_varying,
- param_insert_character_varying]},
- {describe_table, [],
- [describe_integer, describe_string, describe_floating,
- describe_dec_num, describe_no_such_table]}].
+ [{group, param_integers}, param_insert_decimal,
+ param_insert_numeric, {group, param_insert_string},
+ param_insert_float, param_insert_real,
+ param_insert_double, param_insert_mix, param_update,
+ param_delete, param_select]},
+ {param_integers, [],
+ [param_insert_tiny_int, param_insert_small_int,
+ param_insert_int, param_insert_integer]},
+ {param_insert_string, [],
+ [param_insert_char, param_insert_character,
+ param_insert_char_varying,
+ param_insert_character_varying]},
+ {describe_table, [],
+ [describe_integer, describe_string, describe_floating,
+ describe_dec_num, describe_no_such_table]}].
init_per_group(_GroupName, Config) ->
- Config.
+ Config.
end_per_group(_GroupName, Config) ->
- Config.
+ Config.
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl
index 7dc827799a..1171408547 100644
--- a/lib/odbc/test/odbc_start_SUITE.erl
+++ b/lib/odbc/test/odbc_start_SUITE.erl
@@ -101,21 +101,21 @@ end_per_testcase(_TestCase, Config) ->
suite() -> [{suite_callbacks,[ts_install_scb]}].
all() ->
-case odbc_test_lib:odbc_check() of
- ok -> [start];
- Other -> {skip, Other}
-end.
+ case odbc_test_lib:odbc_check() of
+ ok -> [start];
+ Other -> {skip, Other}
+ end.
groups() ->
[].
init_per_group(_GroupName, Config) ->
- Config.
+ Config.
end_per_group(_GroupName, Config) ->
- Config.
+ Config.
+
-
%% Test cases starts here.
%%--------------------------------------------------------------------