Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 387 for Brunner (0.1 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4SuitesIntegrationTest.groovy

        abstract String getTestFrameworkJUnit3Dependencies()
    
        @Override
        String getTestFrameworkSuiteImports() {
            return """
                import org.junit.runner.RunWith;
                import org.junit.runners.Suite;
            """.stripIndent()
        }
    
        @Override
        String getTestFrameworkSuiteAnnotations(String classes) {
            return """
                @RunWith(Suite.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerManualPluginClasspathInjectionIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner
    
    import org.gradle.testkit.runner.fixtures.PluginUnderTest
    
    class GradleRunnerManualPluginClasspathInjectionIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def plugin = new PluginUnderTest(file("plugin"))
    
        /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ArchiveTreePerformanceTest.groovy

        )
        def "visiting zip trees"() {
            given:
            runner.tasksToRun = ['visitZip']
            runner.addBuildMutator { createArchive(it, "archive.zip") { contents, output -> contents.zipTo(output) } }
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:42:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/plugin/groovy/spock/PluginFunctionalTest.groovy.template

            buildFile << """
    plugins {
        id('${pluginId.value}')
    }
    """
    
            when:
            def runner = GradleRunner.create()
            runner.forwardOutput()
            runner.withPluginClasspath()
            runner.withArguments("greeting")
            runner.withProjectDir(projectDir)
            def result = runner.build()
    
            then:
            result.output.contains("Hello from plugin '${pluginId.value}'")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 979 bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/plugin/java/junit/PluginFunctionalTest.java.template

                "  id('${pluginId.value}')" +
                "}");
    
            // Run the build
            GradleRunner runner = GradleRunner.create();
            runner.forwardOutput();
            runner.withPluginClasspath();
            runner.withArguments("greeting");
            runner.withProjectDir(projectDir);
            BuildResult result = runner.build();
    
            // Verify the result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/FileSystemWatchingBuildActionRunnerTest.groovy

        def delegate = Mock(BuildActionRunner)
        def buildAction = Stub(BuildAction)
        def buildOperationProgressEventEmitter = Mock(BuildOperationProgressEventEmitter)
    
        def runner = new FileSystemWatchingBuildActionRunner(
            buildOperationProgressEventEmitter,
            watchingHandler,
            deploymentRegistry,
            Stub(StatStatistics.Collector),
            Stub(FileHasherStatistics.Collector),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/RealWorldNativePluginPerformanceTest.groovy

        def setup() {
            runner.minimumBaseVersion = "4.0"
        }
    
        def "build with #parallelWorkers parallel workers"() {
            given:
            runner.tasksToRun = ['build']
            runner.warmUpRuns = 5
            runner.runs = 10
    
            runner.args += ["-Dorg.gradle.parallel=${parallelWorkers ? true : false}"]
            if (parallelWorkers) {
                runner.args += ["--max-workers=$parallelWorkers".toString()]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/TestRetryPluginSmokeTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.smoketests
    
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.TaskOutcome
    import spock.lang.Issue
    
    class TestRetryPluginSmokeTest extends AbstractSmokeTest {
        def setup() {
            sourceFile()
            testSourceFile()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/kotlinDsl/androidSingleBuild/kotlin/src/androidTest/java/org/gradle/kotlin/dsl/samples/androidstudio/ExampleInstrumentedTest.kt

    package org.gradle.kotlin.dsl.samples.androidstudio
    
    import android.support.test.InstrumentationRegistry
    import android.support.test.runner.AndroidJUnit4
    
    import org.junit.Test
    import org.junit.runner.RunWith
    
    import org.junit.Assert.*
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * See [testing documentation](http://d.android.com/tools/testing).
     */
    @RunWith(AndroidJUnit4::class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AndroidTestProject.groovy

            def version = AGP_VERSIONS.latestStableOrRC
            configureForAgpVersion(runner, version)
            version
        }
    
        private static void configureForAgpVersion(CrossVersionPerformanceTestRunner runner, String agpVersion) {
            runner.args.add("-DagpVersion=${agpVersion}")
    
            def javaVersion = AGP_VERSIONS.getMinimumJavaVersionFor(agpVersion)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top