Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 242 for Display (0.29 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java

    import org.gradle.api.Describable;
    
    public class Describables {
        private Describables() {
        }
    
        /**
         * Returns a describable that converts the provided value to a string each time the display name is queried. Can pass a {@link Describable} or {@link DisplayName}.
         */
        public static DisplayName of(Object displayName) {
            if (displayName instanceof DisplayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFileCollectionFactoryTest.groovy

            collection.toString() == "file collection"
    
            def tree = collection.asFileTree
            emptyTree(tree)
            tree.toString() == "file tree"
        }
    
        def "constructs empty collection with display name"() {
            expect:
            def collection = FileCollectionFactory.empty("some collection")
            collection.files.empty
            collection.buildDependencies.getDependencies(null).empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy

                        println "display-name: $things.displayName"
                        println "to-string: ${things.toString()}"
                      }
                    }
                  }
                }
            '''
    
            then:
            succeeds "print"
    
            and:
            output.contains "name: things"
            output.contains "display-name: ModelMap<Thing> 'things'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildBuildSrcBuildOperationsIntegrationTest.groovy

        @Requires(value = IntegTestPreconditions.NotConfigCached, reason = "Also covered by tests in configuration cache project")
        def "generates configure, task graph and run tasks operations for buildSrc of included builds with #display"() {
            given:
            dependency 'org.test:buildB:1.0'
            buildB.file("buildSrc/settings.gradle") << """
                ${settings}
            """
    
            when:
            execute(buildA, ":jar", [])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:43:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            instant.stopped > instant.completed1
            instant.stopped > instant.completed2
        }
    
        def cannotStopExecutorFromAnExecutorThread() {
            when:
            def executor = factory.create('<display-name>')
            def action = {
                executor.stop()
            }
            executor.execute(action)
            executor.stop()
    
            then:
            IllegalStateException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                PrintStream ps = new PrintStream(os);
                ps.println(
                        "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage());
                pluginRealm.display(ps);
                Exception wrapper = new PluginContainerException(mojoDescriptor, pluginRealm, os.toString(), e);
                throw new PluginExecutionException(mojoExecution, project, wrapper);
            } catch (LinkageError e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy

                }
    
                def key = new Param<String>(display: 'a')
                def map = [:]
                map[key] = new Param<Number>(display: 12)
    
                tasks.create("thing", MyTask) {
                    prop = $value
                }
            """
    
            when:
            succeeds("thing")
    
            then:
            outputContains("prop = $display")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 15:28:53 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLogging.java

        /**
         * Returns the display granularity of the events to be logged. For example, if set to 0, a method-level event will be displayed as "Test Run &gt; Test Worker x &gt; org.SomeClass &gt; org.someMethod". If
         * set to 2, the same event will be displayed as "org.someClass &gt; org.someMethod". <p>-1 denotes the highest granularity and corresponds to an atomic test.
         *
         * @return the display granularity of the events to be logged
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandlerTest.groovy

            def resource = Stub(TextResource)
            _ * source.className >> scriptClassName
            _ * source.fileName >> scriptFileName
            _ * source.displayName >> "script-display-name"
            _ * source.longDisplayName >> Describables.of("script-display-name")
            _ * source.resource >> resource
            _ * resource.text >> scriptText
            return source
        }
    
        def testCompileScriptToDir() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/plugins/TestSuiteModelIntegrationSpec.groovy

                            doLast {
                                println "sources display name: ${sources.displayName}"
                            }
                        }
                    }
                }
            '''
    
            when:
            succeeds "printSourceDisplayName"
    
            then:
            output.contains "sources display name: Custom source 'main:main'"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top