- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for testType (0.51 sec)
-
staging/src/k8s.io/apimachinery/pkg/watch/streamwatcher_test.go
err error } func (f *fakeReporter) AsObject(err error) runtime.Object { f.err = err return runtime.Unstructured(nil) } func TestStreamWatcher(t *testing.T) { table := []Event{ {Type: Added, Object: testType("foo")}, } fd := fakeDecoder{items: make(chan Event, 5)} sw := NewStreamWatcher(fd, nil) for _, item := range table { fd.items <- item got, open := <-sw.ResultChan() if !open {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 06 13:42:59 UTC 2021 - 2.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.jvm.JvmTestSuite.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy
def "#type has type variable: #hasTypeVariable"() { expect: JavaPropertyReflectionUtil.hasTypeVariable(type) == hasTypeVariable where: testType << testedTypes type = testType.first hasTypeVariable = testType.second } def "#method.genericReturnType resolves to #expectedResolvedReturnType"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-type/groovy/build.gradle
} version = '1.0.2' group = 'org.gradle.sample' repositories { mavenCentral() } // tag::configure-type[] testing { suites { secondaryTest(JvmTestSuite) { testType = TestSuiteType.INTEGRATION_TEST // <1> } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 918 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/test-suite-configure-type/kotlin/build.gradle.kts
version = "1.0.2" group = "org.gradle.sample" repositories { mavenCentral() } // tag::configure-type[] testing { suites { val secondaryTest by registering(JvmTestSuite::class) { testType = TestSuiteType.INTEGRATION_TEST // <1> } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 939 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go
if e, a := metav1.StatusReasonUnknown, ReasonForError(nil); e != a { t.Errorf("unexpected reason type: %#v", a) } } type TestType struct{} func (obj *TestType) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind } func (obj *TestType) DeepCopyObject() runtime.Object { if obj == nil { return nil } clone := *obj return &clone } func TestFromObject(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 19.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.AggregateTestReport.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
src/internal/reflectlite/all_test.go
} } func TestAll(t *testing.T) { testType(t, 1, TypeOf((int8)(0)), "int8") testType(t, 2, TypeOf((*int8)(nil)).Elem(), "int8") typ := TypeOf((*struct { c chan *int32 d float32 })(nil)) testType(t, 3, typ, "*struct { c chan *int32; d float32 }") etyp := typ.Elem() testType(t, 4, etyp, "struct { c chan *int32; d float32 }") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:26:08 UTC 2023 - 24.2K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoConfigurationCacheIntegrationTest.groovy
plugins { id("jacoco-report-aggregation") } reporting { reports { val testCodeCoverageReport by creating(JacocoCoverageReport::class) { testType = TestSuiteType.UNIT_TEST } } } dependencies { jacocoAggregation(project(":plugin")) } '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 16:53:54 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy
when: def metadata = store.getTypeAnnotationMetadata(TypeWithAnnotations) then: metadata.annotations*.annotationType() == [TestType] } @TestType @Irrelevant interface TypeWithAnnotations {} def "warns about annotations on non-getter methods"() { expect: assertProperties TypeWithAnnotatedNonGetterMethods, [:], [
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 11 15:31:37 UTC 2024 - 25.7K bytes - Viewed (0)