Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertUrlContent (0.12 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/UrlValidator.groovy

         */
        static void assertUrlContent(URL url, String contents) {
            assert TextUtil.normaliseLineSeparators(url.text) == TextUtil.normaliseLineSeparators(contents)
        }
    
        /**
         * Asserts that the content at the specified url matches the content in the specified File
         */
        static void assertUrlContent(URL url, File file) {
            assertUrlContent(url, file.text)
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/RunningPlayApp.groovy

            notAvailable(playUrl(path).toString())
        }
    
        void verifyContent() {
            // Check all static assets from the shared content
            assertUrlContent playUrl("assets/stylesheets/main.css"), testDirectory.file("public/stylesheets/main.css")
            assertUrlContent playUrl("assets/javascripts/hello.js"), testDirectory.file("public/javascripts/hello.js")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top