Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 132 for svctest (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. analysis/analysis-api-standalone/testData/sessionBuilder/resolveAgainstCommonKLibFromOtherModule/jvmMain/jvmSrc.kt

    package jvmTest
    
    import common.greetEachOther
    import some.example.Person
    
    private class MyPerson(
        name: String
    ) : Person(name) {
        override fun greet() = "Hi"
    }
    
    fun test() {
        greetEachOther(
            listOf(
                Person("Alice"),
                MyPerson("Bob"),
            )
        )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 07 12:14:19 UTC 2024
    - 293 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

            htmlReport.testClass("org.gradle.testing.SubTest").assertTestCount(4, 1, 0).assertTestPassed("passing") // onlySub is passing once and failing once
                .assertStdout(allOf(containsString('org.gradle.testing.SubTest#passing sub\n'),
                    containsString('org.gradle.testing.SubTest#passing super\n'),
                    containsString('org.gradle.testing.SubTest#onlySub sub\n'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
Back to top