- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 234 for testSkip (0.15 sec)
-
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
} public void testReadArrayRange() throws IOException { assertEquals(3, counter.read(new byte[10], 1, 3)); assertEquals(3, counter.getCount()); } public void testSkip() throws IOException { assertEquals(10, counter.skip(10)); assertEquals(10, counter.getCount()); } public void testSkipEOF() throws IOException { assertEquals(20, counter.skip(30));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc
== Using TestKit To use the TestKit, include the following in your plugin's build: .Declaring the TestKit dependency ==== include::sample[dir="snippets/testKit/junitQuickstart/kotlin",files="build.gradle.kts[tags=declare-gradle-testkit-dependency]"] include::sample[dir="snippets/testKit/junitQuickstart/groovy",files="build.gradle[tags=declare-gradle-testkit-dependency]"] ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 05:36:09 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_skip.txt
Tobias Klauser <******@****.***> 1692106362 +0200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 17:40:22 UTC 2023 - 755 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/testing_gradle_plugins.adoc
`GradleRunner` is an API provided by TestKit, which internally uses the Tooling API to execute the build. The following example applies the plugin to the build script under test, configures the extension and executes the build with the task `verifyUrl`. Please see the <<test_kit.adoc#test_kit,TestKit documentation>> to get more familiar with the functionality of TestKit. .UrlVerifierPluginFunctionalTest.groovy [source,groovy]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 22:49:20 UTC 2024 - 16K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/core-plugins/java_gradle_plugin.adoc
The plugin also integrates with <<test_kit.adoc#test_kit,TestKit>>, a library that aids in writing and executing functional tests for plugin code. It automatically adds the `gradleTestKit()` dependency to the `testImplementation` configuration and generates a plugin classpath manifest file consumed by a `GradleRunner` instance if found.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java
* for your test by adding the `--watch-fs` command line argument via {@link #withArguments(String...)}. * <p> * Please see the Gradle <a href="https://docs.gradle.org/current/userguide/test_kit.html" target="_top">TestKit</a> User Manual chapter for more information. * * @since 2.6 */ public abstract class GradleRunner { /** * Creates a new Gradle runner. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 19.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy
@Requires(IntegTestPreconditions.NotEmbeddedExecutor) // Gradle API and TestKit JARs are not generated when running embedded class GradleImplDepsCompatibilityIntegrationTest extends BaseGradleImplDepsIntegrationTest { def "TestKit dependency artifacts contain Gradle API artifact"() { given: buildFile << """ configurations { gradleApi testKit } dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerSamplesEndUserIntegrationTest.groovy
*/ package org.gradle.testkit.runner.enduser import org.gradle.integtests.fixtures.Sample import org.gradle.integtests.fixtures.UsesSample import org.gradle.test.precondition.Requires import org.gradle.test.preconditions.IntegTestPreconditions import org.gradle.test.preconditions.UnitTestPreconditions import org.gradle.testing.internal.util.RetryUtil import org.gradle.testkit.runner.fixtures.NoDebug
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/FeatureCheckBuildResult.java
* limitations under the License. */ package org.gradle.testkit.runner.internal; import org.gradle.testkit.runner.BuildResult; import org.gradle.testkit.runner.BuildTask; import org.gradle.testkit.runner.TaskOutcome; import org.gradle.testkit.runner.internal.feature.BuildResultOutputFeatureCheck; import org.gradle.testkit.runner.internal.feature.FeatureCheck; import javax.annotation.Nullable;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCrossGroovyVersionIntegrationTest.groovy
testKitDaemons(GradleVersion.version("6.8.3")).killAll() } def "old TestKit can run build with current Gradle"() { given: def targetingGradle7Test = """ import spock.lang.Specification import org.junit.Rule import org.junit.rules.TemporaryFolder import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome import org.gradle.util.VersionNumber
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.8K bytes - Viewed (0)