Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for DefaultTestExecutionResult (2.5 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestFilteringSamplesIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.testing.junit.junit4
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.integtests.fixtures.Sample
    import org.junit.Rule
    
    class JUnit4TestFilteringSamplesIntegrationTest extends AbstractIntegrationSpec {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4FilteringIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    
    package org.gradle.testing.junit.junit4
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.testing.AbstractTestFilteringIntegrationTest
    import spock.lang.Issue
    
    abstract class AbstractJUnit4FilteringIntegrationTest extends AbstractTestFilteringIntegrationTest {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractApiGroovyCompilerIntegrationSpec.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.groovy.compile
    
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    
    abstract class AbstractApiGroovyCompilerIntegrationSpec extends AbstractGroovyCompilerIntegrationSpec {
        def canEnableAndDisableIntegerOptimization() {
            if (versionLowerThan('1.8')) {
                return
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGSuiteInitialisationIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.testing.testng
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.testing.fixture.TestNGCoverage
    import spock.lang.Issue
    
    import static org.gradle.integtests.fixtures.TestExecutionResult.EXECUTION_FAILURE
    import static org.hamcrest.CoreMatchers.startsWith
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitClassDetectionIntegrationTest.groovy

                }
            """
    
            when:
            succeeds("test", "--tests", "SomeTest")
            then:
            new DefaultTestExecutionResult(testDirectory).testClass('com.example.SomeTest').assertTestCount(1, 0, 0)
            new DefaultTestExecutionResult(testDirectory).assertTestClassesExecuted('com.example.SomeTest')
    
            when:
            createNewJarWithoutPackageEntries(jar, jarNew)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAssumptionsIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testing.junit
    
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.testing.fixture.AbstractTestingMultiVersionIntegrationTest
    
    abstract class AbstractJUnitAssumptionsIntegrationTest extends AbstractTestingMultiVersionIntegrationTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitJnaIntegrationTest.groovy

                }
                test.${configureTestFramework}
            """.stripIndent()
    
            when:
            executer.withTasks('build').run()
    
            then:
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory)
            result.assertTestClassesExecuted('OkTest')
            result.testClass('OkTest').assertTestPassed('ok')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJUnitIntegrationTest.groovy

            // Build and test projects
            executer.inDirectory(projectDir).withTasks('clean', 'build').run()
    
            // Check tests have run
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(projectDir)
            result.assertTestClassesExecuted('org.gradle.junit.CategorizedJUnitTest')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

                public class SomeTest extends AbstractTest {
                }
            '''.stripIndent()
    
            when:
            executer.withTasks('a:test').run()
    
            then:
            DefaultTestExecutionResult result = new DefaultTestExecutionResult(testDirectory.file('a'))
            result.assertTestClassesExecuted('org.gradle.SomeTest')
            result.testClass('org.gradle.SomeTest').assertTestPassed('ok')
        }
    
    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/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJavaCustomizedLayoutIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.integtests.samples
    
    import org.gradle.integtests.fixtures.AbstractSampleIntegrationTest
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    import org.gradle.integtests.fixtures.Sample
    import org.gradle.integtests.fixtures.UsesSample
    import org.gradle.test.fixtures.file.TestFile
    import org.junit.Rule
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top