Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for executeTest (0.25 sec)

  1. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTaskSpec.groovy

            when:
            task.executeTests()
    
            then:
            _ * closure.maximumNumberOfParameters >> 0
            1 * closure.call()
            0 * closure._
        }
    
        def "notifies closure before test"() {
            def closure = Mock(Closure)
    
            given:
            expectTestPasses()
    
            task.beforeTest(closure)
    
            when:
            task.executeTests()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

            when:
            test.executeTests()
    
            then:
            1 * testExecuterMock.execute(_ as TestExecutionSpec, _ as TestResultProcessor)
        }
    
        def "generates report"() {
            given:
            configureTask()
            final testReporter = Mock(TestReporter)
            test.setTestReporter(testReporter)
    
            when:
            test.executeTests()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      // be executed immediately.  OVERSEE means that the program should prepare
      // the appropriate environment for a child process to execute the death
      // test, then wait for it to complete.
      enum TestRole { OVERSEE_TEST, EXECUTE_TEST };
    
      // An enumeration of the three reasons that a test might be aborted.
      enum AbortReason {
        TEST_ENCOUNTERED_RETURN_STATEMENT,
        TEST_THREW_EXCEPTION,
        TEST_DID_NOT_DIE
      };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/tasks/PerformanceTest.groovy

            return channel.startsWith("flakiness-detection")
        }
    
        @Override
        @TaskAction
        void executeTests() {
            performanceTestService.get()
            if (getScenarios() == null) {
                moveMethodFiltersToScenarios()
            }
            try {
                super.executeTests()
            } catch (GradleException e) {
                // Ignore test failure message, so the reporter can report the failures
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 03 03:46:18 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

      // be executed immediately.  OVERSEE means that the program should prepare
      // the appropriate environment for a child process to execute the death
      // test, then wait for it to complete.
      enum TestRole { OVERSEE_TEST, EXECUTE_TEST };
    
      // An enumeration of the three reasons that a test might be aborted.
      enum AbortReason {
        TEST_ENCOUNTERED_RETURN_STATEMENT,
        TEST_THREW_EXCEPTION,
        TEST_DID_NOT_DIE
      };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                            parentFile.mkdirs()
                            createNewFile()
                        }
                    }
                    override fun executeTests() {
                        project.touchInBuildDir( "reports/report.html")
    
                        if (project.name == "failed-report-with-leftover") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

        }
    
        def descriptorForParentOfRootTestSuite(ProgressEvents events) {
            if (GradleVersion.version(targetDist.version.baseVersion.version) >= GradleVersion.version("7.3")) {
                events.operation("Execute executeTests for :test").descriptor
            } else {
                null
            }
        }
    
        def goodCode() {
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java

                });
                return previousFailedTestClasses;
            } else {
                return Collections.emptySet();
            }
        }
    
        @Override
        @TaskAction
        public void executeTests() {
            JavaVersion javaVersion = getJavaVersion();
            if (!javaVersion.isJava6Compatible()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

         * @since 3.5
         */
        public void testLogging(Action<? super TestLoggingContainer> action) {
            action.execute(testLogging);
        }
    
        @TaskAction
        public void executeTests() {
            LogLevel currentLevel = determineCurrentLogLevel();
            TestLogging levelLogging = getTestLogging().get(currentLevel);
            TestExceptionFormatter exceptionFormatter = getExceptionFormatter(levelLogging);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. docs/fr/docs/contributing.md

    De nombreux tutoriels comportent des blocs de code.
    
    Dans la plupart des cas, ces blocs de code sont de véritables applications complètes qui peuvent être exécutées telles quelles.
    
    En fait, ces blocs de code ne sont pas écrits à l'intérieur du Markdown, ce sont des fichiers Python dans le répertoire `./docs_src/`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:07 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top