Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 107 for testPerf (0.17 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(InterfaceDefaultMethodChecksNull.create());
        try {
          tester.testAllPublicInstanceMethods(InterfaceDefaultMethodFailsToCheckNull.create());
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public void testDontAcceptIae() {
        NullPointerTester tester = new NullPointerTester();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      protected final <T> void setDefault(Class<T> type, T value) {
        tester.setDefault(type, value);
      }
    
      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());
        testers.add(MultisetNavigationTester.class);
        return testers;
      }
    
      @Override
      TestSuite createElementSetTestSuite(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    	key2 := []byte("0123456789abcdef0123456789abcdef")
    
    	testErr := fmt.Errorf("test error")
    	block1, err := aes.NewCipher(key1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	block2, err := aes.NewCipher(key2)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ctx := context.Background()
    	dataCtx := value.DefaultContext("authenticated_data")
    
    	p := value.NewPrefixTransformers(testErr,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationIntegTest.groovy

                                        organization = "Example Organization"
                                        organizationUrl = "https://example.org"
                                        roles = ["tester", "developer"]
                                        timezone = "Europe/Berlin"
                                        properties = ["user": "baz.qux"]
                                    }
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      protected final <T> void setDefault(Class<T> type, T value) {
        tester.setDefault(type, value);
      }
    
      /**
       * Sets two distinct values for {@code type}. These values can be used for both null pointer
       * testing and equals testing.
       *
       * @since 17.0
       */
      protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) {
        tester.setDistinctValues(type, value1, value2);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
        tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class));
        tester.ignore(LinkedListMultimap.class.getMethod("removeAll", Object.class));
        tester.testAllPublicInstanceMethods(LinkedListMultimap.create());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. src/net/http/httptest/server.go

    func (s *Server) StartTLS() {
    	if s.URL != "" {
    		panic("Server already started")
    	}
    	if s.client == nil {
    		s.client = &http.Client{}
    	}
    	cert, err := tls.X509KeyPair(testcert.LocalhostCert, testcert.LocalhostKey)
    	if err != nil {
    		panic(fmt.Sprintf("httptest: NewTLSServer: %v", err))
    	}
    
    	existingConfig := s.TLS
    	if existingConfig != nil {
    		s.TLS = existingConfig.Clone()
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:26:10 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PredicatesTest.java

        NullPointerTester tester = new NullPointerTester();
        Predicate<CharSequence> isWooString = Predicates.containsPattern("Woo");
    
        tester.testAllPublicInstanceMethods(isWooString);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testContains_nulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              .build();
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY);
        tester.testAllPublicConstructors(MacHashFunction.class);
        tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString"));
      }
    
      public void testHashing() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top