- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for matchesRegexp (0.5 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/RecoverFromBrokenResolutionIntegrationTest.groovy
import org.gradle.test.fixtures.server.http.MavenHttpModule import org.gradle.test.fixtures.server.http.MavenHttpRepository import org.hamcrest.CoreMatchers import static org.gradle.util.Matchers.matchesRegexp @IntegrationTestTimeout(120) class RecoverFromBrokenResolutionIntegrationTest extends AbstractHttpDependencyResolutionTest { MavenHttpRepository repo MavenHttpModule module
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java
ScriptSource source = forFile(scriptFile); assertThat(source.getClassName(), matchesRegexp("build_[0-9a-z]+")); } @Test public void generatesClassNameFromFileNameByRemovingExtensionAndAddingHashOfJarURL() throws Exception { ScriptSource source = forUri(createJar()); assertThat(source.getClassName(), matchesRegexp("build_[0-9a-z]+")); } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:04:05 UTC 2023 - 12K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
import org.gradle.process.ExecOperations import spock.lang.Issue import java.util.concurrent.atomic.AtomicInteger import static org.gradle.util.Matchers.matchesRegexp import static org.hamcrest.Matchers.containsString class ArtifactTransformValuesInjectionIntegrationTest extends AbstractDependencyResolutionTest implements ArtifactTransformTestFixture, ValidationMessageChecker {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 11:12:24 UTC 2023 - 37.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
import java.util.stream.Stream import static org.gradle.initialization.IGradlePropertiesLoader.ENV_PROJECT_PROPERTIES_PREFIX import static org.gradle.util.Matchers.containsLine import static org.gradle.util.Matchers.matchesRegexp class ConfigurationCacheEncryptionIntegrationTest extends AbstractConfigurationCacheIntegrationTest { TestFile keyStoreDir String encryptionKeyText String encryptionKeyAsBase64 def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13K bytes - Viewed (0) -
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) -
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) -
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)