- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 129 for test_equals2 (0.07 sec)
-
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("3", false, StringUtil.contains("abc", "d")); } /** * @throws Exception */ @Test public void testEquals() throws Exception { assertEquals("1", true, StringUtil.equals("a", "a")); assertEquals("2", true, StringUtil.equals(null, null)); assertEquals("3", false, StringUtil.equals("a", null));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
for (Integer node : graph.nodes()) { new EqualsTester() .addEqualityGroup( graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node)) .testEquals(); } } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = graph.nodes();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
if (EVEN.apply(i)) { expected.add(i); } } new EqualsTester() .addEqualityGroup(expected, filter(createUnfiltered(contents), EVEN)) .testEquals(); } } } public abstract static class AbstractFilteredSortedSetTest<C extends SortedSet<Integer>> extends AbstractFilteredSetTest<C> { public void testFirst() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertFalse(tree.matches("otherShare", "testService")); // Test non-matching service assertFalse(tree.matches("testShare", "otherService")); } @Test void testEquals() { SmbTree tree1 = new SmbTree(session, "testShare", "testService"); SmbTree tree2 = new SmbTree(session, "testShare", "testService"); SmbTree tree3 = new SmbTree(session, "otherShare", "testService");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
.addEqualityGroup(new TypeToken<List<Integer>>() {}.method(setMethod)) .addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod)) .testEquals(); } private interface Loser<E extends Throwable> { void lose() throws E; } public <T extends Loser<AssertionError>> void testMethod_exceptionTypes()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
oos.writeObject(keySet); oos.writeObject(values); oos.close(); int finalSize = bytes.size(); assertThat(finalSize - mapSize).isLessThan(100); } public void testEquals() { new EqualsTester() .addEqualityGroup( ImmutableMap.of(), ImmutableMap.builder().buildOrThrow(), ImmutableMap.ofEntries(), map())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
public class PrunedTagTest extends UnitFessTestCase { public void test_hashCode() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.hashCode() >= 0); } public void test_equals() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.equals(prunedtag)); assertEquals(false, prunedtag.equals(null)); assertEquals(false, prunedtag.equals(""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
.addEqualityGroup(new TypeToken<List<Integer>>() {}.method(setMethod)) .addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod)) .testEquals(); } private interface Loser<E extends Throwable> { void lose() throws E; } public <T extends Loser<AssertionError>> void testMethod_exceptionTypes()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
assertArrayEquals(adminSidBytes, sid.toByteArray()); } /** * Test the equals method. * * @throws SmbException if the SID string is invalid */ @Test void testEquals() throws SmbException { SID sid1 = new SID(adminSidString); SID sid2 = new SID(adminSidBytes, 0); SID sid3 = new SID("S-1-1-0"); // Everyone assertEquals(sid1, sid1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
.addEqualityGroup(parse("softValues"), parse("softValues")) .addEqualityGroup(parse("weakValues"), parse("weakValues")) .addEqualityGroup(parse("recordStats"), parse("recordStats")) .testEquals(); } @SuppressWarnings("ReturnValueIgnored") public void testMaximumWeight_withWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0)