Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for DoSomething (0.17 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                    @OutputFiles
                    FileCollection getOutputFiles() {
                        throw new RuntimeException('BOOM!')
                    }
    
                    @TaskAction
                    void doSomething() {
                        println "Executing broken task..."
                    }
                }
    
                task brokenTask(type: BrokenTask)
                aPing.finalizedBy brokenTask
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          tester.testConstructor(constructor);
        }
      }
    
      private interface Foo<T> {
        void doSomething(T bar, Integer baz);
      }
    
      private static class StringFoo implements Foo<String> {
    
        @Override
        public void doSomething(String bar, Integer baz) {
          checkNotNull(bar);
          checkNotNull(baz);
        }
      }
    
      public void testBridgeMethodIgnored() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                    public Foo() {
                        getInputs().property("a", null).optional(true);
                    }
    
                    @TaskAction
                    public void doSomething() {}
                }
            """
    
            buildFile << """
                task foo(type: Foo)
            """
    
            expect:
            succeeds "foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

                class CheckDeps extends DefaultTask {
                    @InputFiles
                    final ConfigurableFileCollection input = project.objects.fileCollection()
    
                    @TaskAction
                    void doSomething() {
                        println input.files.name
                    }
                }
            """
    
            when:
            lib.pom.expectGet()
            lib.artifact.expectGet()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top