Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 423 for assertValue (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
    
        // Causing the size to grow to 10 should evict nothing.
        set("d", "d", "d")
        cache.flush()
        assertThat(cache.size()).isEqualTo(10)
        assertAbsent("a")
        assertValue("b", "bb", "bbbb")
        assertValue("c", "c", "c")
        assertValue("d", "d", "d")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            assertNull(stemmerOverrideItem.getNewOutput());
            assertFalse(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("bbb");
            stemmerOverrideItem.setNewOutput("b");
            assertTrue(stemmerOverrideItem.isUpdated());
            assertFalse(stemmerOverrideItem.isDeleted());
    
            stemmerOverrideItem.setNewInput("");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                }
            };
    
            HashMap<String, Object> source = new HashMap<>();
            assertFalse(fessConfig.validateIndexRequiredFields(source));
            source.put("aaa", null);
            assertFalse(fessConfig.validateIndexRequiredFields(source));
            source.put("aaa", null);
            source.put("bbb", null);
            assertFalse(fessConfig.validateIndexRequiredFields(source));
            source.put("aaa", "");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedWrongKeyPresentValue() {
        assertFalse(getMap().remove(k3(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-snapshot"));
            assertTrue(ArtifactUtils.isSnapshot("1.2.3-20090413.094722-2"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
            assertFalse(filter2.equals(filter1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertTrue(MoreFiles.isDirectory().apply(symlinkToDir));
          assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir));
    
          assertFalse(MoreFiles.isDirectory().apply(symlinkToFile));
          assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile));
    
          assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir));
          assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

      }
    
      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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt

        assumeFalse(adapter is StandardAndroidSocketAdapter)
    
        assertFalse(adapter.matchesSocketFactory(context.socketFactory))
        assertNull(adapter.trustManager(context.socketFactory))
      }
    
      @ParameterizedTest
      @MethodSource("data")
      fun testCustomSocket(adapter: SocketAdapter) {
        val socketFactory = DelegatingSSLSocketFactory(context.socketFactory)
    
        assertFalse(adapter.matchesSocketFactory(socketFactory))
    
        val sslSocket =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt

    import okhttp3.internal.http.hasBody
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    @Suppress("DEPRECATION_ERROR")
    class PublicInternalApiTest {
      @Test
      fun permitsRequestBody() {
        assertTrue(permitsRequestBody("POST"))
        assertFalse(permitsRequestBody("GET"))
      }
    
      @Test
      fun requiresRequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top