Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,082 for Shouldn (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        assertFalse(
            "removeAll(emptyCollection) should return false",
            collection.removeAll(MinimalCollection.of()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_nonePresent() {
        assertFalse(
            "removeAll(disjointCollection) should return false",
            collection.removeAll(MinimalCollection.of(e3())));
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testCompute_absentToPresent() {
        assertEquals(
            "Map.compute(absent, functionReturningValue) should return value",
            v3(),
            getMap()
                .compute(
                    k3(),
                    (k, v) -> {
                      assertEquals(k3(), k);
                      assertNull(v);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_supportedNothing() {
        assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection()));
        expectUnchanged();
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedButQueriesSupported() {
        assertFalse("contains(null) should return false", collection.contains(null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

        assertTrue("containsValue(present) should return true", getMap().containsValue(v0()));
      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsValue(null) should return false", getMap().containsValue(null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            protocolHelper.addWebProtocol("http");
            assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase
    
            protocolHelper.addWebProtocol("https");
            assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase
        }
    
        public void test_addFileProtocol_newProtocol() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      public void testContainsAll_empty() {
        assertTrue(
            "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAll_subset() {
        assertTrue(
            "containsAll(subset) should return true",
            collection.containsAll(MinimalCollection.of(e0())));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
                        assertNotNull("Field " + field.getName() + " should not be null", value);
                        assertTrue("Field " + field.getName() + " should be HtmlNext instance", value instanceof HtmlNext);
                    }
                }
            }
        }
    
        public void test_pathValues() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top