- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 224 for testInit (0.27 sec)
-
src/log/slog/internal/benchmarks/benchmarks_test.go
slog.Duration("duration", testDuration), slog.Time("time", testTime), slog.Any("error", testError), slog.String("string", testString), slog.Int("status", testInt), slog.Duration("duration", testDuration), slog.Time("time", testTime), slog.Any("error", testError), slog.String("string", testString), slog.Int("status", testInt),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/cmd/flag_test.go
func TestInitializeIntFlag(t *testing.T) { cmd := &cobra.Command{} var testInt int flag.IntVar(&testInt, "testint", defaultInt, "test int flag") AddFlags(cmd) testName := "Initialize int Flag" if !flag.Parsed() { t.Errorf("%s: flag.Parsed() returns false, should be true", testName) } cmd.Flags().VisitAll(func(f *pflag.Flag) { if f.Name != "testint" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 3.4K 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) -
src/context/context_test.go
// If your test does requires access to unexported members of the context package, // add your test below as `func XTestFoo(t testingT)` and add a `TestFoo` to x_test.go // that calls it. Otherwise, write a regular test in a test.go file in package context_test. import ( "time" ) type testingT interface { Deadline() (time.Time, bool) Error(args ...any) Errorf(format string, args ...any) Fail() FailNow()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 19:13:01 UTC 2023 - 7.7K bytes - Viewed (0) -
src/go/types/api_test.go
typ := inst.Inst.Type testInst := test.instances[ii] if got := inst.Ident.Name; got != testInst.name { t.Fatalf("got name %s, want %s", got, testInst.name) } if len(targs) != len(testInst.targs) { t.Fatalf("got %d type arguments; want %d", len(targs), len(testInst.targs)) } for i, targ := range targs { if got := targ.String(); got != testInst.targs[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K 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/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarType.java
* limitations under the License. */ package org.gradle.api.internal.runtimeshaded; public enum RuntimeShadedJarType { API("api"), TEST_KIT("test-kit"); private final String identifier; RuntimeShadedJarType(String identifier) { this.identifier = identifier; } public String getIdentifier() { return identifier;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 944 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)