Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 763 for New (0.02 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy

            def repo = newRepo()
            def same = newRepo()
            def different = newRepo()
    
            given:
            repo.url = new URI("http://localhost")
            same.url = new URI("http://localhost")
            different.url = new URI("http://localhost/repo")
    
            and:
            _ * fileResolver.resolveUri(_) >> { URI uri -> uri }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  2. 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)
  3. testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy

        @Rule TestNameTestDirectoryProvider workspace = new TestNameTestDirectoryProvider(getClass())
        GradleDistribution distribution = new UnderDevelopmentGradleDistribution()
        @Rule StressHttpServer server = new StressHttpServer()
        @Rule ConcurrentTestUtil concurrent = new ConcurrentTestUtil()
    
        def setup() {
            concurrent.shortTimeout = 180000
        }
    
        def cleanup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy

            0 * client1.stop()
            1 * client2.stop()
        }
    
        def "can stop session-scoped clients"() {
            listenerManager = new DefaultListenerManager(Scope.BuildSession)
            manager = new WorkerDaemonClientsManager(starter, listenerManager, loggingManager, memoryManager, new MBeanOsMemoryInfo(new DefaultMBeanAttributeProvider()))
            def client1 = Mock(WorkerDaemonClient)
            def client2 = Mock(WorkerDaemonClient)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            "T = T"                                         | "MyObject" | 'new MyObject("hello")'                  | "hello"
            "T = Provider<T>"                               | "MyObject" | 'provider { new MyObject("hello") }'     | unsupportedWithCause("Cannot cast object")
            "String = Object"                               | "String"   | 'new MyObject("hello")'                  | "hello"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            expect:
            byteBuffer.readAsByteArray() == testbuffer
        }
    
        def "reads source InputStream fully"() {
            given:
            def byteBuffer = new StreamByteBuffer()
            def byteArrayInputStream = new ByteArrayInputStream(testbuffer)
    
            when:
            byteBuffer.readFully(byteArrayInputStream)
    
            then:
            byteBuffer.totalBytesUnread() == testbuffer.length
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

        }
    
        def "visits content of tree of collections"() {
            def child1 = new TestCollection() {
                @Override
                protected void visitChildren(Consumer<FileCollectionInternal> visitor) {
                    visitor.accept(TestFiles.fileCollectionFactory().fixed(new File("1").absoluteFile))
                }
            }
            def child2 = new TestCollection() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

                    new TestSftpSubsystem(channel, this)
                }
            }))
            sshServer.setCommandFactory(new ScpCommandFactory())
            sshServer.setKeyPairProvider(new GeneratingKeyPairProvider())
    
            if (passwordAuthenticationEnabled) {
                sshServer.setPasswordAuthenticator(new DummyPasswordAuthenticator())
            }
    
            sshServer.setPublickeyAuthenticator(new PublickeyAuthenticator() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

            run "someTask"
    
            then:
            skipped(":someTask")
    
            // Change the values of the property
            when:
            buildFile.replace("[new CustomType('123'), new ScriptType('abc'), pluginValue] as $type", "[new CustomType('abc'), new ScriptType('123'), pluginValue] as $type")
    
            and:
            executer.withArgument("-i")
            run "someTask"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
Back to top