- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for test3setup (0.37 sec)
-
test/fixedbugs/issue8048.go
} println(*x) } func test3() { // Like test1 but avoid array index, which does not // move to end of function on ARM. defer func() { runtime.GC() recover() }() test3setup() test3f() } func test3setup() { var x uintptr var b bool b = true if b { y := uintptr(123) runtime.GC() x = y } runtime.GC() globl = x } var globl uintptr func test3f() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/TestSetup.java
package org.gradle; import org.testng.annotations.BeforeTest; public class TestSetup { @BeforeTest public void setupTest() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 143 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
} func TestCreate(t *testing.T) { ctx, store, etcdClient := testSetup(t) storagetesting.RunTestCreate(ctx, t, store, checkStorageInvariants(etcdClient, store.codec)) } func TestCreateWithTTL(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestCreateWithTTL(ctx, t, store) } func TestCreateWithKeyExist(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestCreateWithKeyExist(ctx, t, store) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0) -
pilot/pkg/config/monitor/file_snapshot_test.go
host: some.example.internal ` func TestFileSnapshotNoFilter(t *testing.T) { g := NewWithT(t) ts := &testState{ ConfigFiles: map[string][]byte{"gateway.yml": []byte(gatewayYAML)}, } ts.testSetup(t) fileWatcher := NewFileSnapshot(ts.rootPath, collection.SchemasFor(), "foo") configs, err := fileWatcher.ReadConfigFiles() g.Expect(err).NotTo(HaveOccurred()) g.Expect(configs).To(HaveLen(1))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go
ctx, cacher, terminate := testSetup(t) t.Cleanup(terminate) storagetesting.RunTestCreate(ctx, t, cacher, checkStorageInvariants) } func TestCreateWithTTL(t *testing.T) { ctx, cacher, terminate := testSetup(t) t.Cleanup(terminate) storagetesting.RunTestCreateWithTTL(ctx, t, cacher) } func TestCreateWithKeyExist(t *testing.T) { ctx, cacher, terminate := testSetup(t) t.Cleanup(terminate)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 17K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go
"k8s.io/utils/ptr" ) func TestWatch(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestWatch(ctx, t, store) } func TestClusterScopedWatch(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestClusterScopedWatch(ctx, t, store) } func TestNamespaceScopedWatch(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestNamespaceScopedWatch(ctx, t, store) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 12.3K bytes - Viewed (1) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4SuitesIntegrationTest.groovy
suite.addTestSuite(SomeTest2.class); TestSetup wrappedSuite = new junit.extensions.TestSetup(suite) { protected void setUp() { System.out.println("stdout in TestSetup#setup"); System.err.println("stderr in TestSetup#setup"); } protected void tearDown() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.7K bytes - Viewed (0) -
tests/integration/telemetry/tracing/otelcollector/tracing_test.go
}) } }) } func TestMain(m *testing.M) { framework.NewSuite(m). Label(label.CustomSetup). Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)). Setup(tracing.TestSetup). Setup(testSetup). Run() } // TODO: convert test to Telemetry API for both scenarios func setupConfig(_ resource.Context, cfg *istio.Config) { if cfg == nil { return } cfg.ControlPlaneValues = `
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 22:56:30 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy
def result = new TestNGExecutionResult(testDir) result.assertTestClassesExecuted('org.gradle.OkTest', 'org.gradle.ConcreteTest', 'org.gradle.SuiteSetup', 'org.gradle.SuiteCleanup', 'org.gradle.TestSetup', 'org.gradle.TestCleanup') result.testClass('org.gradle.OkTest').assertTestsExecuted('passingTest', 'expectedFailTest') result.testClass('org.gradle.OkTest').assertTestPassed('passingTest')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
tests/integration/telemetry/tracing/zipkin/main_test.go
) func TestMain(m *testing.M) { framework.NewSuite(m). Label(label.CustomSetup). Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)). Setup(tracing.TestSetup). Run() } func setupConfig(ctx resource.Context, cfg *istio.Config) { if cfg == nil { return } cfg.Values["meshConfig.enableTracing"] = "true" cfg.Values["pilot.traceSampling"] = "100.0"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 07 16:59:18 UTC 2024 - 1.3K bytes - Viewed (0)