diff options
Diffstat (limited to 'test/config/subset.c')
-rw-r--r-- | test/config/subset.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/test/config/subset.c b/test/config/subset.c index da9d356d3..85fd09370 100644 --- a/test/config/subset.c +++ b/test/config/subset.c @@ -73,14 +73,14 @@ void test_config_subset(void) he = cs_subset_lookup(NULL, NULL); if (!TEST_CHECK(he == NULL)) { - TEST_MSG("cs_subset_lookup failed\n"); + TEST_MSG("cs_subset_lookup failed"); return; } he = cs_subset_lookup(n->sub, name); if (!TEST_CHECK(he != NULL)) { - TEST_MSG("cs_subset_lookup failed\n"); + TEST_MSG("cs_subset_lookup failed"); return; } @@ -89,7 +89,7 @@ void test_config_subset(void) rc = cs_subset_he_native_get(NULL, NULL, err); if (!TEST_CHECK(rc == INT_MIN)) { - TEST_MSG("This test should have failed\n"); + TEST_MSG("This test should have failed"); return; } @@ -97,7 +97,7 @@ void test_config_subset(void) value = cs_subset_he_native_get(n->sub, he, err); if (!TEST_CHECK(value != INT_MIN)) { - TEST_MSG("cs_subset_he_native_get failed\n"); + TEST_MSG("cs_subset_he_native_get failed"); return; } @@ -105,7 +105,7 @@ void test_config_subset(void) value = cs_subset_str_native_get(n->sub, name, err); if (!TEST_CHECK(value != INT_MIN)) { - TEST_MSG("cs_subset_str_native_get failed\n"); + TEST_MSG("cs_subset_str_native_get failed"); return; } @@ -113,7 +113,7 @@ void test_config_subset(void) rc = cs_subset_he_native_set(NULL, NULL, value + 100, err); if (!TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS)) { - TEST_MSG("cs_subset_he_native_set failed\n"); + TEST_MSG("cs_subset_he_native_set failed"); return; } @@ -121,7 +121,7 @@ void test_config_subset(void) rc = cs_subset_he_native_set(n->sub, he, value + 100, err); if (!TEST_CHECK(value != INT_MIN)) { - TEST_MSG("cs_subset_he_native_set failed\n"); + TEST_MSG("cs_subset_he_native_set failed"); return; } @@ -129,7 +129,7 @@ void test_config_subset(void) rc = cs_subset_str_native_set(n->sub, name, value + 100, err); if (!TEST_CHECK(value != INT_MIN)) { - TEST_MSG("cs_subset_str_native_set failed\n"); + TEST_MSG("cs_subset_str_native_set failed"); return; } @@ -146,7 +146,7 @@ void test_config_subset(void) rc = cs_subset_str_string_get(NULL, NULL, err); if (!TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS)) { - TEST_MSG("This test should have failed\n"); + TEST_MSG("This test should have failed"); return; } @@ -164,7 +164,7 @@ void test_config_subset(void) rc = cs_subset_he_string_set(NULL, NULL, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS)) { - TEST_MSG("This test should have failed\n"); + TEST_MSG("This test should have failed"); return; } @@ -173,7 +173,7 @@ void test_config_subset(void) rc = cs_subset_he_string_set(n->sub, he, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_he_string_set failed\n"); + TEST_MSG("cs_subset_he_string_set failed"); return; } @@ -182,7 +182,7 @@ void test_config_subset(void) rc = cs_subset_str_string_set(n->sub, name, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_str_string_set failed\n"); + TEST_MSG("cs_subset_str_string_set failed"); return; } @@ -191,7 +191,7 @@ void test_config_subset(void) rc = cs_subset_he_string_plus_equals(NULL, NULL, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS)) { - TEST_MSG("This test should have failed\n"); + TEST_MSG("This test should have failed"); return; } @@ -200,7 +200,7 @@ void test_config_subset(void) rc = cs_subset_he_string_plus_equals(n->sub, he, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_he_string_plus_equals failed\n"); + TEST_MSG("cs_subset_he_string_plus_equals failed"); return; } @@ -209,7 +209,7 @@ void test_config_subset(void) rc = cs_subset_str_string_plus_equals(n->sub, name, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_str_string_plus_equals failed\n"); + TEST_MSG("cs_subset_str_string_plus_equals failed"); return; } @@ -218,7 +218,7 @@ void test_config_subset(void) rc = cs_subset_he_string_minus_equals(NULL, NULL, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS)) { - TEST_MSG("This test should have failed\n"); + TEST_MSG("This test should have failed"); return; } @@ -227,7 +227,7 @@ void test_config_subset(void) rc = cs_subset_he_string_minus_equals(n->sub, he, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_he_string_minus_equals failed\n"); + TEST_MSG("cs_subset_he_string_minus_equals failed"); return; } @@ -236,7 +236,7 @@ void test_config_subset(void) rc = cs_subset_str_string_minus_equals(n->sub, name, expected, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_str_string_minus_equals failed\n"); + TEST_MSG("cs_subset_str_string_minus_equals failed"); return; } @@ -244,7 +244,7 @@ void test_config_subset(void) rc = cs_subset_he_reset(NULL, NULL, err); if (!TEST_CHECK(CSR_RESULT(rc) != CSR_SUCCESS)) { - TEST_MSG("This test should have failed\n"); + TEST_MSG("This test should have failed"); return; } @@ -252,7 +252,7 @@ void test_config_subset(void) rc = cs_subset_he_reset(n->sub, he, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_he_reset failed\n"); + TEST_MSG("cs_subset_he_reset failed"); return; } @@ -260,21 +260,21 @@ void test_config_subset(void) rc = cs_subset_str_reset(n->sub, name, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_str_reset failed\n"); + TEST_MSG("cs_subset_str_reset failed"); return; } he = cs_subset_lookup(sub_a, name); if (!TEST_CHECK(he != NULL)) { - TEST_MSG("cs_subset_lookup failed\n"); + TEST_MSG("cs_subset_lookup failed"); return; } he = cs_subset_lookup(sub_m, name); if (!TEST_CHECK(he != NULL)) { - TEST_MSG("cs_subset_lookup failed\n"); + TEST_MSG("cs_subset_lookup failed"); return; } @@ -286,28 +286,28 @@ void test_config_subset(void) rc = cs_subset_str_delete(sub_m, name, err); if (!TEST_CHECK(CSR_RESULT(rc) == CSR_SUCCESS)) { - TEST_MSG("cs_subset_str_delete failed\n"); + TEST_MSG("cs_subset_str_delete failed"); return; } he = cs_subset_lookup(sub_m, name); if (!TEST_CHECK(he == NULL)) { - TEST_MSG("cs_subset_lookup succeeded\n"); + TEST_MSG("cs_subset_lookup succeeded"); return; } he = cs_subset_lookup(sub_a, name); if (!TEST_CHECK(he != NULL)) { - TEST_MSG("cs_subset_lookup failed\n"); + TEST_MSG("cs_subset_lookup failed"); return; } he = cs_subset_lookup(n->sub, name); if (!TEST_CHECK(he != NULL)) { - TEST_MSG("cs_subset_lookup failed\n"); + TEST_MSG("cs_subset_lookup failed"); return; } |