Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertOutputContains (0.13 sec)

  1. 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 =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (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
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top