Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for badTests (0.18 sec)

  1. platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/plugins/BuildDashboardPluginIntegrationTest.groovy

            root.file("src/test/groovy/org/gradle/Class1.groovy") << "package org.gradle; class TestClass1 { @org.junit.Test void ok() { } }"
            withTests()
        }
    
        private void badTests(TestFile root = testDirectory) {
            root.file("src/test/groovy/org/gradle/Class1.groovy") << "package org.gradle; class TestClass1 { @org.junit.Test void broken() { throw new RuntimeException() } }"
            withTests()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. src/net/mail/message_test.go

    			continue
    		}
    
    		if addr.String() != test {
    			t.Errorf("String() round-trip = %q; want %q", addr, test)
    			continue
    		}
    
    	}
    
    	// Should fail
    	badTests := []string{
    		`<Abc.example.com>`,
    		`<A@b@******@****.***>`,
    		`<a"b(c)d,e:f;g<h>i[j\k]******@****.***>`,
    		`<just"not"******@****.***>`,
    		`<this is"not\******@****.***>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K 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. 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)
  6. 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