Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 432 for testproject (0.17 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDependencyResolveIntegrationTest.groovy

    @RequiredFeature(feature = GradleMetadataResolveRunner.REPOSITORY_TYPE, value = "maven")
    class MavenDependencyResolveIntegrationTest extends AbstractModuleDependencyResolveTest {
    
        String getRootProjectName() { 'testproject' }
    
        def "dependency includes main artifact and runtime dependencies of referenced module"() {
            given:
            repository {
                'org.gradle:other:preview-1'()
                'org.gradle:test:1.45' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestScenarioSelector.java

     *
     * This is used as a workaround for not being able to add a test filter for unrolled Spock tests.
     */
    public class TestScenarioSelector {
        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 + "'");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/AndroidPerformanceTestFixture.groovy

            // which fails when the test project is non-incremental.
            runner.assumeShouldRun()
            AndroidTestProject.projectFor(runner.testProject)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r24/BuildInvocationsCrossVersionSpec.groovy

        def "set task selector description taken from task with path that has lowest ordering"() {
            temporaryFolder.createFile('settings.gradle') << '''
              rootProject.name = 'TestProject'
              include 'sub'
            '''
    
            temporaryFolder.createFile('build.gradle') << '''
              task alpha {
                description = 'ALPHA from root project'
              }
              task beta {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/WithExternalRepository.groovy

    @CompileStatic
    trait WithExternalRepository {
        Server server
        int serverPort
    
        File getRepoDir() {
            new File(TestProjectLocator.findProjectDir(runner.testProject), 'repository')
        }
    
        abstract CrossVersionPerformanceTestRunner getRunner()
    
        WebAppContext createContext() {
            def context = new WebAppContext()
            context.setContextPath("/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossVersionPerformanceResults.groovy

        @Override
        String toString() {
            return displayName
        }
    
        String getDisplayName() {
            def displayName = "Results for test project '$testProject' with tasks ${tasks.join(', ')}"
            if (cleanTasks) {
                displayName += ", cleaned with ${cleanTasks.join(', ')}"
            }
            return displayName
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/LazyAttributesIntegrationTest.groovy

    class LazyAttributesIntegrationTest extends AbstractIntegrationSpec {
        def "properties used as attribute values are read lazily"() {
            settingsFile << "rootProject.name = 'TestProject'"
    
            buildFile << """
                plugins {
                    id 'java'
                }
    
                Property<String> sampleProperty = project.objects.property(String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy

            def iterations = determineIterations()
            runner.warmUpRuns = iterations
            runner.runs = iterations
        }
    
        private determineIterations() {
            return runner.testProject == LARGE_MONOLITHIC_JAVA_PROJECT.projectName ? 200 : 40
        }
    
        private static void forEachEclipseProject(def elm, @DelegatesTo(value = EclipseProject) Closure<?> action) {
            action.delegate = elm
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestExecutionTest.groovy

    import org.gradle.performance.results.CrossVersionPerformanceResults
    
    class CrossVersionPerformanceTestExecutionTest extends ResultSpecification {
        def result = new CrossVersionPerformanceResults(testProject: "some-project", tasks: [], cleanTasks: [])
    
        def "passes when average execution time for current release is smaller than average execution time for previous releases"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy

            resolve.addDefaultVariantDerivationStrategy()
            resolve.expectDefaultConfiguration("runtime")
            createDirs("child1", "child2")
            settingsFile << """
                rootProject.name = 'testproject'
                include 'child1', 'child2'
            """
            buildFile << """
                allprojects {
                    repositories {
                        maven { url '${mavenRepo.uri}' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top