Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 191 for IsNull (0.04 sec)

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

    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.util.concurrent.CopyOnWriteArraySet
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import kotlin.test.assertFailsWith
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

     */
    package okhttp3.tls
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.math.BigInteger
    import java.security.KeyFactory
    import java.security.spec.PKCS8EncodedKeySpec
    import java.security.spec.X509EncodedKeySpec
    import java.util.concurrent.TimeUnit
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        assertThat(tester.instantiate(Runnable.class)).isNull();
      }
    
      public void testInstantiate_abstractClass() throws Exception {
        assertThat(tester.instantiate(AbstractList.class)).isNull();
      }
    
      public void testInstantiate_annotation() throws Exception {
        assertThat(tester.instantiate(MyAnnotation.class)).isNull();
      }
    
      public void testInstantiate_setDefault() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
        Function<@Nullable String, @Nullable String> identity = Functions.identity();
        assertThat(identity.apply(null)).isNull();
        assertSame("foo", identity.apply("foo"));
      }
    
      public void testIdentity_notSame() {
        Function<Long, Long> identity = Functions.identity();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. 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())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertThat(tryInternalFastPathGetFailure(future)).isNull();
        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
        assertThat(e.getCause()).isNotNull();
      }
    
      public void testCancel_notDoneInterrupt() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 3.8K bytes
    - Viewed (1)
  9. 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
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertEquals("foo", testInstance.get('a', 1));
          assertEquals("bar", testInstance.get('b', 1));
          assertEquals("baz", testInstance.get('a', 2));
          assertThat(testInstance.get('b', 2)).isNull();
          assertThat(testInstance.get('c', 3)).isNull();
        }
      }
    
      public void testColumn() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top