Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for IsEmpty (0.16 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasNoWarning() {
                assertTrue("Has no warning (${richReport.warnings})", richReport.warnings.isEmpty())
            }
    
            fun assertHasNoInformation() {
                assertTrue("Has no information (${richReport.information})", richReport.information.isEmpty())
            }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    ) {
        /**
         * Type usage is raw if type has no type parameters or if usage has no type arguments.
         */
        internal
        val isRaw: Boolean
            get() = type?.typeParameters?.isEmpty() != false || typeArguments.isEmpty()
    }
    
    
    enum class Variance {
    
        /**
         * Represent an invariant type argument.
         * e.g. `<T>`
         */
        INVARIANT,
    
        /**
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            if (!typeDeclaration.isPublic()) {
                return;
            }
            ClassMetaData outerClass = classStack.isEmpty() ? null : getCurrentClass();
            String baseName = typeDeclaration.getNameAsString();
            String className = outerClass == null ? packageName + '.' + baseName : outerClass.getClassName() + '.' + baseName;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Sep 21 13:27:02 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = gradleProperty(MAX_TEST_DISTRIBUTION_LOCAL_EXECUTORS).orNull?.toInt()
    
    val Project.flakyTestStrategy: FlakyTestStrategy
        get() = gradleProperty(FLAKY_TEST).let {
            if (it.getOrElse("").isEmpty()) {
                return FlakyTestStrategy.INCLUDE
            } else {
                return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly())
            }
        }
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

         * @param destZip the target zip file
         * @param srcFiles the mapping of relative path to the file
         */
        private
        fun zip(destZip: File, srcFiles: List<Pair<String, File>>) {
            if (srcFiles.isEmpty()) {
                return
            }
            destZip.parentFile.mkdirs()
            ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty()
            }
            assertFalse(subProjectFolders.isEmpty())
            return subProjectFolders
        }
    
        @Test
        fun allSubprojectsAreListed() {
            val knownSubprojectDirs = model.subprojects.subprojects.map { File("../", it.path) }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            ConfigurableFileCollection newArchives = getNewArchives();
            List<JApiCmpWorkerAction.Archive> baseline = !oldArchives.isEmpty() ? toArchives(oldArchives) : inferArchives(getOldClasspath());
            List<JApiCmpWorkerAction.Archive> current = !newArchives.isEmpty() ? toArchives(newArchives) : inferArchives(getNewClasspath());
            execForNewGradle(baseline, current);
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 13.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

        }
    
        private void adjustAccessorComment(DocCommentImpl docComment) {
            // Replace 'Returns the ...'/'Sets the ...' with 'The ...'
            List<Element> nodes = docComment.getDocbook();
            if (nodes.isEmpty()) {
                return;
            }
    
            Element firstNode = nodes.get(0);
            if (!firstNode.getNodeName().equals("para") || !(firstNode.getFirstChild() instanceof Text)) {
                return;
            }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

        }
    
        private
        fun assertLeftoverFilesCleanedUpEventually(vararg leftoverFiles: String) {
            leftoverFiles.forEach {
                assertTrue(projectDir.resolve(it).walk().filter { it.isFile }.toList().isEmpty())
            }
        }
    
        @Test
        fun `fail build if leftover file found and test passes`() {
            val result = run(":successful-test-with-leftover:test", "--no-watch-fs").buildAndFail()
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 14 12:35:52 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            }
        }
    }
    
    private
    fun prepareScenariosStep(testProject: String, scenarios: List<Scenario>, os: Os): BuildSteps.() -> Unit {
        if (scenarios.isEmpty()) {
            throw IllegalArgumentException("Scenarios list must not be empty for $testProject")
        }
        val csvLines = scenarios.map { "${it.className};${it.scenario}" }
        val action = "include"
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Feb 19 11:22:56 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top