- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 907 for testUtil (0.14 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) -
tensorflow/cc/framework/testutil.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/cc/framework/testutil.h" #include <utility> #include "tensorflow/cc/client/client_session.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/graph/default_device.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 07 06:52:56 UTC 2017 - 1.8K bytes - Viewed (0) -
tensorflow/cc/framework/testutil.h
Rickard Hallerbäck <******@****.***> 1664984838 +0200
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:47:18 UTC 2022 - 1.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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/ArchivePublishArtifactTest.groovy
a.type == "jar" } def "configures name correctly"() { def noName = testUtil.task(DummyJar) def withArchiveName = testUtil.task(DummyJar) withArchiveName.archiveFileName.set("hey") def withBaseName = testUtil.task(DummyJar) withBaseName.archiveBaseName.set("foo") def withAppendix = testUtil.task(DummyJar) withAppendix.archiveBaseName.set("foo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 3.2K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/jvm/internal/AbstractJvmPluginServicesTest.groovy
@Subject DefaultJvmPluginServices services = new DefaultJvmPluginServices( TestUtil.objectFactory(), TestUtil.providerFactory(), TestUtil.instantiatorFactory().decorateScheme().instantiator(), project ) DefaultJvmLanguageUtilities jvmLanguageUtilities = new DefaultJvmLanguageUtilities( TestUtil.providerFactory(), instanceGenerator, project )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 3.1K 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) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/EclipseModelTest.groovy
def xmlAction = {} as Action<XmlProvider> def facet = TestUtil.newInstance(EclipseWtpFacet, xmlMerger) def component = TestUtil.newInstance(EclipseWtpComponent, project, xmlMerger) model.wtp = TestUtil.newInstance(EclipseWtp) when: "configure wtp" model.wtp({ wtp -> wtp.component = component
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 6.8K bytes - Viewed (0)