Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 234 for isPull (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import okhttp3.internal.http.parseChallenges
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    class HeadersChallengesTest {
      /** See https://github.com/square/okhttp/issues/2780.  */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 16.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(root.getParent()).isNull();
          assertThat(root.toRealPath().getParent()).isNull();
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        assertEquals(bimap1, bimap2);
        bimap2.inverse().put("franc", Currency.FRANC);
        assertThat(bimap2.get(Currency.FRANC)).isEqualTo("franc");
        assertThat(bimap1.get(Currency.FRANC)).isNull();
        assertFalse(bimap2.equals(bimap1));
    
        /* Test that it can be empty. */
        EnumHashBiMap<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        Iterator<Entry<String, Collection<Integer>>> iterator = multimap.asMap().entrySet().iterator();
        Entry<String, Collection<Integer>> entry = iterator.next();
        assertThat(entry.getKey()).isNull();
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
        assertThat(entry.getKey()).isEqualTo("tree");
        assertThat(entry.getValue()).containsExactly(null, 0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/expiration.go

    	return e.Days == ExpirationDays(0)
    }
    
    // IsDateNull returns true if date field is null
    func (e Expiration) IsDateNull() bool {
    	return e.Date.IsZero()
    }
    
    // IsNull returns true if both date and days fields are null
    func (e Expiration) IsNull() bool {
    	return e.IsDaysNull() && e.IsDateNull()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertThat(Strings.nullToEmpty("")).isEqualTo("");
        assertThat(Strings.nullToEmpty("a")).isEqualTo("a");
      }
    
      public void testEmptyToNull() {
        assertThat(Strings.emptyToNull(null)).isNull();
        assertThat(Strings.emptyToNull("")).isNull();
        assertThat(Strings.emptyToNull("a")).isEqualTo("a");
      }
    
      public void testIsNullOrEmpty() {
        assertTrue(Strings.isNullOrEmpty(null));
        assertTrue(Strings.isNullOrEmpty(""));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/CaseFormatTest.java

        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertThat(outer.converterTo(inner).convert(null)).isNull();
            assertThat(outer.converterTo(inner).reverse().convert(null)).isNull();
          }
        }
      }
    
      public void testConverter_toString() {
        assertThat(LOWER_HYPHEN.converterTo(UPPER_CAMEL).toString())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

          }
        }
    
        try {
          Range<C> span = rangeSet.span();
          assertEquals(expectedSpan, span);
        } catch (NoSuchElementException e) {
          assertThat(expectedSpan).isNull();
        }
    
        // test that asDescendingSetOfRanges is the reverse of asRanges
        assertEquals(Lists.reverse(asRanges), ImmutableList.copyOf(rangeSet.asDescendingSetOfRanges()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

        assertThat(INSTANCE.toString()).isEqualTo("{}");
      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertThat(INSTANCE.get('a', 1)).isNull();
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
        assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
      }
    
      public void testColumn() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(root.getParent()).isNull();
          assertThat(root.toRealPath().getParent()).isNull();
          MoreFiles.createParentDirectories(root); // test that there's no exception
        }
      }
    
      public void testCreateParentDirectories_relativePath() throws IOException {
        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top