Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for enum_ (0.26 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

                "$language project ($kind)"
            }
    
            BuildLogicChangeFixture fixtureForProjectDir(TestFile projectDir) {
                new BuildLogicChangeFixture(projectDir, language, kind)
            }
        }
    
        enum Language {
            JAVA,
            GROOVY,
            KOTLIN
    
            String getFileExtension() {
                switch (this) {
                    case JAVA:
                        return 'java'
                    case GROOVY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy

            events[firstTaskNodeIndex + 2] == [profile: "build ':' state", type: "O", frame: DefaultTask.name]
    
            where:
            enablement << CCDebugEnablement.values()
        }
    
        enum CCDebugEnablement {
            SYSTEM_PROPERTY,
            GRADLE_PROPERTIES_FILE,
            DEBUG_LOG_LEVEL,
        }
    
        private Collection<Map<String, Object>> collectOutputEvents() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/flow-services/src/integTest/groovy/org/gradle/internal/flow/services/FlowScopeIntegrationTest.groovy

            if (GradleContextualExecuter.configCache) {
                failureDescriptionStartsWith "Configuration cache problems found in this build"
            }
        }
    
        enum ScriptTarget {
            SETTINGS,
            PROJECT;
    
            String getFileName() {
                this == SETTINGS ? 'settings.gradle' : 'build.gradle'
            }
    
            String getTargetType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

                return new SystemPropertiesCompositeBuildFixture(this, test, propertyKey)
            }
        }
    
        enum SystemPropertyAccess {
    
            ROOT_BUILD_SCRIPT{
    
                @Override
                boolean isApplicableToBuild(List<BuildWithSystemPropertyDefined> 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)
  5. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

     */
    
    package org.gradle.workers.fixtures
    
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.gradle.util.internal.TextUtil
    
    class WorkerExecutorFixture {
    
        enum IsolationMode {
            NO_ISOLATION("no"),
            CLASSLOADER_ISOLATION("classLoader"),
            PROCESS_ISOLATION("process");
    
            private final String prefix
    
            IsolationMode(String prefix) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/Type1.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot.impl
    
    enum Type1 {
        ONE {}, TWO {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 694 bytes
    - Viewed (0)
  7. platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy

            then:
            failureDescriptionContains("Problem configuring option 'toolchain-vendor' on task ':updateDaemonJvm' from command line.")
            failureHasCause("Cannot convert string value 'unknown-vendor' to an enum value of type 'org.gradle.internal.jvm.inspection.JvmVendor\$KnownJvmVendor' " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == null
            newIsolatables[1].isolate() == null
        }
    
        def "can serialize/deserialize isolated Enum values"() {
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(EnumType.FOO), isolatableFactory.isolate(EnumType.BAR)]
    
            when:
            serialize(isolatables)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            }
    
            static void createNewFile(File file) {
                file.tap {
                    text = ""
                    setLastModified(newTime)
                }
            }
        }
    
        private static enum DeletionAction {
            EXCEPTION, FAILURE, CONTINUE
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/MissingScriptFixture.groovy

            switch (scriptLanguage) {
                case ScriptLanguage.GROOVY:
                    return 'task ok'
                case ScriptLanguage.KOTLIN:
                    return 'tasks.register("ok")'
            }
        }
    
        enum ScriptLanguage {
    
            GROOVY(".gradle"),
            KOTLIN(".gradle.kts")
    
            final String extension
    
            ScriptLanguage(String extension) {
                this.extension = extension
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top