Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 907 for testUtil (0.19 sec)

  1. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientHelperSSLTest.groovy

            then:
            Exception exception = thrown()
            // exact exception depends on JDK version
            TestUtil.isOrIsCausedBy(exception, UnrecoverableKeyException.class) or(
                TestUtil.isOrIsCausedBy(exception, SSLHandshakeException.class) or(
                    TestUtil.isOrIsCausedBy(exception, IOException.class)))
        }
    
        def "valid truststore file without specifying password"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 05:29:07 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/DefaultLocallyAvailableResourceTest.groovy

            given:
            def origin = tmpDir.file("origin")
            origin << "some text"
    
            when:
            def resource = new DefaultLocallyAvailableResource(origin, TestUtil.checksumService)
    
            then:
            resource.sha1 == TestUtil.checksumService.sha1(origin)
            resource.contentLength == origin.length()
            resource.lastModified == origin.lastModified()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/internal/DefaultNativeTestSuiteBinarySpecTest.groovy

    import org.gradle.util.TestUtil
    import org.gradle.util.UsesNativeServices
    import org.junit.Rule
    import spock.lang.Specification
    
    @UsesNativeServices
    class DefaultNativeTestSuiteBinarySpecTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        final def testUtil = TestUtil.create(testDir)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/TasksFromDependentProjectsTest.groovy

    import org.gradle.util.TestUtil
    
    class TasksFromDependentProjectsTest extends AbstractProjectBuilderSpec {
    
        def context = Mock(TaskDependencyResolveContext)
        def root = TestUtil.create(temporaryFolder).rootProject()
        def child1 = TestUtil.createChildProject(root, "child1")
        def child2 = TestUtil.createChildProject(root, "child2")
        def child3 = TestUtil.createChildProject(root, "child3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top