- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for testMain (0.25 sec)
-
platforms/jvm/language-java/src/integTest/resources/org/gradle/integtests/ExecIntegrationTest/shared/src/main/java/org/gradle/TestMain.java
package org.gradle; import java.io.File; public class TestMain { public static void main(String[] args) throws Exception { File expectedWorkingDir = new File(args[0]).getCanonicalFile(); File actualWorkingDir = new File(System.getProperty("user.dir")).getCanonicalFile(); if (!expectedWorkingDir.getCanonicalFile().equals(actualWorkingDir)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 716 bytes - Viewed (0) -
pilot/pkg/networking/core/leak_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 789 bytes - Viewed (0) -
src/runtime/debug/stack_test.go
// It should contain a crash report such as this: // // panic: oops // // goroutine 1 [running]: // runtime/debug_test.TestMain(0x1400007e0a0) // GOROOT/src/runtime/debug/stack_test.go:33 +0x18c // main.main() // _testmain.go:71 +0x170 data, err := os.ReadFile(crashOutput) if err != nil { t.Fatalf("child process failed to write crash report: %v", err) } crash := string(data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
src/go/types/main_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 464 bytes - Viewed (0) -
pilot/pkg/networking/core/route/leak_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 790 bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/leak_test.go
// See the License for the specific language governing permissions and // limitations under the License. package aggregate import ( "testing" "istio.io/istio/tests/util/leak" ) func TestMain(m *testing.M) { // CheckMain asserts that no goroutines are leaked after a test package exits. leak.CheckMain(m)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 794 bytes - Viewed (0) -
pkg/kube/kclient/leak_test.go
// See the License for the specific language governing permissions and // limitations under the License. package kclient import ( "testing" "istio.io/istio/tests/util/leak" ) func TestMain(m *testing.M) { // CheckMain asserts that no goroutines are leaked after a test package exits. leak.CheckMain(m)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 792 bytes - Viewed (0) -
pkg/kube/krt/leak_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 788 bytes - Viewed (0) -
security/pkg/nodeagent/caclient/providers/citadel/leak_test.go
// See the License for the specific language governing permissions and // limitations under the License. package citadel import ( "testing" "istio.io/istio/tests/util/leak" ) func TestMain(m *testing.M) { // CheckMain asserts that no goroutines are leaked after a test package exits. leak.CheckMain(m)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 21:03:23 UTC 2024 - 792 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go
func isOpen() bool { openedMu.Lock() defer openedMu.Unlock() return opened } // Open enables telemetry data writing to disk. // This is supposed to be called once during the program execution // (i.e. typically in TestMain), and must not be used with // golang.org/x/telemetry/counter.Open. func Open(telemetryDir string) { openedMu.Lock() defer openedMu.Unlock() if opened { panic("Open was called more than once") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 1.5K bytes - Viewed (0)