- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 355 for testUtil (0.21 sec)
-
src/test/java/org/codelibs/core/TestUtil.java
*/ package org.codelibs.core; import static org.hamcrest.CoreMatchers.is; import org.hamcrest.CoreMatchers; import org.hamcrest.Matcher; /** * @author koichik */ public abstract class TestUtil { /** * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。 * * <pre>assertThat(clazz, is(Xxx.class));</pre> * <p>
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy
static FeaturePreviews featurePreviews() { return new FeaturePreviews() } static TestUtil create(File rootDir, File userHomeDir = null) { return new TestUtil(rootDir, userHomeDir) } static TestUtil create(TestDirectoryProvider testDirectoryProvider) { return new TestUtil(testDirectoryProvider.testDirectory) } <T extends Task> T task(Class<T> type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TestUtil.java
import com.google.common.collect.Iterators; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Set; /** Utility methods used in various common.graph tests. */ final class TestUtil { static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph"; static final String ERROR_NODE_NOT_IN_GRAPH = "Should not be allowed to pass a node that is not an element of the graph.";
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 3.9K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
pods: []corev1.Pod{ *testutil.NewPod("pod1", "node1"), *addToleration(testutil.NewPod("pod2", "node1"), 1, 1), *addToleration(testutil.NewPod("pod3", "node1"), 1, -1), }, oldNode: testutil.NewNode("node1"), newNode: addTaintsToNode(testutil.NewNode("node1"), "testTaint1", "taint1", []int{1}), expectedDeleteTimes: durationSlice{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc
absl::StatusOr<int> failed() { return absl::StatusOr<int>(absl::InternalError("fail")); } TEST(TestUtil, MatchesOk) { ASSERT_THAT(success(), IsOkOrFiltered()); } TEST(TestUtil, DoesntMatchesFailure) { ASSERT_THAT(failed(), Not(IsOkOrFiltered())); } TEST(TestUtil, MatchesFiltered) { ASSERT_THAT(filtered(), IsOkOrFiltered()); } TEST(TestUtil, IncrementsOk) { CellReader<int64_t> reader(kMetric);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/cc/BUILD
srcs = ["framework/test_op.cc"], linkstatic = 1, deps = ["//tensorflow/core:framework"], alwayslink = 1, ) cc_library( name = "testutil", testonly = 1, srcs = ["framework/testutil.cc"], hdrs = ["framework/testutil.h"], deps = [ ":client_session", ":ops", ":scope", "//tensorflow/core:core_cpu", "//tensorflow/core:lib_internal",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 27 18:00:18 UTC 2024 - 23.5K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/range_allocator_test.go
"k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/pkg/controller/nodeipam/ipam/test" "k8s.io/kubernetes/pkg/controller/testutil" "k8s.io/kubernetes/test/utils/ktesting" netutils "k8s.io/utils/net" ) type testCase struct { description string fakeNodeHandler *testutil.FakeNodeHandler allocatorParams CIDRAllocatorParams // key is index of the cidr allocated expectedAllocatedCIDR map[int]string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 25.2K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller_test.go
healthyNodeNewStatus, }, expectedInitialStates: map[string]ZoneState{ testutil.CreateZoneID("region1", "zone1"): stateFullDisruption, testutil.CreateZoneID("region1", "zone2"): stateFullDisruption, }, expectedFollowingStates: map[string]ZoneState{ testutil.CreateZoneID("region1", "zone1"): stateFullDisruption, testutil.CreateZoneID("region1", "zone2"): stateNormal, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 03:26:45 UTC 2024 - 119K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/ValueSourceBasedSpec.groovy
def valueSourceProviderFactory = new DefaultValueSourceProviderFactory( listenerManager, TestUtil.instantiatorFactory(), isolatableFactory, Mock(GradleProperties), TestUtil.calculatedValueContainerFactory(), execOperations, TestUtil.services() )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:24 UTC 2024 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go
*/ package metrics import ( "context" "strings" "testing" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/component-base/metrics/legacyregistry" "k8s.io/component-base/metrics/testutil" ) func TestRecordAuthorizationDecisionsTotal(t *testing.T) { prefix := `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 3.3K bytes - Viewed (0)