Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 258 for pouch (0.08 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            readFileQuietly(temp.createDir("dir")).startsWith "Unable to read file"
        }
    
        def "touch creates new empty file"() {
            def foo = temp.file("foo.txt")
    
            when:
            touch(foo)
            then:
            foo.exists()
            foo.length() == 0
            foo.file
        }
    
        def "touch touches existing file"() {
            def foo = temp.file("foo.txt") << "data"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandlerTest.groovy

        def setup() {
            moduleSwiftDeps = tmpDir.file("module.swiftdeps")
            barSource = tmpDir.file("src/bar.swift").touch()
            fooSource = tmpDir.file("src/foo.swift").touch()
            mainSource = tmpDir.file("src/main.swift").touch()
            unknownSource = tmpDir.file("src/unknown.swift").touch()
    
            moduleSwiftDeps << """
    version: "Swift version 4.0.3 (swift-4.0.3-RELEASE)"
    options: "7890c730e32273cd2686f36d1bd976c0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/profile-default-deactivation/pom.xml

                <artifactId>maven-it-plugin-touch</artifactId>
                <version>2.2</version>
              </plugin>
            </plugins>
          </build>
        </profile>
        <profile>
          <id>profile4</id>
          <build>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.its.plugins</groupId>
                <artifactId>maven-it-plugin-touch</artifactId>
                <version>2.1</version>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Nov 09 12:45:14 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy

                spec.ignoreExitValue = true
                spec.executable = "touch"
                spec.workingDir = tmpDir.getTestDirectory()
                spec.args tmpDir.testDirectory.name + "/nonexistentDir/someFile"
            }
    
            then:
            result.exitValue != 0
        }
    
        class SomeMain {
            static void main(String[] args) {
                FileUtils.touch(new File(args[0]))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

                exportedHeaders.srcDirs*.name == ["h3"]
            }
        }
    
        def "creates compile tasks for each non-empty executable source set"() {
            when:
            touch("src/test/$pluginName/file.o")
            touch("src/test/anotherOne/file.o")
            dsl {
                pluginManager.apply pluginClass
                model {
                    components {
                        test(NativeExecutableSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

        void antTargetsAndGradleTasksCanDependOnEachOther() {
            testFile('build.xml') << """
    <project>
        <target name='target1' depends='target2,initialize'>
            <touch file='build/target1.txt'/>
        </target>
        <target name='target2' depends='initialize'>
            <touch file='build/target2.txt'/>
        </target>
    </project>
    """
            testFile('build.gradle') << """
    ant.importBuild(file('build.xml'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. operator/pkg/cache/cache_test.go

    						}, nil, nil),
    						"dont-touch-me-key": object.NewK8sObject(&unstructured.Unstructured{
    							Object: make(map[string]any),
    						}, nil, nil),
    					},
    					Mu: &sync.RWMutex{},
    				},
    			},
    			objCacheRemovalKey: "cache-foo-key",
    			removalKey:         "obj-foo-key",
    			expectedCache: ObjectCache{
    				Cache: map[string]*object.K8sObject{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 20 18:46:12 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java

        boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository);
    
        void touch(Artifact artifact, ArtifactRepository repository, String error);
    
        String getError(Artifact artifact, ArtifactRepository repository);
    
        boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    
        void touch(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy

    import org.junit.Rule
    import spock.lang.Specification
    
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.atomic.AtomicInteger
    
    import static org.apache.commons.io.FileUtils.touch
    
    class DefaultGeneratedGradleJarCacheIntegrationTest extends Specification {
        private final static String CACHE_IDENTIFIER = 'test'
        private final static long JAR_GENERATION_TIME_MS = 2000L
    
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top