Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setupSpec (0.44 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ArchiveTreePerformanceTest.groovy

    
    class ArchiveTreePerformanceTest extends AbstractCrossVersionPerformanceTest {
        private static TestFile tempDir
        private static TestFile archiveContentsDir
    
        def setupSpec() {
            tempDir = new TestFile("build/tmp/tmp-archive-performance")
            archiveContentsDir = tempDir.file("tmp-archive-contents")
            if (!archiveContentsDir.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:42:52 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/extensions/MultiTestLifecycleSpec.groovy

    @FluidDependenciesResolveTest
    class MultiTestLifecycleSpec extends Specification {
    
        private static final Lifecycle LIFECYCLE = new Lifecycle()
    
        @Rule
        public final SampleRule rule = new SampleRule("myName")
    
        def setupSpec() {
            LIFECYCLE.pushEvent("setup spec")
        }
    
        def cleanupSpec() {
            LIFECYCLE.assertEvents([
                "setup spec",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSoakTest.groovy

                        languageVersion = JavaLanguageVersion.of(${JAVA_VERSION.majorVersion})
                    }
                }
            """
    
        static JdkRepository jdkRepository
    
        static URI uri
    
        def setupSpec() {
            jdkRepository = new JdkRepository(JAVA_VERSION)
            uri = jdkRepository.start()
        }
    
        def cleanupSpec() {
            jdkRepository.stop()
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 16:13:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy

    @Requires(IntegTestPreconditions.JavaHomeWithDifferentVersionAvailable)
    class JavaToolchainDownloadComplexProjectSoakTest extends AbstractIntegrationSpec {
    
        static JdkRepository jdkRepository
    
        static URI uri
    
        def setupSpec() {
            jdkRepository = new JdkRepository(JAVA_VERSION)
            uri = jdkRepository.start()
        }
    
        def cleanupSpec() {
            jdkRepository.stop()
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

        private static final byte[] TEST_STRING_BYTES = TEST_STRING.getBytes('UTF-8')
    
        static byte[] testbuffer = new byte[256 * TESTROUNDS]
    
        @CompileStatic
        def setupSpec() {
            for (int i = 0; i < TESTROUNDS; i++) {
                for (int j = 0; j < 256; j++) {
                    testbuffer[i * 256 + j] = (byte) (j & 0xff)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        def setupSpec() {
            groovyClassLoader = new GroovyClassLoader(getClass().classLoader)
        }
    
        static class TaskWithCustomAnnotation extends DefaultTask {
            @SearchPath
            FileCollection searchPath
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top