- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for assertHasNotChangedSince (0.57 sec)
-
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy
changedGrammar("Test2") then: succeeds("generateGrammarSource") test1TokenFile.assertHasNotChangedSince(test1TokensFileSnapshot) test1LexerFile.assertHasNotChangedSince(test1LexerFileSnapshot) test1ParserFile.assertHasNotChangedSince(test1ParserFileSnapshot) test2TokenFile.assertHasChangedSince(test2TokensFileSnapshot)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/IncrementalJavaProjectBuildIntegrationTest.groovy
TestFile jar = file("build/libs/project.jar"); jar.assertIsFile(); TestFile.Snapshot snapshot = jar.snapshot(); executer.withTasks("jar").run(); jar.assertHasNotChangedSince(snapshot); sleep 1000 // Some filesystems (ext3) have one-second granularity for lastModified, so bump the time to ensure we can detect a regenerated file
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/IncrementalGroovyProjectBuildIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/CacheProjectIntegrationTest.groovy
createLargeBuildScript() testBuild("hello1", "Hello 1") TestFile.Snapshot classFileSnapshot = classFile.snapshot() testBuild("hello2", "Hello 2") classFile.assertHasNotChangedSince(classFileSnapshot) modifyLargeBuildScript() testBuild("newTask", "I am new") classFile.assertHasChangedSince(classFileSnapshot) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy
file('build/reports').maybeDeleteDir() // delete configuration cache report if present file('build').assertHasDescendants('projectA-1.1.jar') jarFile.assertHasNotChangedSince(snapshot) when: "Server handles requests" server.resetExpectations() // Server will be hit to get updated versions module.ivy.expectHead()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeTest.java
TestFile.Snapshot snapshot = file.snapshot(); assertVisits(tree, toList("file.txt"), Collections.<String>emptyList()); file.assertContents(equalTo("content")); file.assertHasNotChangedSince(snapshot); } @Test public void overwritesFileWhenGeneratedContentChanges() { final MutableReference<String> currentContentReference = MutableReference.of("content");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcLocationIntegrationTest.groovy
// Expected } """ succeeds("help") then: // The original buildSrc jar remains intact, but is not added to the build class path originalBuildSrcJar.assertHasNotChangedSince(originalBuildSrcJarState) notExecuted(":buildSrc:jar") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 09 12:02:33 UTC 2022 - 3.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java
contentFile.makeOlder(); TestFile.Snapshot snapshot = contentFile.snapshot(); assertVisits(getTree(), toList("file1.txt"), new ArrayList<>()); contentFile.assertHasNotChangedSince(snapshot); } @Test public void visitsContentsOfArchiveFile() { rootDir.file("subdir/file1.txt").write("content"); rootDir.file("subdir2/file2.txt").write("content");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy
executer.withArguments('--offline') run 'retrieve' then: file('libs').assertHasDescendants('unique-1.0-SNAPSHOT.jar') file('libs/unique-1.0-SNAPSHOT.jar').assertHasNotChangedSince(snapshot) } void "does not attempt to contact server when run with offline flag"() { def resolve = new ResolveFailureTestFixture(buildFile) given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/CachedDependencyResolutionIntegrationTest.groovy
module.ivy.expectGet() module.jar.expectHead() module.jar.expectGet() } void unchangedResolve() { resolve() downloaded.assertHasNotChangedSince(lastState) } void changedResolve() { resolve() downloaded.assertHasChangedSince(lastState) } void change() { module.publishWithChangedContent()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.7K bytes - Viewed (0)