Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 188 for ToSet (0.04 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractSymbolByReferenceTest.kt

            // The reference may be from another file, so we need to allow all main test files
            return testServices.ktTestModuleStructure.allMainKtFiles.toSet()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractPackageScopeTest.kt

            // Package scope tests may collect symbols from multiple files, so we need to allow all main test files.
            return testServices.ktTestModuleStructure.allMainKtFiles.toSet()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or deactivate certain projects and optionally fail the
     * build if those projects do not exist.
     */
    public class ProjectActivation {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/quota/v1/resources_test.go

    			},
    			expected: []corev1.ResourceName{corev1.ResourceMemory, corev1.ResourceCPU},
    		},
    	}
    	for testName, testCase := range testCases {
    		actualSet := ToSet(ResourceNames(testCase.a))
    		expectedSet := ToSet(testCase.expected)
    		if !actualSet.Equal(expectedSet) {
    			t.Errorf("%s expected: %v, actual: %v", testName, expectedSet, actualSet)
    		}
    	}
    }
    
    func TestContains(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 01:57:38 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

            configureTask()
            test.include("include")
            test.exclude("exclude")
            def classFiles = test.getCandidateClassFiles()
    
            expect:
            assertIsDirectoryTree(classFiles, toSet("include"), toSet("exclude"))
        }
    
        def "disables parallel execution when in debug mode"() {
            given:
            configureTask()
    
            when:
            test.setDebug(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  6. build-logic/build.gradle.kts

            val rootProperties = readProperties(rootPropertiesFile.asFile)
            val jvmArgs = listOf(buildLogicProperties, rootProperties).map { it.getProperty("org.gradle.jvmargs") }.toSet()
            if (jvmArgs.size > 1) {
                throw GradleException("gradle.properties and build-logic/gradle.properties have different org.gradle.jvmargs " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 02:52:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/OsXInstallationSupplier.java

        }
    
        @Override
        public Set<InstallationLocation> get() {
            if (os.isMacOsX()) {
                return javaHomeCommand.findJavaHomes().stream().map(this::asInstallation).collect(Collectors.toSet());
            }
            return Collections.emptySet();
        }
    
        private InstallationLocation asInstallation(File javaHome) {
            return InstallationLocation.autoDetected(javaHome, getSourceName());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/BuildActionCompatibilityMappingCrossVersionSpec.groovy

                include 'b'
            """
    
            when:
            def gradleBuild = withConnection {
                action(new FetchGradleBuild()).run()
            }
            then:
            gradleBuild.projects*.projectIdentifier.toSet().size() == 3
        }
    
        def "Applies BuildInvocations compatibility mapping"() {
            when:
            def buildInvocations = withConnection {
                action(new FetchBuildInvocations()).run()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt

     * preferred.
     */
    class RouteDatabase {
      private val _failedRoutes = mutableSetOf<Route>()
    
      val failedRoutes: Set<Route>
        @Synchronized get() = _failedRoutes.toSet()
    
      /** Records a failure connecting to [failedRoute]. */
      @Synchronized fun failed(failedRoute: Route) {
        _failedRoutes.add(failedRoute)
      }
    
      /** Records success connecting to [route]. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/tasks/AbstractCopyTaskTest.groovy

            given:
            projectDir.file("include") << "bar"
    
            when:
            task.from projectDir.absolutePath
            task.include "include"
    
            then:
            task.mainSpec.getIncludes() == ["include"].toSet()
            task.mainSpec.buildRootResolver().source.files == task.project.fileTree(projectDir).files
        }
    
        static class TestCopyTask extends AbstractCopyTask {
            CopyAction copyAction
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 14 12:40:35 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top