Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for someLib (0.27 sec)

  1. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsLoaderTest.groovy

        def gradle = Mock(GradleInternal)
        def settings = Mock(SettingsInternal)
        def state = Mock(SettingsState)
        def buildLayout = new BuildLayout(null, FileUtils.canonicalize(new File("someDir")), null, Stub(ScriptFileResolver))
        def buildLayoutFactory = Mock(BuildLayoutFactory)
        def settingsScript = Mock(ScriptSource)
        def startParameter = new StartParameterInternal()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 14 20:50:34 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy

                        def input = inputArtifact.get().asFile
                        println "processing \${input.name} using \${parameters.someDir.get().asFile.name}"
                        def output = outputs.file(input.name + ".green")
                        output.text = input.text + parameters.someDir.get().asFile.list().length + ".green"
                    }
                }
            """
    
            when:
            run(":a:resolve")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryServicesTest.groovy

            when:
            // obtain localhost address ahead of time as the first call in a JVM can take multiple secs in some systems
            def localhost = Inet6Address.getLocalHost()
            def registry = registry("someDir").get(DaemonRegistry)
            5.times { idx ->
                concurrent.start {
                    def context = new DefaultDaemonContext(
                        "$idx",
                        new File("$idx"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

            runEclipseTask """
    apply plugin: "java"
    apply plugin: "eclipse"
    
    repositories {
    	flatDir { dirs "${TextUtil.escapeString(repoDir)}" }
    }
    
    dependencies {
    	implementation "some:lib:1.0"
    }
            """
        }
    
        @Test
        @Issue("GRADLE-1706") // doesn't prove that the issue is fixed because the test also passes with 1.0-milestone-4
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy

                    public MyTask() {
                        getInputs().file("somefile");
                        getInputs().files("afile", "anotherfile");
                        getInputs().dir("someDir");
                        getInputs();
                        getOutputs();
                    }
                }
            """
            builder.buildJar(pluginJar)
    
            buildFile << """
                buildscript {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultProviderFactoryTest.groovy

    class DefaultProviderFactoryTest extends Specification implements ProviderAssertions {
    
        static final PROJECT = ProjectBuilder.builder().build()
        static final File TEST_FILE = PROJECT.file('someDir')
    
        def providerFactory = new DefaultProviderFactory()
    
        def "cannot create provider for null value"() {
            when:
            providerFactory.provider(null)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

            createDirs("a", "b")
            settingsFile << "include 'a', 'b'"
            buildFile << """
                project(':a') {
                    artifacts {
                        compile layout.projectDirectory.dir('someDir')
                    }
                }
                project(':b') {
                    dependencies {
                        compile project(':a')
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. tensorflow/c/env_test.cc

      bool found = false;
      while (TF_StringStreamNext(tempdirs, &tempdir)) {
        found = true;
    
        TF_Status* s = TF_NewStatus();
    
        ::tensorflow::string dirpath =
            ::tensorflow::io::JoinPath(tempdir, "somedir");
        TF_CreateDir(dirpath.c_str(), s);
        ASSERT_TF_OK(s) << "TF_CreateDir failed for " << dirpath << ": "
                        << TF_Message(s);
    
        ::tensorflow::string filepath =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 10 20:52:48 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

        }
    
        @Issue('GRADLE-3511')
        def 'Filename #filename is properly masked when adding it as #antType to an ant task'(String filename, antType) {
            given:
            def dirname = 'somedir$$with'
            def dirAndFile = "${dirname}/${filename}"
            project.file(dirname).mkdir()
            File fileWithDollars = project.file(dirAndFile)
            fileWithDollars << "Some Text"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  10. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy

            e.message == "Could not read <display-name> '$file' as it does not exist." as String
        }
    
        def hasNoContentWhenFileIsADirectory() {
            when:
            TestFile dir = testDir.file('somedir').createDir()
            UriTextResource resource = new UriTextResource('<display-name>', dir, resolver)
    
            then:
            resource.exists
    
            when:
            resource.text
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top