- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for testBuild (0.2 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy
@Test void "caches compiled build script"() { createLargeBuildScript() testBuild("hello1", "Hello 1") TestFile.Snapshot classFileSnapshot = classFile.snapshot() testBuild("hello2", "Hello 2") classFile.assertHasNotChangedSince(classFileSnapshot) modifyLargeBuildScript() testBuild("newTask", "I am new") classFile.assertHasChangedSince(classFileSnapshot) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.3K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/ModelTest.java
/** * Tests {@code Model}. * */ class ModelTest { @Test void testHashCodeNullSafe() { new Model().hashCode(); } @Test void testBuild() { Model model = new Model(); Build build = new Build(); build.setOutputDirectory("myOutputDirectory"); model.setBuild(build); Build build2 = model.getBuild();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2K bytes - Viewed (0) -
pkg/config/schema/resource/schema_test.go
g := NewWithT(t) err := c.b.BuildNoValidate().Validate() if c.expectError { g.Expect(err).ToNot(BeNil()) } else { g.Expect(err).To(BeNil()) } }) } } func TestBuild(t *testing.T) { cases := []struct { name string b Builder expectError bool }{ { name: "valid", b: Builder{ Kind: "Empty", Plural: "Empties",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 5.2K bytes - Viewed (0) -
cmd/erasure-sets_test.go
for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement) } } if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 { t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 12 07:21:56 UTC 2024 - 6.9K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
} } func TestUpsertPodCache(t *testing.T) { counter.Store(0) p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 1)) pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}} nspath1 := "/path/to/netns/1" nspath2 := "/path/to/netns/2" netns1, err := p.UpsertPodCache(pod, nspath1) if err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_no_run_example.txt
} func Example_test() { // This test will not be run, it has no "Output:" comment. } -- test_test.go -- package pkg import ( "os" "testing" ) func TestBuilt(t *testing.T) { os.Stdout.Write([]byte("A normal test was executed.\n"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 496 bytes - Viewed (0) -
src/runtime/security_test.go
} if err := privesc("chmod", "u+s", bin); err != nil { t.Skipf("unable to set permissions on test binary, likely no passwordless sudo/su: %s", err) } } func TestSUID(t *testing.T) { // This test is relatively simple, we build a test program which opens a // file passed via the TEST_OUTPUT envvar, prints the value of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 18:10:14 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/kubelet/server/server_websocket_test.go
assert.Equal(t, podName, name, "pod name") assert.Equal(t, podNamespace, namespace, "pod namespace") if test.uid { assert.Equal(t, testUID, string(uid), "uid") } } ss.fakeRuntime.portForwardFunc = func(podSandboxID string, port int32, stream io.ReadWriteCloser) error { defer close(portForwardFuncDone)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 8.2K bytes - Viewed (0)