Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for testType (0.17 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            for (stage in model.stages) {
                for (testCoverage in stage.functionalTests) {
                    if (testCoverage.testType !in listOf(TestType.allVersionsCrossVersion, TestType.quickFeedbackCrossVersion, TestType.soak)) {
                        result[testCoverage] = splitBucketsByTestClassesForBuildProject(testCoverage, buildProjectClassTimes)
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 17:04:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicNamedEntityInstantiatorTest.groovy

            []                          | "(None)"
            [TestType]                  | "TestType"
            [TestType, AnotherTestType] | "AnotherTestType, TestType"
        }
    
        def "can create a type for which a factory has been registered"() {
            given:
            instantiator.registerFactory(TestType, { new TestType(value: it) })
    
            expect:
            instantiator.create("foo", TestType).value == "foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/projects/StageProject.kt

                        }
                    )
                )
            }
        }
    
        private
        val TestCoverage.isCrossVersionTest
            get() = testType in setOf(TestType.allVersionsCrossVersion, TestType.quickFeedbackCrossVersion)
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        fun hasTestsOf(testType: TestType) = (unitTests && testType.unitTests) || (functionalTests && testType.functionalTests) || (crossVersionTests && testType.crossVersionTests)
    }
    
    data class Stage(
        val stageName: StageName,
        val specificBuilds: List<SpecificBuild> = emptyList(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/watch/watch_test.go

    	}
    
    	sender := func() {
    		f.Add(testType("foo"))
    		f.Action(Modified, testType("qux"))
    		f.Modify(testType("bar"))
    		f.Delete(testType("bar"))
    		f.Error(testType("error: blah"))
    		f.Stop()
    	}
    
    	go sender()
    	consumer(f)
    }
    
    func TestRaceFreeFake(t *testing.T) {
    	f := NewRaceFreeFake()
    
    	table := []struct {
    		t EventType
    		s testType
    	}{
    		{Added, testType("foo")},
    		{Modified, testType("qux")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 15 11:34:31 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                buckets.forEachIndexed { index: Int, startEndVersion: List<String> ->
                    assertTrue(functionalTests[index].name.contains("(${startEndVersion[0]} <= gradle <${startEndVersion[1]})"))
                    assertEquals("clean ${testType}Test", functionalTests[index].getGradleTasks())
                    assertTrue(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 10:00:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild.integration-tests.gradle.kts

        testJvmXmx.convention("512m")
    }
    
    val sourceSet = addSourceSet(TestType.INTEGRATION)
    addDependenciesAndConfigurations(TestType.INTEGRATION.prefix)
    createTasks(sourceSet, TestType.INTEGRATION)
    configureIde(TestType.INTEGRATION)
    
    createTestTask("integMultiVersionTest", "forking", sourceSet, TestType.INTEGRATION) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 21 22:31:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/openapi/testing/types.go

    type TestType struct {
    }
    
    func (t TestType) GetObjectKind() schema.ObjectKind {
    	return t
    }
    
    func (t TestType) SetGroupVersionKind(kind schema.GroupVersionKind) {
    }
    
    func (t TestType) GroupVersionKind() schema.GroupVersionKind {
    	return schema.GroupVersionKind{
    		Group:   "test",
    		Version: "v1",
    		Kind:    "TestType",
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 07:28:47 UTC 2017
    - 1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/watch/filter_test.go

    func TestFilter(t *testing.T) {
    	table := []Event{
    		{Type: Added, Object: testType("foo")},
    		{Type: Added, Object: testType("bar")},
    		{Type: Added, Object: testType("baz")},
    		{Type: Added, Object: testType("qux")},
    		{Type: Added, Object: testType("zoo")},
    	}
    
    	source := NewFake()
    	filtered := Filter(source, func(e Event) (Event, bool) {
    		return e, e.Object.(testType)[0] != 'b'
    	})
    
    	go func() {
    		for _, item := range table {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 16 11:56:41 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top