- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for TestNode (0.14 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelNodeInternalTest.groovy
def "should have zero executed rules initially"() { expect: new TestNode(registration).getExecutedRules().size() == 0 } def "should record executed rules when notify fired #fireCount time(s)"() { def descriptor = Mock(ModelRuleDescriptor) ModelNodeInternal modelNode = new TestNode(registration) def executionBinder = Mock(RuleBinder) executionBinder.isBound() >> true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy
protected static class TestNode extends ModelNodeInternal { def links = [] TestNode(String creationPath, Class<?> type) { super(null, ModelRegistrations.of(ModelPath.path(creationPath)).descriptor("test").build()) addProjection(new UnmanagedModelProjection(ModelType.of(type))) } TestNode(ModelRegistration registration) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.3K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
valid := CNIPluginAddEvent{ Netns: "/var/netns/foo", PodName: "pod-bingo", PodNamespace: "funkyns", IPs: []IPConfig{{ Address: *addr, }}, } setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy
0 * listener1.onDiscovered(_) 0 * listener2.onDiscovered(_) } def node(String path, Class<?> type = String, State state = State.Discovered) { def node = new TestNode(path, type) node.setState(state) return node } def root() { return node("", Void, State.Created) } private ModelListener allAcceptingListener() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/ResolvedGeneratedJarsIntegrationTest.groovy
} @ToBeFixedForConfigurationCache(because = "testkit jar generated eagerly") def "gradle testkit jar is generated only when requested"() { setup: testCode() def version = distribution.version.version def generatedJarsDirectory = "user-home/caches/$version/generated-gradle-jars" when: succeeds("classes") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
/** * Validates which environment is used by the IDE. */ class PlatformRuleTest { @RegisterExtension @JvmField val platform = PlatformRule() @Test fun testMode() { println(PlatformRule.getPlatformSystemProperty()) println(Platform.get().javaClass.simpleName) } @Test fun testGreenCase() { } @Test fun testGreenCaseFailingOnLater() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.3K bytes - Viewed (0) -
operator/pkg/helmreconciler/common.go
// istioVersionLabelStr indicates the Istio version of the installation. istioVersionLabelStr = name.OperatorAPINamespace + "/version" ) var ( // TestMode sets the controller into test mode. Used for unit tests to bypass things like waiting on resources. TestMode = false scope = log.RegisterScope("installer", "installer") ) func init() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/ssa_test.go
t.Skip("not run in short mode.") } runGenTest(t, "flowgraph_generator1.go", "ssa_fg_tmp1") } // TestCode runs all the tests in the testdata directory as subtests. // These tests are special because we want to run them with different // compiler flags set (and thus they can't just be _test.go files in // this directory). func TestCode(t *testing.T) { testenv.MustHaveGoBuild(t) gotool := testenv.GoToolPath(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/BaseGradleImplDepsTestCodeIntegrationTest.groovy
import org.gradle.api.Plugin; public class MyPlugin implements Plugin<Project> { public void apply(Project p) {} } """ } protected TestFile testCode() { file("src/test/java/org/acme/BaseTestPluginTest.java") << """ package org.acme; import org.gradle.testkit.runner.GradleRunner; import org.junit.Test;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1.6K bytes - Viewed (0)