- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for assertContents (0.14 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy
} } """ def manifestFile = file("build/tmp/jar/MANIFEST.MF") def assertCreatedBy = { creator -> manifestFile.assertContents( containsString("Created-By: $creator") ) } when: configurationCacheRun ":jar", "-Dcreator=creator1" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 21.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
throw new AssertionError(String.format("%s should not exist:\n%s", this, String.join("\n", descendants))); } } return this; } public TestFile assertContents(Matcher<String> matcher) { assertThat(getText(), matcher); return this; } public TestFile assertIsCopyOf(TestFile other) { assertIsFile(); other.assertIsFile();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0)