Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for TestID (0.1 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/results/StateTrackingTestResultProcessorTest.groovy

            def suite = new DefaultTestSuiteDescriptor("suiteId", "FastTests");
            def test = new DefaultTestDescriptor("testId", "DogTest", "shouldBarkAtStrangers");
    
            when:
            adapter.started(suite, new TestStartEvent(100L))
            adapter.started(test, new TestStartEvent(100L, 'suiteId'))
            adapter.completed('testId', new TestCompleteEvent(200L, ResultType.SKIPPED))
            adapter.completed('suiteId', new TestCompleteEvent(200L))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceFlakinessDataProvider.java

         *
         * <pre>
         *  SELECT TESTID, TESTPROJECT, AVG(CONVERT(CASEWHEN(DIFFCONFIDENCE &gt; 0.97, 1, 0), DECIMAL)) AS FAILURE_RATE,
         *  FROM TESTEXECUTION
         *  WHERE (CHANNEL = 'flakiness-detection-master' OR CHANNEL = 'flakiness-detection-release')
         *  GROUP BY TESTID
         * </pre>
         *
         * @return the flakiness rate in DB, null if not exists.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestScenarioSelector.java

        private static final String TEST_PROJECT_PROPERTY_NAME = "org.gradle.performance.testProject";
    
        public static boolean shouldRun(String testId) {
            if (testId.contains(";")) {
                throw new IllegalArgumentException("Test ID cannot contain ';', but was '" + testId + "'");
            }
            String scenarioProperty = System.getProperty("org.gradle.performance.scenarios", "");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestIdProvider.groovy

            this.testSpec = testSpec
            updateId()
        }
    
        def updateId() {
            if (methodName != null && testSpec != null) {
                if (testSpec.hasProperty('testId') && testSpec.testId == null) {
                    testSpec.testId = methodName
                } else if (testSpec.hasProperty('displayName') && testSpec.displayName == null) {
                    testSpec.displayName = methodName
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirector.java

            redirector.stop();
        }
    
        public void setOutputOwner(Object testId) {
            assert testId != null;
            if (System.out != null) {
                System.out.flush();
            }
            if (System.err != null) {
                System.err.flush();
            }
            outForwarder.outputOwner = testId;
            errForwarder.outputOwner = testId;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

        private final int testId;
        private final long timeoutMs;
        private final Clock clock = Time.clock();
        private int waitingFor;
        private final WaitPrecondition previous;
        private long mostRecentEvent;
        private boolean cancelled;
        private final ExpectationState state = new ExpectationState();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderCrossBuildPerformanceTest.groovy

            when:
            runner.testGroup = "group"
    
            then:
            runner.testId == "if no test id is set, the test method name is used"
        }
    
        def "if test id is set, it is not replaced"() {
            when:
            runner.testGroup = "group"
            runner.testId = "Another id"
    
            then:
            runner.testId == "Another id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderCrossVersionPerformanceTest.groovy

            when:
            runner.testProject = "test"
    
            then:
            runner.testId == "if no test id is set, the test method name is used"
        }
    
        def "if test id is set, it is not replaced"() {
            when:
            runner.testProject = "test"
            runner.testId = "Another id"
    
            then:
            runner.testId == "Another id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderGradleVsMavenPerformanceTest.groovy

            when:
            runner.testGroup = "group"
    
            then:
            runner.testId == "if no test id is set, the test method name is used"
        }
    
        def "if test id is set, it is not replaced"() {
            when:
            runner.testGroup = "group"
            runner.testId = "Another id"
    
            then:
            runner.testId == "Another id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        }
    }
    
    data class Scenario(val className: String, val scenario: String) {
        companion object {
            fun fromTestId(testId: String): Scenario {
                val dotBeforeScenarioName = testId.lastIndexOf('.')
                return Scenario(testId.substring(0, dotBeforeScenarioName), testId.substring(dotBeforeScenarioName + 1))
            }
        }
    
        override
        fun toString(): String =
            "$className.$scenario"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top