Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for isNotNull (0.16 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        }
      }
    
      public void testLexicographicalComparatorChoice() throws Exception {
        Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator();
        assertThat(defaultComparator).isNotNull();
        assertThat(UnsignedBytes.lexicographicalComparator()).isSameInstanceAs(defaultComparator);
        if (unsafeComparatorAvailable()) {
          assertThat(Class.forName(unsafeComparatorClassName()))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        }
      }
    
      public void testLexicographicalComparatorChoice() throws Exception {
        Comparator<byte[]> defaultComparator = UnsignedBytes.lexicographicalComparator();
        assertThat(defaultComparator).isNotNull();
        assertThat(UnsignedBytes.lexicographicalComparator()).isSameInstanceAs(defaultComparator);
        if (unsafeComparatorAvailable()) {
          assertThat(Class.forName(unsafeComparatorClassName()))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isLessThan
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.net.ProtocolException
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
        // recorded.
        assertThat(startupTimes.get(b)).isNotNull();
      }
    
      public void testServiceStartStop() {
        Service a = new NoOpService();
        Service b = new NoOpService();
        ServiceManager manager = new ServiceManager(asList(a, b));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
        // recorded.
        assertThat(startupTimes.get(b)).isNotNull();
      }
    
      public void testServiceStartStop() {
        Service a = new NoOpService();
        Service b = new NoOpService();
        ServiceManager manager = new ServiceManager(asList(a, b));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          if (url.getProtocol().equalsIgnoreCase("file")) {
            file = new File(url.toURI());
            readClassPathFiles.add(new FilePermission(file.getAbsolutePath(), "read"));
          }
        }
        assertThat(file).isNotNull();
        SecurityManager disallowFilesSecurityManager =
            new SecurityManager() {
              @Override
              public void checkPermission(Permission p) {
                if (readClassPathFiles.implies(p)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          if (url.getProtocol().equalsIgnoreCase("file")) {
            file = new File(url.toURI());
            readClassPathFiles.add(new FilePermission(file.getAbsolutePath(), "read"));
          }
        }
        assertThat(file).isNotNull();
        SecurityManager disallowFilesSecurityManager =
            new SecurityManager() {
              @Override
              public void checkPermission(Permission p) {
                if (readClassPathFiles.implies(p)) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top