Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 13 of 13 for assertOutputContains (0.51 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy

                def firstResult = gradleRunner('clean', 'getJdk', '-i', '--warning-mode', 'all', '-g', commonGradleUserHome).build()
                // assert the output of an executed transform is shown
                assertOutputContains(firstResult.output, "Unpacking $expectedArchiveName using $transformType")
                // run against up-to-date transformations
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 10.5K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                }]
                            }]
                            """
                    )
                }
            ) {
                assertOutputContains("The following accessors were upgraded, but didn't match any removed/changed method:\n\ncom.example.Task#setSourceCompatibility(Ljava/lang/String;)V")
            }
        }
    
        @Test
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            private
            fun describe(thing: String, desc: String) =
                if (thing == "Field") desc else "com.example.$desc"
        }
    
        fun BuildResult.assertOutputContains(text: String) =
            assertTrue("Output should contain text:\n'$text',\nbut given text was not matched.\n", output.contains(text))
    
        protected
        fun File.withFile(path: String, text: String = ""): File =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
Back to Top