Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for badTests (0.38 sec)

  1. src/crypto/tls/auth_test.go

    	}
    
    	brokenCert := &Certificate{
    		Certificate:                  [][]byte{testRSACertificate},
    		PrivateKey:                   testRSAPrivateKey,
    		SupportedSignatureAlgorithms: []SignatureScheme{Ed25519},
    	}
    
    	badTests := []struct {
    		cert        *Certificate
    		peerSigAlgs []SignatureScheme
    		tlsVersion  uint16
    	}{
    		{rsaCert, []SignatureScheme{ECDSAWithP256AndSHA256, ECDSAWithSHA1}, VersionTLS12},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 08 21:48:41 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_badtest.txt

    env GO111MODULE=off
    
    ! go test badtest/badexec
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badexec
    
    ! go test badtest/badsyntax
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badsyntax
    
    ! go test badtest/badvar
    ! stdout ^ok
    stdout ^FAIL\tbadtest/badvar
    
    ! go test notest
    ! stdout ^ok
    stderr '^notest.hello.go:6:1: syntax error: non-declaration statement outside function body' # Exercise issue #7108
    
    -- badtest/badexec/x_test.go --
    package badexec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 06 15:47:54 UTC 2020
    - 805 bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGConsoleLoggingIntegrationTest.groovy

                class TestNGTest {
                    @Test
                    void goodTest() {}
    
                    @Test(dependsOnMethods = ["goodTest"])
                    void badTest() {
                        beBad()
                    }
    
                    @Test(dependsOnMethods = ["badTest"])
                    void ignoredTest() {}
    
                    @Test(dependsOnMethods = ["goodTest"])
                    void printTest() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

            fails("test")
    
            then:
            outputContains("""
                ${maybeParentheses('badTest')} FAILED
                    java.lang.RuntimeException: bad
                        at org.gradle.SomeTest.beBad(SomeTest.java:${lineNumberOf('throw new RuntimeException("bad")')})
                        at org.gradle.SomeTest.badTest(SomeTest.java:${lineNumberOf('beBad();')})
            """.stripIndent())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/testdata/issue23036.test

            foo_test.go:14: Differed.
                    Expected: MyTest:
                    --- FAIL: Test output from other tool
                    Actual: not expected
    FAIL
    exit status 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:12:12 UTC 2018
    - 286 bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/test/groovy/org/gradle/internal/enterprise/exceptions/ExceptionMetadataHelperTest.groovy

            def iae = new IllegalArgumentException("badness", npe)
            def re = new RuntimeException("sadness")
            def mbf = new MultipleBuildFailures([re, iae])
    
            expect:
            with(ExceptionMetadataHelper.extractCauses(mbf)) {
                size() == 2
                get(0).message == "sadness"
                with(get(1)) {
                    message == "badness"
                    cause.message == "nullness"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/internal/test2json/testdata/issue23036.json

    {"Action":"fail","Test":"TestActualCase"}
    {"Action":"output","Output":"FAIL\n"}
    {"Action":"output","Output":"exit status 1\n"}
    {"Action":"output","Output":"FAIL    github.com/org/project/badtest     0.049s\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 847 bytes
    - Viewed (0)
  8. test/fixedbugs/issue13799.go

    	// loop.
    
    	// Cause of bug -- escape of closure failed to escape (shared) data structures
    	// of map.  Assign to fn declared outside of loop triggers escape of closure.
    	// Heap -> stack pointer eventually causes badness when stack reallocation
    	// occurs.
    
    	var fn func() // ERROR "moved to heap: fn$"
    	i := 0        // ERROR "moved to heap: i$"
    	for ; i < maxI; i++ {
    		// var fn func() // this makes it work, because fn stays off heap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top