- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 138 for svctest (0.18 sec)
-
src/testing/match.go
skip filterMatch matchFunc func(pat, str string) (bool, error) mu sync.Mutex // subNames is used to deduplicate subtest names. // Each key is the subtest name joined to the deduplicated name of the parent test. // Each value is the count of the number of occurrences of the given subtest name // already seen. subNames map[string]int32 } type filterMatch interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0) -
src/testing/sub_test.go
}) t.Errorf("oh, and this too") }, }, { desc: "subtest calls fatal on parent", ok: false, output: ` --- FAIL: subtest calls fatal on parent (N.NNs) sub_test.go:NNN: first this sub_test.go:NNN: and now this! --- FAIL: subtest calls fatal on parent/#00 (N.NNs) testing.go:NNN: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test`, maxPar: 1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 21:27:08 UTC 2023 - 23.8K bytes - Viewed (0) -
src/net/main_posix_test.go
//go:build !plan9 package net import ( "net/internal/socktest" "strings" "syscall" ) func enableSocketConnect() { sw.Set(socktest.FilterConnect, nil) } func disableSocketConnect(network string) { net, _, _ := strings.Cut(network, ":") sw.Set(socktest.FilterConnect, func(so *socktest.Status) (socktest.AfterFilter, error) { switch net { case "tcp4":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.4K bytes - Viewed (0) -
analysis/analysis-api-standalone/testData/sessionBuilder/resolveAgainstCommonKLibFromOtherModule/jvmMain/jvmSrc.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Mar 07 12:14:19 UTC 2024 - 293 bytes - Viewed (0) -
platforms/native/testing-native/src/main/resources/META-INF/gradle-plugins/org.gradle.xctest.properties
# See the License for the specific language governing permissions and # limitations under the License. #
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 691 bytes - Viewed (0) -
platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/xctest/plugins/XCTestConventionPluginTest.groovy
import org.gradle.nativeplatform.tasks.LinkMachOBundle import org.gradle.nativeplatform.test.xctest.SwiftXCTestBundle import org.gradle.nativeplatform.test.xctest.SwiftXCTestExecutable import org.gradle.nativeplatform.test.xctest.SwiftXCTestSuite import org.gradle.nativeplatform.test.xctest.tasks.InstallXCTestBundle import org.gradle.nativeplatform.test.xctest.tasks.XCTest import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassDetector.java
return true; } @Override public AnnotationVisitor visitAnnotation(String desc, boolean visible) { if ("Lorg/junit/runner/RunWith;".equals(desc)) { setTest(true); } return null; } @Override public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) { if (!isTest()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2K bytes - Viewed (0) -
src/net/internal/socktest/switch_stub.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build plan9 package socktest // Sockets maps a socket descriptor to the status of socket. type Sockets map[int]Status func familyString(family int) string { return "<nil>" } func typeString(sotype int) string { return "<nil>" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 455 bytes - Viewed (0) -
src/net/net_test.go
switch runtime.GOOS { case "plan9": t.Skipf("%s does not have full support of socktest", runtime.GOOS) } syserr := make(chan error) go func() { defer close(syserr) for _, err := range abortedConnRequestErrors { syserr <- err } }() sw.Set(socktest.FilterAccept, func(so *socktest.Status) (socktest.AfterFilter, error) { if err, ok := <-syserr; ok { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 21:04:44 UTC 2024 - 13.3K bytes - Viewed (0) -
src/net/error_test.go
return nil, &DNSError{Err: "dial error test", Name: "name", Server: "server", IsTimeout: true} } sw.Set(socktest.FilterConnect, func(so *socktest.Status) (socktest.AfterFilter, error) { return nil, errOpNotSupported }) defer sw.Set(socktest.FilterConnect, nil) d := Dialer{Timeout: someTimeout} for i, tt := range dialErrorTests { i, tt := i, tt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 20.3K bytes - Viewed (0)