Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for TestResources (0.49 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestResources.java

     */
    public class TestResources implements MethodRule {
        private final Logger logger = LoggerFactory.getLogger(TestResources.class);
        private final TestDirectoryProvider testWorkDirProvider;
        private final Collection<String> extraResources;
        private final Resources resources;
    
        public TestResources(TestDirectoryProvider testDirectoryProvider, String... extraResources) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/integTest/groovy/org/gradle/api/internal/tasks/testing/JULRedirectorIntegrationTest.groovy

            "He sleeps all night and he works all day."
        ]
        @Rule TestResources testResources = new TestResources(temporaryFolder)
    
        /* Relies on the resources directory:
         * integTest/resources/org/gradle/api/internal/tasks/testing/loggingConfig
         */
        def defaultLoggingConfigNoFineLevel() {
            given:
            testResources.maybeCopy('JULRedirectorIntegrationTest/loggingConfig')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

        }
    
        test {
            java { srcDirs = ['testSources'] }
            resources { srcDirs = ['testResources'] }
        }
    
    }
    '''
    
            projectDir.create {
                mainSources {}
                mainResources {}
                fooSources {}
                fooResources {}
                testSources {}
                testResources {}
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest.groovy

     */
    package org.gradle.compile.daemon
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.TestResources
    import org.junit.Rule
    
    class ParallelCompilerDaemonIntegrationTest extends AbstractIntegrationSpec {
        @Rule TestResources resources = new TestResources(temporaryFolder)
    
        def "daemon compiler can handle --parallel"() {
            generateProjects(10, 10, 10)
    
            args("--parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/resources/org/apache/maven/model/pom-4.0.0.xml

          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>${project.basedir}/src/test/resources</directory>
          </testResource>
          <testResource>
            <directory>${project.basedir}/src/test/resources-filtered</directory>
            <filtering>true</filtering>
          </testResource>
        </testResources>
      </build>
    
      <reporting>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

    abstract class BasicZincScalaCompilerIntegrationTest extends MultiVersionIntegrationSpec {
        @Rule
        TestResources testResources = new TestResources(temporaryFolder)
    
        def setup() {
            args("-PscalaVersion=$version")
            buildFile << buildScript()
            executer.withRepositoryMirrors()
        }
    
        def compileGoodCode() {
            goodCode()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

    import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache.Skip.INVESTIGATE
    
    @TestReproducibleArchives
    class TextResourceIntegrationTest extends AbstractIntegrationSpec {
        @Rule
        TestResources resource = new TestResources(temporaryFolder)
    
        @Rule
        public final HttpServer server = new HttpServer()
    
        def "string backed text resource"() {
            when:
            run("stringText")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/resources/org/apache/maven/model/pom-4.1.0.xml

          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>${project.basedir}/src/test/resources</directory>
          </testResource>
          <testResource>
            <directory>${project.basedir}/src/test/resources-filtered</directory>
            <filtering>true</filtering>
          </testResource>
        </testResources>
      </build>
    
      <reporting>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

      val client: OkHttpClient = OkHttpClient(),
    ) {
      private val resources = projectRoot / "okhttp/src/main/resources/okhttp3/internal/publicsuffix"
      private val testResources = projectRoot / "okhttp/src/test/resources/okhttp3/internal/publicsuffix"
      private val publicSuffixListDotDat = testResources / "public_suffix_list.dat"
      private val outputFile = resources / PUBLIC_SUFFIX_RESOURCE
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpsIntegrationTest.groovy

        @Rule
        BlockingHttpsServer server = new BlockingHttpsServer()
        @Rule
        TestProxyServer proxyServer = new TestProxyServer()
        @Rule
        TestResources resources = new TestResources(temporaryFolder)
        TestKeyStore keyStore
    
        def setup() {
            keyStore = TestKeyStore.init(resources.dir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top