Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertTestsExecuted (0.34 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/AbstractConfigurationCacheIntegrationTest.groovy

            fails(ENABLE_CLI_OPT, LOG_REPORT_LINK_AS_WARNING, *tasks)
        }
    
        protected void assertTestsExecuted(String testClass, String... testNames) {
            new DefaultTestExecutionResult(testDirectory)
                .testClass(testClass)
                .assertTestsExecuted(testNames)
        }
    
        protected static String removeVfsLogOutput(String normalizedOutput) {
            normalizedOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestClassExecutionResult.java

         */
        TestClassExecutionResult assertTestsExecuted(String... testNames);
    
        /**
         * Asserts that the given tests (and only the given tests) were executed for the given test class.
         *
         * This supports JUnit5 parameterized tests where the test name and display name may not match.
         */
        TestClassExecutionResult assertTestsExecuted(TestCase... testCases);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy

            result.assertTasksExecuted(*expectedTasks)
    
            and:
            classFile.isFile()
            testClassFile.isFile()
            testResults.isDirectory()
    
            and:
            assertTestsExecuted("ThingTest", "ok")
    
            when:
            configurationCacheRun "clean"
    
            and:
            configurationCacheRun "build"
    
            then:
            configurationCache.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy

        }
    
        TestClassExecutionResult assertTestsExecuted(String... testNames) {
            def actualTestMethods = findTestMethods().keySet()
            assert actualTestMethods == testNames as Set
            this
        }
    
        @Override
        TestClassExecutionResult assertTestsExecuted(TestCase ... testCases) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

            file('build').assertDoesNotExist()
    
            def results = new DefaultTestExecutionResult(file(), 'target')
            results.assertTestClassesExecuted('PersonTest')
            results.testClass('PersonTest').assertTestsExecuted('ok')
        }
    
        @Test
        void projectPathsResolvedRelativeToRoot() {
            file('relative/a/build.gradle') << """
                task someTask
            """
            file('settings.gradle') << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top