Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for testType (0.29 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/DefaultPublishArtifactTest.groovy

        def "init"() {
            given:
            def task1 = Mock(Task)
            def task2 = Mock(Task)
    
            when:
            def publishArtifact = new DefaultPublishArtifact(testName, testExt, testType,
                    testClassifier, date, testFile, task1, task2)
            then:
            publishArtifact.buildDependencies.getDependencies(null) == [task1, task2] as Set
            assertCommonPropertiesAreSet(publishArtifact, true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 15:34:51 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-code-coverage-standalone/kotlin/code-coverage-report/build.gradle.kts

    dependencies {
        jacocoAggregation(project(":application")) // <.>
    }
    
    // tag::create_report[]
    reporting {
        reports {
            val testCodeCoverageReport by creating(JacocoCoverageReport::class) { // <.>
                testType = TestSuiteType.UNIT_TEST
            }
        }
    }
    // end::create_report[]
    
    tasks.check {
        dependsOn(tasks.named<JacocoReport>("testCodeCoverageReport")) // <.>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 482 bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        private val nameToSubproject = subprojects.map { it.name to it }.toMap()
        override fun getSubprojectsForFunctionalTest(testConfig: TestCoverage) =
            subprojects.filter { it.hasTestsOf(testConfig.testType) }
    
        override fun getSubprojectByName(name: String) = nameToSubproject[name]
    
        private
        fun toSubproject(subproject: Map<String, Any>): GradleSubproject {
            val name = subproject["name"] as String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/AbstractPublishArtifactTest.groovy

        }
    
        protected String getTestType() {
            TEST_TYPE
        }
    
        protected String getTestClassifier() {
            TEST_CLASSIFIER
        }
    
        protected Date getDate() {
            TEST_DATE
        }
    
        protected void assertCommonPropertiesAreSet(PublishArtifact artifact, boolean shouldHaveClassifier) {
            assert testName == artifact.name
            assert testType == artifact.type
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 11:02:13 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-code-coverage-distribution/README.adoc

    Running the tests and generate the report:
    
    [listing.terminal.sample-command]
    ----
    $ ./gradlew testCodeCoverageReport
    
    BUILD SUCCESSFUL
    25 actionable tasks: 25 executed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.jvm.JvmTestSuite.xml

                </tr>
                <tr>
                    <td>sources</td>
                </tr>
                <tr>
                    <td>targets</td>
                </tr>
                <tr>
                    <td>testType</td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.AggregateTestReport.xml

                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>reportTask</td>
                </tr>
                <tr>
                    <td>testType</td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top