Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 744 for New (0.06 sec)

  1. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

                decoder.readBytes(new byte[4])
            }
    
            then:
            thrown(EOFException)
    
            when:
            decode(bytes) { Decoder decoder ->
                decoder.readBytes(new byte[10], 0, 5)
            }
    
            then:
            thrown(EOFException)
    
            when:
            decode(bytes) { Decoder decoder ->
                decoder.readBytes(new byte[3], 0, 3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy

        GradleModuleMetadata(TestFile file) {
            file.withReader { r ->
                JsonReader reader = new JsonReader(r)
                values = readObject(reader)
            }
            assert values.formatVersion == '1.1'
            assert values.createdBy.gradle.version == GradleVersion.current().version
            variants = (values.variants ?: []).collect { new Variant(it.name, it) }
        }
    
        @Nullable
        CreatedBy getCreatedBy() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

            if (!gradle.isRunning()) {
                throw new UnexpectedBuildFailure("Gradle has exited")
            }
            waitForBuild()
            throwOnBuildFailure()
            result
        }
    
        private void throwOnBuildFailure() {
            if (result instanceof ExecutionFailure) {
                throw new UnexpectedBuildFailure("""build was expected to succeed but failed:
    -- STDOUT --
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

        }
    
        void assumeShouldRun() {
            if (testId == null) {
                throw new IllegalStateException("Test id has not been specified")
            }
            if (testProject == null) {
                throw new IllegalStateException("Test project has not been specified")
            }
            if (workingDir == null) {
                throw new IllegalStateException("Working directory has not been specified")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParserTest.groovy

            metadata.extraAttributes.get(new NamespaceId("http://ant.apache.org/ivy/extra", "someExtra")) == "56576"
    
            metadata.configurationDefinitions.size() == 5
            assertConf("myconf1", "desc 1", true, new String[0])
            assertConf("myconf2", "desc 2", true, new String[0])
            assertConf("myconf3", "desc 3", false, new String[0])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 33.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocatorTest.groovy

                .visualCppVersion(VersionNumber.parse(cppVersion))
                .version(VersionNumber.parse(version))
                .build()
        }
    
        VisualStudioInstallCandidate vs2017Install(File installDir, String version) {
            return new VisualStudioMetadataBuilder()
                .installDir(installDir)
                .visualCppDir(new File(installDir, "VC/Tools/MSVC/1.2.3.4"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

            return "new MemoryUsage(${fromMB(initial)}, ${fromMB(used)}, ${fromMB(used)}, ${fromMB(max)})"
        }
    
        static List<GarbageCollectorUnderTest> getGarbageCollectors() {
            if (JavaVersion.current().isCompatibleWith(VERSION_14)) {
                return [
                    new GarbageCollectorUnderTest(ORACLE_SERIAL9, ORACLE_SERIAL),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

        def testFrameworkMock = Mock(TestFramework)
    
        private FileCollection classpathMock = TestFiles.fixed(new File("classpath"))
        private Test test
    
        def setup() {
            classesDir = temporaryFolder.createDir("classes")
            File classfile = new File(classesDir, "FileTest.class")
            FileUtils.touch(classfile)
            resultsDir = temporaryFolder.createDir("testResults")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            "TransformBackedProvider" | { p, m -> new TransformBackedProvider(null, p, m) }
            "MappingProvider"         | { p, m -> new MappingProvider(Integer, p, m) }
        }
    
        def "runs the side effect when changing provider is filtered with #description and spec is satisfied"() {
            given:
            def sideEffect = Mock(ValueSupplier.SideEffect)
            def counter = new AtomicInteger(23)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

            Set<List<BuildWithSystemPropertyDefined>> containsIncludedBuildDefinitions = new LinkedHashSet<>()
    
            Set<List<BuildWithSystemPropertyDefined>> allDefinitions = [
                new RootBuild() as BuildWithSystemPropertyDefined,
                new BuildSrc(),
                new IncludedBuild("included-build")
            ]
                .subsequences()
                .collect { definitions ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top