Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for matchesRegexp (0.12 sec)

  1. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpIntegTest.groovy

    import org.hamcrest.CoreMatchers
    import org.junit.Rule
    import spock.lang.Issue
    
    import static org.gradle.test.matchers.UserAgentMatcher.matchesNameAndVersion
    import static org.gradle.util.Matchers.matchesRegexp
    
    class IvyPublishHttpIntegTest extends AbstractIvyPublishIntegTest {
        private static final int HTTP_UNRECOVERABLE_ERROR = 415
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

    import java.util.regex.Pattern
    
    import static org.gradle.integtests.fixtures.timeout.IntegrationTestTimeout.DEFAULT_TIMEOUT_SECONDS
    import static org.gradle.test.fixtures.dsl.GradleDsl.GROOVY
    import static org.gradle.util.Matchers.matchesRegexp
    import static org.gradle.util.Matchers.normalizedLineSeparators
    
    /**
     * Spockified version of AbstractIntegrationTest.
     *
     * Plan is to bring features over as needed.
     */
    @CleanupTestDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIntegrationTest.groovy

    import org.gradle.test.fixtures.maven.MavenFileRepository
    import org.hamcrest.Matcher
    import spock.lang.Issue
    
    import static org.gradle.util.Matchers.matchesRegexp
    
    class ArtifactTransformIntegrationTest extends AbstractHttpDependencyResolutionTest implements ArtifactTransformTestFixture {
        def setup() {
            createDirs("lib", "app")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 100.8K bytes
    - Viewed (0)
  4. operator/pkg/tpath/tree.go

    func stringsEqual(a, b any) bool {
    	return fmt.Sprint(a) == fmt.Sprint(b)
    }
    
    // matchesRegex reports whether str regex matches pattern.
    func matchesRegex(pattern, str any) bool {
    	match, err := regexp.MatchString(fmt.Sprint(pattern), fmt.Sprint(str))
    	if err != nil {
    		log.Errorf("bad regex expression %s", fmt.Sprint(pattern))
    		return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.5K bytes
    - Viewed (0)
Back to top