Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for verifyContains (0.19 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

                            from(files("missing.toml"))
                        }
                    }
                }
            """
    
            when:
            fails ':help'
    
            then:
            verifyContains(failure.error, missingCatalogFile {
                inCatalog('libs')
                missing(path)
            })
    
            and:
            verifyAll(receivedProblem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                        }
                    }
                }
            """
    
            when:
            fails()
    
            then:
            verifyContains(failure.error, aliasNotFinished {
                inCatalog("libs")
                alias("my.great.lib")
            })
    
            and:
            verifyAll(receivedProblem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/catalog/problems/VersionCatalogErrorMessages.groovy

            String expected = normaliseLineSeparators(rawExpected).replaceAll("(?m)^( +)\n", "\n").trim()
            assert actual == expected
        }
    
        void verifyContains(String rawActual, String rawExpected) {
            String actual = normaliseLineSeparators(rawActual).replaceAll("(?m)^( +)\n", "\n").trim()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 14:11:31 UTC 2023
    - 17.8K bytes
    - Viewed (0)
Back to top