Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testAllPublicConstructors (0.27 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        thread.start();
        thread.join();
        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        new NullPointerTester()
            .ignore(FailOnOneOfTwoConstructors.class.getDeclaredConstructor(String.class))
            .testAllPublicConstructors(FailOnOneOfTwoConstructors.class);
      }
    
      public void testConstructor_shouldFail() throws Exception {
        try {
          new NullPointerTester().testAllPublicConstructors(FailOnOneOfTwoConstructors.class);
        } catch (AssertionError expected) {
          return;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicConstructors(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        thread.start();
        thread.join();
        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/MediaTypeTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // com.google.common.testing.NullPointerTester
      public void testNullPointer() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(MediaType.class);
        tester.testAllPublicStaticMethods(MediaType.class);
        tester.testAllPublicInstanceMethods(MediaType.parse("text/plain"));
      }
    
      public void testToString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
        testConstructors(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every static method of class {@code c} that has at least {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicConstructors(MinMaxPriorityQueue.class);
        tester.testAllPublicStaticMethods(MinMaxPriorityQueue.class);
        tester.testAllPublicInstanceMethods(MinMaxPriorityQueue.<String>create());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top