Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for PersonTest (0.1 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesGroovyQuickstartIntegrationTest.groovy

            then:
            // Check tests have run
            def result = new DefaultTestExecutionResult(groovyProjectDir)
            result.assertTestClassesExecuted('org.gradle.PersonTest')
    
            and:
            // Check contents of jar
            TestFile tmpDir = file('jarContents')
            groovyProjectDir.file('build/libs/quickstart.jar').unzipTo(tmpDir)
            tmpDir.assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesGroovyCustomizedLayoutIntegrationTest.groovy

            then:
            // Check tests have run
            def result = new DefaultTestExecutionResult(groovyProjectDir)
            result.assertTestClassesExecuted('org.gradle.PersonTest')
    
            and:
            // Check contents of jar
            TestFile tmpDir = file('jarContents')
            groovyProjectDir.file('build/libs/customized-layout.jar').unzipTo(tmpDir)
            tmpDir.assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJavaQuickstartIntegrationTest.groovy

            then: "Check tests have run"
            def result = new DefaultTestExecutionResult(javaprojectDir)
            result.assertTestClassesExecuted('org.gradle.PersonTest')
            // Check jar exists
            def jarFile = javaprojectDir.file("build/libs/quickstart-1.0.jar")
            jarFile.assertIsFile()
            // Check contents of Jar
            TestFile jarContents = file('jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

            when:
            def result = succeeds("test")
    
            then:
            result.assertTaskExecuted(":test")
    
            and:
            def xmlResults = getTestResultsFileAsXml(dslDir, "org.gradle.PersonTest")
            assertTestsRunCount(xmlResults, 1)
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample("testing/filtering")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top