Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for testminio (0.24 sec)

  1. src/runtime/pprof/vminfo_darwin_test.go

    	}
    	if !strings.HasSuffix(filename, "pprof.test") {
    		t.Errorf("got %s, want pprof.test", filename)
    	}
    	addr := uint64(abi.FuncPCABIInternal(TestVMInfo))
    	if addr < lo || addr > hi {
    		t.Errorf("%x..%x does not contain function %p (%x)", lo, hi, TestVMInfo, addr)
    	}
    }
    
    func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) {
    	var retryable bool
    	for {
    		hi, lo, retryable, err = useVMMap(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/plugin_test.go

    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"testing"
    
    	"k8s.io/kubernetes/test/utils/harness"
    	"k8s.io/utils/exec/testing"
    )
    
    func TestInit(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	plugin, _ := testPlugin(t)
    	plugin.runner = fakeRunner(
    		assertDriverCall(t, successOutput(), "init"),
    	)
    	plugin.Init(plugin.host)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 21 06:54:44 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    
        public void test_init() {
            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
            assertEquals(0, dictionaryManager.creatorList.size());
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/log/LoggerTest.java

         * @throws Exception
         */
        @Test
        public void testDebug() throws Exception {
            logger.debug("debug");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top