Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertFilePresent (0.28 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

             }
         }
    
        /**
         * Asserts that the given service is defined in this jar file.
         */
        def hasService(String serviceName, String serviceImpl) {
            assertFilePresent("META-INF/services/$serviceName", serviceImpl)
        }
    
        /**
         * Asserts that the manifest file is present and first entry in this jar file.
         */
        void assertManifestPresentAndFirstEntry() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy

            assertThat(content(relativePath), contentMatcher)
            this
        }
    
        /**
         * Asserts that there is a file present with the given path and content.
         */
        def assertFilePresent(String relativePath, String fileContent) {
            assertThat(filesByRelativePath.get(relativePath), hasItem(fileContent))
            this
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top