Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for runTaskWithFailure (0.35 sec)

  1. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/JavaConventionPluginTest.groovy

                import java.util.*;
    
                class Foo {
                    void bar() {
                    }
                }
            """
    
            when:
            def result = runTaskWithFailure('build')
    
            then:
            result.task(":checkstyleMain").outcome == TaskOutcome.FAILED
            result.output.contains('Checkstyle rule violations were found.')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/LibraryPluginTest.groovy

            new File(testProjectDir, 'build/test-repo/com/myorg/my-library/0.1.0/my-library-0.1.0.jar').exists()
        }
    
        def "fails when no README exists"() {
            when:
            def result = runTaskWithFailure('check')
    
            then:
            result.task(":readmeCheck").outcome == TaskOutcome.FAILED
        }
    
        def "fails when README does not have API section"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/LibraryPluginTest.kt

            assertTrue(File(testProjectDir.getRoot(), "build/test-repo/com/example/my-library/0.1.0/my-library-0.1.0.jar").exists())
        }
    
        @Test
        fun `fails when no README exists`() {
            val result = runTaskWithFailure ("check")
    
            assertEquals(TaskOutcome.FAILED, result.task(":readmeCheck")?.outcome)
        }
    
        @Test
        fun `fails when README does not have API section`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/src/test/groovy/com/example/LibraryPluginTest.groovy

            new File(testProjectDir, 'build/test-repo/com/example/my-library/0.1.0/my-library-0.1.0.jar').exists()
        }
    
        def "fails when no README exists"() {
            when:
            def result = runTaskWithFailure('check')
    
            then:
            result.task(":readmeCheck").outcome == TaskOutcome.FAILED
        }
    
        def "fails when README does not have API section"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt

                package com.myorg;
    
                import java.util.*;
    
                class Foo {
                    void bar() {
                    }
                }
            """)
    
            val result = runTaskWithFailure("build")
    
            assertEquals(TaskOutcome.FAILED, result.task(":checkstyleMain")?.outcome)
            assertTrue(result.output.contains("Checkstyle rule violations were found."))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt

            assertTrue(File(testProjectDir.getRoot(), "build/test-repo/com/myorg/my-library/0.1.0/my-library-0.1.0.jar").exists())
        }
    
        @Test
        fun `fails when no README exists`() {
            val result = runTaskWithFailure ("check")
    
            assertEquals(TaskOutcome.FAILED, result.task(":readmeCheck")?.outcome)
        }
    
        @Test
        fun `fails when README does not have API section`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/LibraryPluginTest.kt

            assertTrue(File(testProjectDir.getRoot(), "build/test-repo/com/myorg/my-library/0.1.0/my-library-0.1.0.jar").exists())
        }
    
        @Test
        fun `fails when no README exists`() {
            val result = runTaskWithFailure ("check")
    
            assertEquals(TaskOutcome.FAILED, result.task(":readmeCheck")?.outcome)
        }
    
        @Test
        fun `fails when README does not have API section`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/ServicePluginTest.groovy

            when:
            def result = runTaskWithFailure('check')
    
            then:
            result.task(":readmeCheck").outcome == TaskOutcome.FAILED
        }
    
        def "fails when README does not have service API section"() {
            given:
            new File(testProjectDir, 'README.md') << """
    asdfadfsasf
            """
    
            when:
            def result = runTaskWithFailure('check')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/ServicePluginTest.groovy

            when:
            def result = runTaskWithFailure('check')
    
            then:
            result.task(":readmeCheck").outcome == TaskOutcome.FAILED
        }
    
        def "fails when README does not have service API section"() {
            given:
            new File(testProjectDir, 'README.md') << """
    asdfadfsasf
            """
    
            when:
            def result = runTaskWithFailure('check')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/LibraryPluginTest.groovy

            new File(testProjectDir, 'build/test-repo/com/myorg/my-library/0.1.0/my-library-0.1.0.jar').exists()
        }
    
        def "fails when no README exists"() {
            when:
            def result = runTaskWithFailure('check')
    
            then:
            result.task(":readmeCheck").outcome == TaskOutcome.FAILED
        }
    
        def "fails when README does not have API section"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top