- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 113 for assertDoesNotExist (0.7 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy
succeeds "compileDebug" result.assertTasksExecuted(tasks.debug.compile, ":compileDebug") objectFiles(lib.sources)*.assertExists() sharedLibrary("build/lib/main/debug/hello").assertDoesNotExist() } @ToBeFixedForConfigurationCache def "build logic can change source layout convention"() { def lib = new CppLib() settingsFile << "rootProject.name = 'hello'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 19.8K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy
ideFileContainsEntry("groovy-${groovyVersion}.jar", ["groovy-${groovyVersion}-sources.jar"], []) } void assertSourcesDirectoryDoesNotExistInDistribution() { gradleDistributionSrcDir().assertDoesNotExist() } private TestFile gradleDistributionSrcDir() { return new TestFile(distribution.gradleHomeDir, "src") } def givenGroovyExistsInGradleRepo() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 20.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy
} """ when: succeeds("javadoc") then: file("build/docs/javadoc/pkg/Foo.html").assertExists() file("build/docs/javadoc/pkg/internal/IFoo.html").assertDoesNotExist() } private TestFile writeSourceFile() { file("src/main/java/Foo.java") << "public class Foo {}" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 21.1K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy
and: module.jar.expectPutBroken(HTTP_UNRECOVERABLE_ERROR) when: fails ':publish' then: module.jarFile.assertExists() module.ivyFile.assertDoesNotExist() } def "retries artifact upload for transient network error"() { given: buildFile << """ apply plugin: 'java' apply plugin: 'ivy-publish'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 21.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy
and: // start as new process so journal is not restored from in-memory cache executer.withTasks("help").start().waitForFinish() then: outputDir1.assertDoesNotExist() outputDir2.assertExists() gcFile.lastModified() >= SECONDS.toMillis(beforeCleanup) } def "cleans up cache when retention is configured less than the default"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 97.8K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy
def myTaskDir = file("external/output").createDir() when: succeeds("myTask") then: dirInBuildDir.assertIsEmptyDir() customFile.assertDoesNotExist() buildFile.assertExists() // We should improve this eventually. We currently don't delete _all_ outputs from every task
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 23K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy
sha1File.assertIsFile() assert HashCode.fromString(sha1File.text) == Hashing.sha1().hashFile(testFile) } void assertNotPublished() { ivyFile.assertDoesNotExist() } void assertIvyAndJarFilePublished() { assertArtifactsPublished(ivyFile.name, jarFile.name) assertPublished() } void assertMetadataAndJarFilePublished() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
file("build/output/file.txt").assertExists() when: succeeds("clean") then: result.assertTasksExecuted(":clean") file("build/output/file.txt").assertDoesNotExist() when: succeeds("customTask") then: result.assertTasksExecuted(":customTask") file("build/output/file.txt").assertExists() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
} public TestFile assertIsDir(String hint) { assertTrue(String.format("%s is not a directory. %s", this, hint), isDirectory()); return this; } public TestFile assertDoesNotExist() { if (exists()) { Set<String> descendants = new TreeSet<>(); if (isFile()) { throw new AssertionError(String.format("%s should not exist", this));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy
} """ expect: succeeds "compileDebug" result.assertTasksExecuted(":compileDebugSwift", ':compileDebug') executable("build/exe/main/debug/App").assertDoesNotExist() objectFiles(app.main)*.assertExists() } def "can use installDirectory as task dependency"() { given: def app = new SwiftApp()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 12:43:37 UTC 2024 - 40.2K bytes - Viewed (0)