Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 208 for Display (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        public CLIManager() {
            options = new Options();
            options.addOption(Option.builder(Character.toString(HELP))
                    .longOpt("help")
                    .desc("Display help information")
                    .build());
            options.addOption(Option.builder(Character.toString(ALTERNATE_POM_FILE))
                    .longOpt("file")
                    .hasArg()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ModelSetIntegrationTest.groovy

                        println "display-name: $people.displayName"
                        println "to-string: ${people.toString()}"
                      }
                    }
                  }
                }
            '''
    
            then:
            succeeds "printPeople"
    
            and:
            output.contains "name: people"
            output.contains "display-name: ModelSet<Person> 'people'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy

            expect:
            try {
                collection.getSingleFile()
                fail()
            } catch (IllegalStateException e) {
                assertThat(e.getMessage(), equalTo("Expected collection-display-name to contain exactly one file, however, it contains more than one file."))
            }
        }
    
        void failsToGetSingleFileWhenCollectionIsEmpty() {
            TestFileCollection collection = new TestFileCollection()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top