Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for withResult (0.14 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/SuiteTimestampIntegrationTest.groovy

        @Test public void foo() {
            System.out.println("foo");
        }
    }
    """
            when:
            run "test"
    
            then:
            new JUnitXmlTestExecutionResult(testDirectory).testClass("SomeTest").withResult { testClassNode ->
                ******@****.***ng().startsWith(new GregorianCalendar().get(Calendar.YEAR).toString())
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy

        }
    
        int getTestCount() {
            return ******@****.***ger()
        }
    
        int getTestCasesCount() {
            return testClassNode.testcase.size()
        }
    
        TestClassExecutionResult withResult(Closure action) {
            action(testClassNode)
            this
        }
    
        TestClassExecutionResult assertTestPassed(String name) {
            Map<String, Node> testMethods = findTests()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy

            def results = runner.run()
    
            then:
            def withoutResults = buildBaselineResults(results, WITHOUT_PLUGIN_LABEL)
            def withResults = results.buildResult(WITH_PLUGIN_LABEL)
            def speedStats = withoutResults.getSpeedStatsAgainst(withResults.name, withResults)
            println(speedStats)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 09:04:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top