Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 114 for test_equals2 (3.97 sec)

  1. guava-tests/test/com/google/common/collect/RangeTest.java

        assertFalse(predicate.test(4));
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(Range.open(1, 5), Range.range(1, OPEN, 5, OPEN))
            .addEqualityGroup(Range.greaterThan(2), Range.greaterThan(2))
            .addEqualityGroup(Range.all(), Range.all())
            .addEqualityGroup("Phil")
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            try {
                item.hashCode();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        public void test_equals() {
            // Test equals method
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            ProtwordsItem item2 = new ProtwordsItem(2, "word");
            ProtwordsItem item3 = new ProtwordsItem(1, "different");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableSet.of(), ImmutableSet.of())
            .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1))
            .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1))
            .testEquals();
      }
    
      @GwtIncompatible("internals")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableSet.of(), ImmutableSet.of())
            .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1))
            .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1))
            .testEquals();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

              .addEqualityGroup(
                  network.inEdges(node), network.outEdges(node), network.incidentEdges(node))
              .testEquals();
          new EqualsTester()
              .addEqualityGroup(
                  network.predecessors(node), network.successors(node), network.adjacentNodes(node))
              .testEquals();
    
          for (Integer adjacentNode : network.adjacentNodes(node)) {
            assertThat(network.edgesConnecting(node, adjacentNode))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

    @NullUnmarked
    public class ClassPathTest extends TestCase {
      private static final Logger log = Logger.getLogger(ClassPathTest.class.getName());
      private static final File FILE = new File(".");
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(classInfo(ClassPathTest.class), classInfo(ClassPathTest.class))
            .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader()))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetViewTest.java

            .testEquals();
      }
    
      public void testEquals_otherSetContainsThrows() {
        new EqualsTester()
            .addEqualityGroup(new SetContainsThrows())
            .addEqualityGroup(intersection(singleton(null), singleton(null))) // NPE
            .addEqualityGroup(intersection(singleton(0), singleton(0))) // CCE
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

            .addEqualityGroup(spec("2001:db8::2"))
            .addEqualityGroup(spec("google.com"), spec("google.com"))
            .addEqualityGroup(spec("www.google.com"))
            .testEquals();
      }
    
      private static HostSpecifier spec(String specifier) {
        return HostSpecifier.fromValid(specifier);
      }
    
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          new EqualsTester()
              .addEqualityGroup(builder.build(identityLoader()))
              .addEqualityGroup(builder.build(identityLoader()))
              .addEqualityGroup(builder.build(identityLoader()))
              .testEquals();
        }
      }
    
      public void testGet_null() throws ExecutionException {
        for (LoadingCache<Object, Object> cache : caches()) {
          assertThrows(NullPointerException.class, () -> cache.get(null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. 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)
Back to top