Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 180 for isNull (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        val page2 = server.takeRequest()
        assertThat(page2.requestLine).isEqualTo("GET /page2 HTTP/1.1")
        assertThat(page2.headers["Content-Length"]).isNull()
        assertThat(page2.headers["Content-Type"]).isNull()
        assertThat(page2.headers["Transfer-Encoding"]).isNull()
      }
    
      @Test
      fun response305UseProxy() {
        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_USE_PROXY,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testStringConverter_nullConversions() {
        assertThat(Doubles.stringConverter().convert(null)).isNull();
        assertThat(Doubles.stringConverter().reverse().convert(null)).isNull();
      }
    
      @GwtIncompatible // Double.toString returns different value in GWT.
      public void testStringConverter_reverse() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K 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. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertTrue(future.isCancelled());
      }
    
      public void testAwaitClear() {
        WeakReference<Object> ref = createWeakReference();
        GcFinalization.awaitClear(ref);
        assertThat(ref.get()).isNull();
      }
    
      private WeakReference<Object> createWeakReference() {
        return new WeakReference<>(new Object());
      }
    
      public void testAwaitDone_finalizationPredicate() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        assertTrue(future.isCancelled());
      }
    
      public void testAwaitClear() {
        WeakReference<Object> ref = createWeakReference();
        GcFinalization.awaitClear(ref);
        assertThat(ref.get()).isNull();
      }
    
      private WeakReference<Object> createWeakReference() {
        return new WeakReference<>(new Object());
      }
    
      public void testAwaitDone_finalizationPredicate() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import java.nio.file.Path
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.asRequestBody
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 3.8K bytes
    - Click Count (1)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import kotlin.test.Test
    import kotlin.test.assertFailsWith
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okio.Buffer
    import okio.ByteString.Companion.EMPTY
    import okio.Source
    import okio.Timeout
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top