- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 211 for traits (0.18 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/archive/impl/ZipFileFixture.groovy
*/ package org.gradle.api.internal.file.archive.impl import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import java.util.zip.ZipEntry import java.util.zip.ZipOutputStream trait ZipFileFixture { static final String ZIP_ENTRY_CONTENT = "foo" static byte[] readAllBytes(InputStream is) { ByteArrayOutputStream baos = new ByteArrayOutputStream() int b = is.read()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/vintage/JUnitVintageMultiVersionTest.groovy
import org.gradle.testing.fixture.AbstractTestingMultiVersionIntegrationTest import org.gradle.testing.junit.junit4.JUnit4CommonTestSources import static org.gradle.testing.fixture.JUnitCoverage.* trait JUnitVintageMultiVersionTest extends JUnit4CommonTestSources { AbstractTestingMultiVersionIntegrationTest.BuildScriptConfiguration getBuildScriptConfiguration() { return new JUnitVintageBuildScriptConfiguration() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/DirectoryBuildCacheFixture.groovy
*/ package org.gradle.integtests.fixtures import groovy.transform.SelfType import org.gradle.test.fixtures.file.TestFile import org.junit.Before @SelfType(AbstractIntegrationSpec) trait DirectoryBuildCacheFixture { private TestBuildCache buildCache @Before void setupCacheDirectory() { // Make sure cache dir is empty for every test execution
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/cache/CachingIntegrationFixture.groovy
import org.gradle.test.fixtures.file.TestFile import org.gradle.util.GradleVersion import static org.gradle.cache.internal.scopes.DefaultCacheScopeMapping.GLOBAL_CACHE_DIR_NAME @SelfType(AbstractIntegrationSpec) trait CachingIntegrationFixture { TestFile getUserHomeCacheDir() { return executer.gradleUserHomeDir.file(GLOBAL_CACHE_DIR_NAME) } TestFile getGradleVersionedCacheDir() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/KotlinPluginImplementation.groovy
* limitations under the License. */ package org.gradle.internal.cc.impl.inputs.undeclared import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.test.fixtures.file.TestFile trait KotlinPluginImplementation { void kotlinPlugin(TestFile sourceFile, BuildInputRead read) { sourceFile << """ import ${Project.name} import ${Plugin.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/IncrementalCompileMultiProjectTestFixture.groovy
import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.integtests.fixtures.CompiledLanguage import org.gradle.test.fixtures.file.TestFile @SelfType(AbstractIntegrationSpec) trait IncrementalCompileMultiProjectTestFixture { TestFile libraryAppProjectWithIncrementalCompilation(CompiledLanguage language = CompiledLanguage.JAVA) { multiProjectBuild('incremental', ['library', 'app'], language) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/support/RepositoryDslSupport.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.integtests.resolve.support trait RepositoryDslSupport { def url = "http://somerepo" def s3Url = "s3://somerepo" def simplestDsl() { """ repositories { maven { url "${url}"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PluginDslSupport.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.integtests.resolve trait PluginDslSupport { void withPlugin(String id) { withPlugins([(id): null]) } void withPluginAlias(String alias) { withPlugins([:], [(alias): null]) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/WithRuleBasedTasks.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.execution.taskgraph trait WithRuleBasedTasks { String ruleBasedTasks() { """ class EchoTask extends DefaultTask { @Internal String message = "default" @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 13 15:22:15 UTC 2019 - 1.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CommonTestSources.groovy
*/ package org.gradle.testing.junit.junit4 import org.gradle.testing.fixture.AbstractTestingMultiVersionIntegrationTest import static org.gradle.util.internal.VersionNumber.* trait JUnit4CommonTestSources { static class JUnit4TestSourceConfiguration implements AbstractTestingMultiVersionIntegrationTest.TestSourceConfiguration { String version
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.5K bytes - Viewed (0)