- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 592 for test_utils (0.23 sec)
-
platforms/jvm/language-jvm/src/test/groovy/org/gradle/api/plugins/jvm/internal/TestFixturesDependencyModifiersTest.groovy
import org.gradle.api.plugins.jvm.TestFixturesDependencyModifiers import org.gradle.util.TestUtil import spock.lang.Specification class TestFixturesDependencyModifiersTest extends Specification { def "copies given external dependency to select test fixtures"() { def modifier = TestUtil.objectFactory().newInstance(TestFixturesDependencyModifiers.TestFixturesDependencyModifier)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:36:23 UTC 2023 - 4.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/IncubatingAttributesCheckerTest.groovy
container.attribute(Usage.USAGE_ATTRIBUTE, TestUtil.objectFactory().named(Usage, Usage.JAVA_API)) expect: !IncubatingAttributesChecker.isAnyIncubating(container) } def "container with @Incubating attribute is reported"() { def container = new DefaultMutableAttributeContainer(attributesFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 12 14:19:53 UTC 2022 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
from tensorflow.python.framework import ops from tensorflow.python.framework import tensor_shape from tensorflow.python.framework import tensor_spec from tensorflow.python.framework import test_util from tensorflow.python.lib.io import file_io from tensorflow.python.lib.io import tf_record from tensorflow.python.module import module from tensorflow.python.ops import array_ops from tensorflow.python.ops import math_ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterTest.groovy
def fileCollectionFactory = TestFiles.fileCollectionFactory(testDirectory) def copySpec = new DestinationRootCopySpec(resolver, new DefaultCopySpec(fileCollectionFactory, TestUtil.objectFactory(), TestUtil.instantiatorFactory().decorateLenient(), TestFiles.patternSetFactory)) copySpec.with { into "out" from "a", { from "b/b1", { it.eachFile {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 2.7K 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) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/metrics_test.go
// A single fetch should aggregate and increment regeneration counter. if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, formatExpectedMetrics(1), interests...); err != nil { t.Fatal(err) } _, _, _ = fetchPath(manager, "application/json", discoveryPath, "") // Subsequent fetches should not reaggregate discovery.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 09 17:24:02 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/DependencyManagementTestUtil.groovy
} static PreferJavaRuntimeVariant defaultSchema() { return new PreferJavaRuntimeVariant(TestUtil.objectInstantiator()) } static PlatformSupport platformSupport() { return new PlatformSupport(TestUtil.objectInstantiator()) } static ComponentSelectionDescriptorFactory componentSelectionDescriptorFactory() { return new TestComponentDescriptorFactory() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 19:30:18 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/fake_session.h
#include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/public/session.h" namespace mlir { namespace TF { namespace test_util { // FakeSession is for testing only. class FakeSession : public tensorflow::Session { public: FakeSession(); ::tensorflow::Status Create(const tensorflow::GraphDef& graph) override;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompilerTest.groovy
spec.destinationDir = new File("destinationDir") spec.compileOptions = TestUtil.newInstance(CompileOptions.class, TestUtil.objectFactory()) ServiceLookup services = new DefaultServiceRegistry().add(ObjectFactory, TestUtil.objectFactory()) spec.groovyCompileOptions = new MinimalGroovyCompileOptions(TestUtil.instantiatorFactory().decorateLenient(services).newInstance(GroovyCompileOptions.class)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java
@Before public void setUp() { testTask = TestUtil.create(temporaryFolder).task(TestTask.class); conventionAware = new ConventionAwareHelper(testTask, new DefaultConvention(TestUtil.instantiatorFactory().decorateLenient())); } @Test public void canMapPropertiesUsingClosure() { conventionAware.map("list1", TestUtil.toClosure("{ ['a'] }"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0)