Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for testClasspath (0.22 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiClassLoaderProvider.groovy

            def testClassPath = [ToolingApiSpecification, target]
                .collect { ClasspathUtil.getClasspathForClass(it) }
    
            testClassPath.addAll(collectAdditionalClasspath(toolingApi, target))
    
            getTestClassLoader(toolingApi, testClassPath)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 21 09:28:30 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/AbstractTestFrameworkDetector.java

            this.testClassesDirectories = testClassesDirectories;
        }
    
        @Override
        public void setTestClasspath(List<File> testClasspath) {
            this.testClasspath = testClasspath;
        }
    
        private TestClass readClassFile(File testClassFile, Factory<String> fallbackClassNameProvider) {
            final TestClassVisitor classVisitor = createClassVisitor();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

        }
    
        def "providers.javaexec can be used during configuration time"() {
            given:
            def testClasspath = TestJavaMain.classLocation
            def testClass = TestJavaMain.class.name
    
            buildFile """
                def execProvider = providers.javaexec {
                    classpath("${TextUtil.escapeString(testClasspath)}")
                    mainClass = "$testClass"
                    args("--some-arg")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. util/gradle_integration_tests.sh

      (
        cp -r integration-tests "${GRADLE_TEMP}/${version}"
        cd "${GRADLE_TEMP}/${version}/gradle"
        ./gradlew wrapper --gradle-version="${version}"
        ./gradlew testClasspath
      )
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                    jvmArgumentProviders.add(new TestClassPathProvider(testClasspath: sourceSets.test.runtimeClasspath))
                    environment.TEST_ENV_VAR = 'value'
                }
    
                class TestClassPathProvider implements CommandLineArgumentProvider {
                    @Classpath
                    FileCollection testClasspath
    
                    @Override
                    List<String> asArguments() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. integration-tests/gradle/build.gradle.kts

      dependencies {
        "api"("com.google.collections:google-collections:1.0")
        "api"("com.google.guava:listenablefuture:1.0")
        "api"("com.google.guava:guava:$guavaVersion")
      }
    
      tasks.register("testClasspath") {
        doLast {
          val classpathConfiguration =
            if (project.name.contains("RuntimeClasspath")) {
              if (project.name.endsWith("Java")) configurations["runtimeClasspath"]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

                dependencies {
                   implementation project(':utils')
                }
    
                task printTestClasspath {
                    def testClasspath = test.classpath
                    doLast {
                        println testClasspath.collect{ it.name }.join(',')
                    }
                }
    
            '''
            file('utils/build.gradle') << '''
                apply plugin: 'java-library'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

     * The execution classpath, which should include the classes under test as well as the test library that you're using (property: link:{groovyDslPath}/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:classpath[Test.getClasspath()])
    
    When you're using a JVM language plugin — such as the <<java_plugin.adoc#java_plugin,Java Plugin>> — you will automatically get the following:
    
     * A dedicated `test` source set for unit tests
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
Back to top