Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for testminio (0.16 sec)

  1. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(17 + 19, stats.loadCount());
        assertEquals(23, stats.totalLoadTime());
        assertEquals(23.0 / (17 + 19), stats.averageLoadPenalty());
        assertEquals(27, stats.evictionCount());
      }
    
      public void testMinus() {
        CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27);
        CacheStats two = new CacheStats(53, 47, 43, 41, 37, 31);
    
        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 30 14:58:49 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    //   factory:          pointer to the factory that creates a test object.
    //                     The newly created TestInfo instance will assume
    //                     ownership of the factory object.
    GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
        const char* test_case_name,
        const char* name,
        const char* type_param,
        const char* value_param,
        TypeId fixture_class_id,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultExcludeRuleContainerTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.hamcrest.MatcherAssert.assertThat;
    
    public class DefaultExcludeRuleContainerTest {
        @Test
        public void testInit() {
            assertThat(new DefaultExcludeRuleContainer().getRules().size(), equalTo(0));
        }
    
        @Test
        public void testInitWithRules() {
            Set<ExcludeRule> sourceExcludeRules = new HashSet<ExcludeRule>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformSampleIntegrationTest.groovy

                .assertTestPassed('ok')
                .assertTestPassed('repeated()[1]', 'repetition 1 of 2')
                .assertTestPassed('repeated()[2]', 'repetition 2 of 2')
                .assertTestPassed('test1(TestInfo)', 'TEST 1')
                .assertTestSkipped('disabled')
        }
    
        @UsesSample('testing/junitplatform-mix/groovy')
        def 'mix JUnit3/4/5'() {
            given:
            super.sample sample
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. test/typeparam/sliceimp.dir/main.go

    		panic(fmt.Sprintf("a.Max(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := a.SliceMax(s2[:0]), ""; got != want {
    		panic(fmt.Sprintf("a.Max(%v) = %q, want %q", s2[:0], got, want))
    	}
    }
    
    func TestMin() {
    	s1 := []int{1, 2, 3, -5}
    	if got, want := a.SliceMin(s1), -5; got != want {
    		panic(fmt.Sprintf("a.Min(%v) = %d, want %d", s1, got, want))
    	}
    
    	s2 := []string{"aaa", "a", "aa", "aaaa"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    //   factory:          pointer to the factory that creates a test object.
    //                     The newly created TestInfo instance will assume
    //                     ownership of the factory object.
    GTEST_API_ TestInfo* MakeAndRegisterTestInfo(
        const char* test_case_name,
        const char* name,
        const char* type_param,
        const char* value_param,
        TypeId fixture_class_id,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java

                    runtimeMinus.add(providedRuntime);
                    Collection<Configuration> testMinus = ideaModule.getModule().getScopes().get(GeneratedIdeaScope.TEST.name()).get(IdeaDependenciesProvider.SCOPE_MINUS);
                    testMinus.add(providedRuntime);
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/helpers.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/client-go/dynamic"
    	_ "k8s.io/component-base/logs/testinit" // enable logging flags
    )
    
    var swaggerMetadataDescriptions = metav1.ObjectMeta{}.SwaggerDoc()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 30 11:46:49 UTC 2021
    - 7.2K bytes
    - Viewed (0)
  9. test/typeparam/slices.go

    		panic(fmt.Sprintf("_Max(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := _SliceMax(s2[:0]), ""; got != want {
    		panic(fmt.Sprintf("_Max(%v) = %q, want %q", s2[:0], got, want))
    	}
    }
    
    func TestMin() {
    	s1 := []int{1, 2, 3, -5}
    	if got, want := _SliceMin(s1), -5; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %d, want %d", s1, got, want))
    	}
    
    	s2 := []string{"aaa", "a", "aa", "aaaa"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

            UnsignedInteger unsignedSum = aUnsigned.plus(bUnsigned);
            assertThat(unsignedSum.intValue()).isEqualTo(expected);
          }
        }
      }
    
      public void testMinus() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top