- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 248 for testLib (0.1 sec)
-
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/feature/BuildResultOutputFeatureCheck.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.testkit.runner.internal.feature; import org.gradle.internal.deprecation.DeprecationLogger; import org.gradle.testkit.runner.UnsupportedFeatureException; import org.gradle.util.GradleVersion;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 14:27:21 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/functionalTest/groovy/org/myorg/UrlVerifierPluginFunctionalTest.groovy
package org.myorg import org.gradle.testkit.runner.GradleRunner import spock.lang.Specification import spock.lang.TempDir import static org.gradle.testkit.runner.TaskOutcome.SUCCESS class UrlVerifierPluginFunctionalTest extends Specification { @TempDir File testProjectDir File buildFile def setup() { buildFile = new File(testProjectDir, 'build.gradle') buildFile << """ plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy
private static final int CONCURRENT_BUILDS_PROJECT_COUNT = 4 private static final int CONCURRENT_TASKS_PROJECT_COUNT = 4 def "Gradle API and TestKit dependency can be resolved and used by concurrent Gradle builds"() { given: setupProjects(CONCURRENT_BUILDS_PROJECT_COUNT) { projectDirName, buildFile -> buildFile << testablePluginProject()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerSupportedBuildJvmIntegrationTest.groovy
import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import org.gradle.testkit.runner.fixtures.NoDebug import org.gradle.testkit.runner.fixtures.NonCrossVersion import org.gradle.tooling.GradleConnectionException import org.gradle.util.GradleVersion import spock.lang.Issue @NonCrossVersion
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/javadoc/JavadocTest.groovy
import org.gradle.test.fixtures.AbstractProjectBuilderSpec import org.gradle.util.TestUtil class JavadocTest extends AbstractProjectBuilderSpec { def testDir = temporaryFolder.getTestDirectory() def destDir = new File(testDir, "dest") def srcDir = new File(testDir, "srcdir") def configurationMock = TestFiles.fixed(new File("classpath")) def tool = Mock(JavadocToolAdapter) Javadoc task def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy
TestFile testFile TestFile testFileLock TestFile testDir TestFile testDirLock List<Closeable> openedLocks = [] def setup() { testFile = tmpDir.createFile("state.bin") testFileLock = tmpDir.file(testFile.name + ".lock") testDir = tmpDir.createDir("lockable-dir") testDirLock = tmpDir.file("${testDir.name}/${testDir.name}.lock") metaDataProvider.processIdentifier >> '123'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 13.6K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/PosixFilePermissionConverter.java
} if (isSet(mode, 01)) { result.add(OTHERS_EXECUTE); } return result; } private static boolean isSet(int mode, int testbit) { return (mode & testbit) == testbit; } public static int convertToInt(Set<PosixFilePermission> permissions) { int result = 0; if (permissions.contains(OWNER_READ)) { result = result | 0400;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/plugin/java/junit/PluginFunctionalTest.java.template
${fileComment.multilineComment}${packageDecl.javaStatement} import java.io.File; import java.io.IOException; import java.io.Writer; import java.io.FileWriter; import java.nio.file.Files; import org.gradle.testkit.runner.GradleRunner; import org.gradle.testkit.runner.BuildResult; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir; import static org.junit.jupiter.api.Assertions.*; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuterTest.groovy
@UsesNativeServices class AbstractGradleExecuterTest extends Specification { @Rule public final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()); def gradleDistribution = Mock(GradleDistribution) AbstractGradleExecuter executer = new AbstractGradleExecuter(gradleDistribution, testDir) { @Override protected ExecutionResult doRun() { return null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccCompatibleNativeCompilerTest.groovy
} def "arguments include GCC output flag and output file name"() { given: def compiler = getCompiler() def testDir = tmpDirProvider.testDirectory def outputFile = testDir.file("output.ext") when: def args = compiler.getOutputArgs(Stub(NativeCompileSpec), outputFile) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.6K bytes - Viewed (0)