- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 207 for testOut (0.29 sec)
-
platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/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/documentation/docs/src/snippets/testKit/spockQuickstart/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy
package org.gradle.sample // tag::functional-test-spock[] import org.gradle.testkit.runner.GradleRunner import static org.gradle.testkit.runner.TaskOutcome.* import spock.lang.TempDir import spock.lang.Specification class BuildLogicFunctionalTest extends Specification { @TempDir File testProjectDir File settingsFile File buildFile def setup() { settingsFile = new File(testProjectDir, 'settings.gradle')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
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) -
src/math/rand/v2/auto_test.go
) // This test is first, in its own file with an alphabetically early name, // to try to make sure that it runs early. It has the best chance of // detecting deterministic seeding if it's the first test that runs. func TestAuto(t *testing.T) { // Pull out 10 int64s from the global source // and then check that they don't appear in that // order in the deterministic seeded result. var out []int64 for i := 0; i < 10; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:09:26 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/registry/apps/daemonset/storage/storage_test.go
test := genericregistrytest.New(t, storage.Store) test.TestDelete(newValidDaemonSet()) } func TestGet(t *testing.T) { storage, _, server := newStorage(t) defer server.Terminate(t) defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store) test.TestGet(newValidDaemonSet()) } func TestList(t *testing.T) { storage, _, server := newStorage(t) defer server.Terminate(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 5.3K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage_test.go
object.Name = "" return object }, ) } func TestGet(t *testing.T) { storage, server := newInsecureStorage(t) defer server.Terminate(t) defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store).ClusterScope() test.TestGet(validValidatingAdmissionPolicy()) } func TestList(t *testing.T) { storage, server := newInsecureStorage(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 23:43:34 UTC 2023 - 6.9K 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/test/groovy/org/gradle/testkit/runner/internal/DefaultBuildTaskTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.testkit.runner.internal import org.gradle.testkit.runner.TaskOutcome import spock.lang.Specification class DefaultBuildTaskTest extends Specification { def "can create String representation"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/gradle-plugin-in-java/src/functionalTest/java/com/example/plugin/GreetingPluginFunctionalTest.java
package com.example.plugin; import org.gradle.testkit.runner.BuildResult; import org.gradle.testkit.runner.GradleRunner; import org.junit.Test; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.nio.file.Files; import static org.junit.Assert.assertTrue; public class GreetingPluginFunctionalTest { @Test public void canRunTask() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
operator/pkg/util/progress/progress_test.go
package progress import ( "bytes" "io" "testing" "istio.io/istio/operator/pkg/name" ) func TestProgressLog(t *testing.T) { buf := bytes.NewBuffer(nil) testBuf := io.Writer(buf) testWriter = &testBuf expected := "" expect := func(e string) { t.Helper() // In buffer mode we don't overwrite old data, so we are constantly appending to the expected newExpected := expected + "\n" + e
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 2.1K bytes - Viewed (0)