Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 107 for testProjects (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/DefaultScriptTest.groovy

            ProjectInternal testProject = TestUtil.create(temporaryFolder).rootProject()
            testProject.ext.custom = 'true'
            script.setScriptSource(new TextResourceScriptSource(new StringTextResource('script', '//')))
            script.init(testProject, serviceRegistryMock)
            script.run();
    
            then:
            script.scriptMethod() == "scriptMethod"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 19 14:14:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

                            String testName = testExecutions.getString(2);
                            String testProject = testExecutions.getString(3);
                            if (testProject != null && testClass != null) {
                                testNames.add(new PerformanceExperiment(testProject, new PerformanceScenario(testClass, testName)));
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ScriptDependencyResolveIntegrationTest.groovy

            module.artifact(classifier: 'classifier')
            module.publish()
            mavenRepo().module("org.gradle", "other", "preview-1").publish()
    
            and:
            settingsFile << """
    rootProject.name = 'testproject'
    """
    
            buildFile << """
    group = 'org.gradle'
    version = '1.0'
    
    buildscript {
        repositories { maven { url "${mavenRepo().uri}" } }
        dependencies {
            classpath "org.gradle:test:1.45"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderCrossVersionPerformanceTest.groovy

        def "if no test id is set, the test method name is used"() {
            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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesIntegrationTest.groovy

        def resolve = new ResolveTestFixture(buildFile, "conf")
    
        def setup() {
            resolve.prepare()
            resolve.addDefaultVariantDerivationStrategy()
            settingsFile << """
                rootProject.name = 'testproject'
            """
            buildFile << """
                repositories {
                    maven { url '${mavenRepo.uri}' }
                }
                configurations {
                    conf
                }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossBuildPerformanceTestRunner.groovy

        }
    
        @Override
        CrossBuildPerformanceResults newResult() {
            new CrossBuildPerformanceResults(
                testClass: testClassName,
                testId: testId,
                testProject: testProject,
                testGroup: testGroup,
                jvm: Jvm.current().toString(),
                host: InetAddress.getLocalHost().getHostName(),
                operatingSystem: OperatingSystem.current().toString(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise-plugin-performance/src/testFixtures/groovy/org/gradle/performance/fixture/BuildScanPerformanceTestRunner.groovy

        }
    
        @Override
        CrossBuildPerformanceResults newResult() {
            new CrossBuildPerformanceResults(
                testClass: testClassName,
                testId: testId,
                testProject: testProject,
                testGroup: testGroup,
                jvm: Jvm.current().toString(),
                host: InetAddress.getLocalHost().getHostName(),
                operatingSystem: OperatingSystem.current().toString(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:38:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenVersionListerTest.groovy

        def repo = Mock(ExternalResourceRepository)
        def module = new DefaultModuleIdentifier("org.acme", "testproject")
        def result = new DefaultBuildableModuleVersionListingResolveResult()
        def moduleVersion = new DefaultModuleVersionIdentifier(module, "1.0")
        def artifact = new DefaultIvyArtifactName("testproject", "jar", "jar")
    
        def resourceAccessor = Mock(CacheAwareExternalResourceAccessor)
        def fileStore = Mock(FileStore)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/environment/BuildEnvironmentIntegrationTest.groovy

            testProject()
    
            when:
            def mixedCaseDir = new File(testDirectory, "JAVA/QuickStart")
            executer.inDirectory(mixedCaseDir).run()
    
            then:
            noExceptionThrown()
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def "canonicalizes working directory for short windows path"() {
            testProject()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/ResultSpecification.groovy

            def results = new CrossVersionPerformanceResults()
            results.testClass = "org.gradle.performance.MyPerformanceTest"
            results.testId = "test-id"
            results.previousTestIds = []
            results.testProject = "test-project"
            results.tasks = ["build"]
            results.cleanTasks = ["clean"]
            results.args = []
            results.gradleOpts = []
            results.daemon = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top