Renamed tests.
This commit is contained in:
parent
23741df091
commit
03ca464d95
1 changed files with 14 additions and 14 deletions
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue