Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for firstOrNull (0.03 sec)

  1. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                        .mapNotNull {
                            it.getOrDefault(scenario.testProject, emptyList()).firstOrNull { duration ->
                                duration.scenario ==
                                    scenario.scenario
                            }
                        }.firstOrNull()
                        // Fallback for new performance tests (don't use 0 to avoid division by zero)
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 10 02:18:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                null
            } else {
                val testCoverages = model.stages.flatMap { it.functionalTests }
                val foundTestCoverage =
                    testCoverages.firstOrNull {
                        it.testType == TestType.PLATFORM &&
                            it.os == testCoverage.os &&
                            it.arch == testCoverage.arch &&
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top