From 03ca464d95823563474996f803e966f5f7238e0c Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Tue, 26 Dec 2017 00:58:58 +0100 Subject: [PATCH] Renamed tests. --- .../util/strings/StringsUtilsTest.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/test/fr/devinsy/util/strings/StringsUtilsTest.java b/test/fr/devinsy/util/strings/StringsUtilsTest.java index aa9d2b6..c46d2a1 100644 --- a/test/fr/devinsy/util/strings/StringsUtilsTest.java +++ b/test/fr/devinsy/util/strings/StringsUtilsTest.java @@ -173,6 +173,20 @@ public class StringsUtilsTest Assert.assertTrue(StringsUtils.containsNull(source)); } + @Test + public void testEqualsAny01() + { + Assert.assertTrue(StringsUtils.equalsAny("abc", "aaa", "bbb", "abc")); + Assert.assertFalse(StringsUtils.equalsAny("abc", "aaa", "bbb", "aBc")); + } + + @Test + public void testEqualsAnyIgnoreCase01() + { + Assert.assertTrue(StringsUtils.equalsAnyIgnoreCase("abc", "aaa", "bbb", "abc")); + Assert.assertTrue(StringsUtils.equalsAnyIgnoreCase("abc", "aaa", "bbb", "aBc")); + } + /** * Test find smallest 01. */ @@ -189,18 +203,4 @@ public class StringsUtilsTest source.set(1, null); Assert.assertTrue(StringsUtils.containsNull(source)); } - - @Test - public void testIsContained01() - { - Assert.assertTrue(StringsUtils.equalsAny("abc", "aaa", "bbb", "abc")); - Assert.assertFalse(StringsUtils.equalsAny("abc", "aaa", "bbb", "aBc")); - } - - @Test - public void testIsContainedIgnoreCase01() - { - Assert.assertTrue(StringsUtils.equalsAnyIgnoreCase("abc", "aaa", "bbb", "abc")); - Assert.assertTrue(StringsUtils.equalsAnyIgnoreCase("abc", "aaa", "bbb", "aBc")); - } }