Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for New (0.08 sec)

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

            return new Snippets() {
                @Override
                String getBody() {
                    return body
                }
    
                @Override
                String getImports() {
                    return imports
                }
            }
        }
    
        static PrintProcessOutput processBuilder() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

            Set<List<BuildWithSystemPropertyDefined>> containsIncludedBuildDefinitions = new LinkedHashSet<>()
    
            Set<List<BuildWithSystemPropertyDefined>> allDefinitions = [
                new RootBuild() as BuildWithSystemPropertyDefined,
                new BuildSrc(),
                new IncludedBuild("included-build")
            ]
                .subsequences()
                .collect { definitions ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                import org.gradle.api.provider.*
    
                abstract class BrokenValueSource implements ValueSource<String, ValueSourceParameters.None>, Describable {
                    @Override String obtain() { throw new RuntimeException("Broken!") }
                    @Override String getDisplayName() { "some name" }
                }
    
                try {
                    providers.of(BrokenValueSource) {}.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

        ) {
            def doc = actualDocument as DeclarativeDocument
            def parsed = ParserKt.parse(expectedDocumentText)
            def languageTree = new DefaultLanguageTreeBuilder().build(
                parsed, new SourceIdentifier("test")
            )
            def expectedDocument = LanguageTreeToDomKt.toDocument(languageTree)
            DataStructuralEqualityKt.structurallyEqualsAsData(doc, expectedDocument)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            def state = Stub(VariantGraphResolveState)
            def metadata = Stub(VariantGraphResolveMetadata)
            state.metadata >> metadata
            def resolveState = Stub(ResolveState)
    
            def newState = new NodeState(idIdx++, Stub(ComponentState), resolveState, state, true)
            // if there are outgoing endorsing edges, also include a normal edge to make sure that it is filtered out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                def output = new ByteArrayOutputStream()
                def error = new ByteArrayOutputStream()
                def args = executer.allArgs
                args.remove("--no-daemon")
    
                model = connection.model(type)
                    .forTasks(tasks)
                    .withArguments(args)
                    .setStandardOutput(new TeeOutputStream(output, System.out))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

    class StartParameterTest extends Specification {
        @Rule private TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        @Rule private SetSystemProperties systemProperties = new SetSystemProperties()
    
        void "new instance has correct state"() {
            def parameter = new StartParameter()
            parameter.settingsFile = 'settingsfile' as File
            parameter.buildFile = 'buildfile' as File
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

            fromString()       | "command.execute(new String[] {'FOOBAR=foobar'}, file('$pwd'))"                       | pwd               | "foobar"
            fromGroovyString() | "command.execute(new String[] {'FOOBAR=foobar'}, file('$pwd'))"                       | pwd               | "foobar"
            fromStringArray()  | "command.execute(new String[] {'FOOBAR=foobar'}, file('$pwd'))"                       | pwd               | "foobar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            def file1 = new File("/src/Person.java")
            def file2 = new File("Computer.java")
            spec.sourceFiles = [file1, file2]
    
            expect:
            builder.build() == defaultOptions
        }
    
        def "generates -sourcepath option"() {
            def file1 = new File("/lib/lib1.jar")
            def file2 = new File("/lib/lib2.jar")
            def fc = [file1, file2]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top