Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 188 for testcalls (0.11 sec)

  1. internal/config/certs_test.go

    	}
    	defer os.Remove(tempFile5)
    
    	testCases := []struct {
    		certFile          string
    		expectedResultLen int
    		expectedErr       bool
    	}{
    		{"nonexistent-file", 0, true},
    		{tempFile1, 0, true},
    		{tempFile2, 0, true},
    		{tempFile3, 0, true},
    		{tempFile4, 1, false},
    		{tempFile5, 2, false},
    	}
    
    	for _, testCase := range testCases {
    		certs, err := ParsePublicCertFile(testCase.certFile)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

      public void testUsing() {
        assertThat(iterationOrder(ADAPTER_USING_USING.preOrderTraversal(h))).isEqualTo("hdabcegf");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(ADAPTER);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    	missingDateHeaderErr := getAPIError(ErrMissingDateHeader)
    	internalErr := getAPIError(ErrBadRequest)
    	testCases := []struct {
    		fault       Fault
    		expectedErr APIError
    	}{
    		{BadSignature, missingDateHeaderErr},
    		{None, noAPIErr},
    		{TooBigDecodedLength, internalErr},
    	}
    
    	for i, test := range testCases {
    		rec = httptest.NewRecorder()
    		req, err = newTestStreamingSignedRequest(http.MethodPut,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

            .addEqualityGroup(spec("www.google.com"))
            .testEquals();
      }
    
      private static HostSpecifier spec(String specifier) {
        return HostSpecifier.fromValid(specifier);
      }
    
      public void testNulls() {
        final NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(HostSpecifier.class);
        tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/HostSpecifierTest.java

            .addEqualityGroup(spec("www.google.com"))
            .testEquals();
      }
    
      private static HostSpecifier spec(String specifier) {
        return HostSpecifier.fromValid(specifier);
      }
    
      public void testNulls() {
        final NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(HostSpecifier.class);
        tester.testAllPublicInstanceMethods(HostSpecifier.fromValid("google.com"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

            .forAllPublicStaticMethods(EnumMultisetFactory.class)
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        new NullPointerTester()
            .setDefault(Class.class, Color.class)
            .setDefault(Iterable.class, EnumSet.allOf(Color.class))
            .testAllPublicStaticMethods(EnumMultiset.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        }
      }
    
      public void testExceptionsCaught() {
        list.add(THROWING_RUNNABLE, directExecutor());
        list.execute();
        list.add(THROWING_RUNNABLE, directExecutor());
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicInstanceMethods(new ExecutionList());
      }
    
      private static final Runnable THROWING_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            .addEqualityGroup(
                ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a"))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(Thread.State.NEW, thread.getState());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertSame(Thread.State.NEW, thread.getState());
    
        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top