Commit 03ca464d authored by Christian P. MOMON's avatar Christian P. MOMON
Browse files

Renamed tests.

parent 23741df0
......@@ -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"));
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment