- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for containsLine (0.33 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java
} }; } public static boolean containsLine(String action, String expected) { return containsLine(action, equalTo(expected)); } public static boolean containsLine(String actual, Matcher<? super String> matcher) { BufferedReader reader = new BufferedReader(new StringReader(actual)); String line;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy
file("build/reports/pmd/test.xml"). assertContents(containsClass("org.gradle.Class1Test")). assertContents(containsLine(containsString('AvoidMultipleUnaryOperators'))). assertContents(not(containsLine(containsString('OverrideBothEqualsAndHashcode')))) } def "gets reasonable message when priority level threshold is out of range from extension"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:47:00 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginAuxclasspathIntegrationTest.groovy
*/ package org.gradle.api.plugins.quality.pmd import org.gradle.util.internal.VersionNumber import org.hamcrest.Matcher import org.junit.Assume import static org.gradle.util.Matchers.containsLine import static org.gradle.util.Matchers.containsText import static org.hamcrest.CoreMatchers.containsString class PmdPluginAuxclasspathIntegrationTest extends AbstractPmdPluginVersionIntegrationTest {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:47:00 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginMultiProjectTest.groovy
import org.gradle.integtests.fixtures.configurationcache.isolated.IsolatedProjectsExecuterFixture import org.gradle.test.fixtures.file.TestFile import org.hamcrest.Matcher import static org.gradle.util.Matchers.containsLine import static org.gradle.util.internal.TextUtil.getPlatformLineSeparator import static org.hamcrest.CoreMatchers.containsString
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 13:39:06 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
import java.nio.file.Path import java.security.KeyStore 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
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/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MultiProjectJvmApplicationInitIntegrationTest.groovy
import static org.gradle.buildinit.plugins.internal.modifiers.Language.KOTLIN import static org.gradle.buildinit.plugins.internal.modifiers.Language.SCALA import static org.gradle.util.Matchers.containsLine import static org.gradle.util.Matchers.containsText import static org.hamcrest.core.AllOf.allOf abstract class AbstractMultiProjectJvmApplicationInitIntegrationTest extends AbstractJvmLibraryInitIntegrationSpec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 03:26:38 UTC 2024 - 16.6K bytes - Viewed (0) -
internal/etag/etag.go
// It contains the encrypted ETag value + an authentication // code generated by the AEAD cipher. // // Here is an incorrect implementation of IsEncrypted: // // return len(e) > 16 && !bytes.ContainsRune(e, '-') // // An encrypted ETag may contain some random bytes - e.g. // and nonce value. This nonce value may contain a '-' // just by its nature of being randomly generated.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
src/strings/strings.go
} // ContainsAny reports whether any Unicode code points in chars are within s. func ContainsAny(s, chars string) bool { return IndexAny(s, chars) >= 0 } // ContainsRune reports whether the Unicode code point r is within s. func ContainsRune(s string, r rune) bool { return IndexRune(s, r) >= 0 } // ContainsFunc reports whether any Unicode code points r within s satisfy f(r).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:48:16 UTC 2024 - 31.2K bytes - Viewed (0) -
src/testing/fstest/testfs.go
for _, d := range list { if strings.ContainsRune(d.Name(), c) { have = true } else { haveNot = true } } if have && haveNot { break } } if c > 'z' { c = 'a' } glob += "*" + string(c) + "*" var want []string for _, d := range list { if strings.ContainsRune(d.Name(), c) { want = append(want, path.Join(dir, d.Name())) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
internal/hash/checksum.go
func NewChecksumWithType(alg ChecksumType, value string) *Checksum { if !alg.IsSet() { return nil } wantParts := 0 if strings.ContainsRune(value, '-') { valSplit := strings.Split(value, "-") if len(valSplit) != 2 { return nil } value = valSplit[0] nParts, err := strconv.Atoi(valSplit[1]) if err != nil { return nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 08 16:18:34 UTC 2024 - 12.6K bytes - Viewed (0)