Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 763 for New (0.03 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

                    File buildFile
                    File gradleProperties
    
                    def setup() {
                        new File(testProjectDir, 'settings.gradle') << "rootProject.name = 'test'"
                        buildFile = new File(testProjectDir, 'build.gradle')
                        gradleProperties = new File(testProjectDir, 'gradle.properties')
                    }
    
                    def "run Gradle build with Jacoco"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy

                        } catch (IOException e) {
                            throw new RuntimeException(e);
                        }
                    };
            """
        }
    
        private static String anonymousClassWritingFile(String constantName, String outputString) {
            """
                    public static final Action<File> ${constantName} = new Action<File>() {
                        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

            run("merge")
    
            then:
            result.assertTasksNotSkipped()
    
            when:
            file("file-source.txt").text = "new-file1"
            run("merge")
    
            then:
            result.assertTasksExecuted(":createFile", ":merge")
            file("output/merged.txt").text == 'new-file1'
        }
    
        def "can wire an output file from unmanaged nested property of a task as input to another task using property"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

            List<TestFile> files = []
            new SingleIncludePatternFileTree(baseDir, includePattern).visit(new FileVisitor() {
                @Override
                void visitDir(FileVisitDetails dirDetails) {
                }
    
                @Override
                void visitFile(FileVisitDetails fileDetails) {
                    files.add(new TestFile(fileDetails.file))
                }
            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/CustomVersionListerIntegrationTest.groovy

                    void execute(ComponentMetadataListerDetails details) {
                        if (breakBuild) { throw new RuntimeException("oh noes!") }
                    }
                }
            """
            setMetadataListerClassWithParams('BrokenLister', 'project.findProperty(\'breakBuild\')?true:false')
            new SimpleListerInteractions()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            when:
            succeeds "visualStudio"
    
            then:
            final mainSolution = new SolutionFile(file("test.sln"))
            mainSolution.assertHasProjects("helloTestExe", "helloDll", "helloLib",)
    
            and:
            final projectFile = new ProjectFile(file("helloTestExe.vcxproj"))
            projectFile.sourceFiles as Set == [
                "build.gradle",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy

        private final GradleExecuter mostRecentReleaseExecuter = releasedVersionDistributions.mostRecentRelease.executer(temporaryFolder, buildContext)
    
        def cleanup() {
            mostRecentReleaseExecuter.cleanup()
        }
    
        def setup() {
            buildFile << "apply plugin: 'base'\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

        DefaultNamedDomainObjectList<String> container = list
        StringBuffer a = new StringBuffer("a")
        StringBuffer b = new StringBuffer("b")
        StringBuffer c = new StringBuffer("c")
        StringBuilder d = new StringBuilder("d")
        boolean externalProviderAllowed = true
        boolean directElementAdditionAllowed = true
        boolean elementRemovalAllowed = true
        boolean supportsBuildOperations = true
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/tasks/PerformanceTest.groovy

        private final Map<String, String> databaseParameters = new HashMap<>()
    
        @Override
        String getPrefix() {
            "performance"
        }
    
        @OutputDirectory
        File debugArtifactsDirectory = new File(getProject().getBuildDir(), getName())
    
        /************** properties configured by command line arguments ***************/
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 03 03:46:18 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                import org.gradle.api.Task;
    
                public class BrokenTask extends DefaultTask {
                    public BrokenTask() {
                        doFirst(new Action<Task>() {
                            public void execute(Task task) {
                                throw new RuntimeException("broken action");
                            }
                        });
                    }
                }
            """
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top