Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for someTest (0.23 sec)

  1. platforms/documentation/docs/src/snippets/java/sourceSets/kotlin/src/intTest/java/SomeTest.java

    import org.junit.Test;
    
    public class SomeTest {
        @Test
        public void ok() {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 89 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/customDirs/kotlin/test/org/example/SomeTest.java

    package org.example;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class SomeTest {
        @Test
        public void testSomething() {
            fail();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 172 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/java/sourceSets/groovy/src/intTest/java/SomeTest.java

    import org.junit.Test;
    
    public class SomeTest {
        @Test
        public void ok() {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 89 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/java/customDirs/groovy/test/org/example/SomeTest.java

    package org.example;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class SomeTest {
        @Test
        public void testSomething() {
            fail();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 172 bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestListenerIntegrationTest.groovy

            containsLine(result.getOutput(), "START [Test class SomeTest] [SomeTest]")
            containsLine(result.getOutput(), "FINISH [Test class SomeTest] [SomeTest] [FAILURE] [3]")
            containsLine(result.getOutput(), "START [Test ${maybeParentheses('failing')}(SomeTest)] [${maybeParentheses('failing')}]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerIntegrationTest.groovy

            then:
            assert containsLine(result.getOutput(), "START [Test class SomeTest] [SomeTest]")
            assert containsLine(result.getOutput(), "FINISH [Test class SomeTest] [SomeTest]")
            assert containsLine(result.getOutput(), "START [Test testPass(SomeTest)] [testPass]")
            assert containsLine(result.getOutput(), "FINISH [Test testPass(SomeTest)] [testPass] [null]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitSuitesIntegrationTest.groovy

            then:
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted('org.gradle.SomeTest')
            result.testClass("org.gradle.SomeTest").assertTestCount(2, 0, 0)
            result.testClass("org.gradle.SomeTest").assertTestsExecuted("ok", "ok")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestOutputListenerIntegrationTest.groovy

            failure.output.contains("Test ${maybeParentheses('showsOutputWhenFailing')}(SomeTest) StdOut out failing")
            failure.output.contains("Test ${maybeParentheses('showsOutputWhenPassing')}(SomeTest) StdErr err passing")
            failure.output.contains("Test ${maybeParentheses('showsOutputWhenFailing')}(SomeTest) StdErr err failing")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

                    testImplementation project(':b')
                }
                test.${configureTestFramework}
            """.stripIndent()
            file('a/src/test/java/org/gradle/SomeTest.java') << '''
                package org.gradle;
                public class SomeTest extends AbstractTest {
                }
            '''.stripIndent()
    
            when:
            executer.withTasks('a:test').run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

                        at org.gradle.SomeTest.beBad(SomeTest.java:${lineNumberOf('throw new RuntimeException("bad")')})
                        at org.gradle.SomeTest.badTest(SomeTest.java:${lineNumberOf('beBad();')})
            """.stripIndent())
    
            outputContains("${maybeParentheses('ignoredTest')} SKIPPED")
    
            outputContains("SomeTest FAILED")
        }
    
        def "standard output logging"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top