Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for containsKey (0.2 sec)

  1. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        val testPathToBinaryResultsDirs: Map<String, File>
            get() = parameters.testPathToBinaryResultsDirs.get()
    
        override fun onFinish(event: FinishEvent) {
            if (event is TaskFinishEvent && taskPathReports.containsKey(event.descriptor.taskPath)) {
                val taskPath = event.descriptor.taskPath
                when (event.result) {
                    is TaskSuccessResult -> {
                        addExecutedTaskPath(taskPath)
    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)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

                });
        }
    
        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
                .filter(e -> !second.containsKey(e.getKey()))
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            validSubprojects.forEach {
                if (!subProjectToClassTimes.containsKey(it.name)) {
                    subProjectToClassTimes[it.name] = emptyList()
                }
            }
    
            val subProjectTestClassTimes: List<SubprojectTestClassTime> = subProjectToClassTimes
                .entries
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            String name = jApiMethod.getName();
            if (!pattern.matcher(name).matches()) {
                return false;
            }
            return upgradedMethods.containsKey(AccessorKey.ofOldMethod(jApiMethod));
        }
    
        private static boolean isCurrentGetterOfUpgradedProperty(JApiMethod jApiMethod, Map<AccessorKey, UpgradedProperty> currentMethods) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top