Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AbstractBinaryCompatibilityTest (0.09 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class AnonymousClassesFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `anonymous classes are excluded (java)`() {
    
            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    class JSpecifyNullUnmarkedChangesTest : AbstractBinaryCompatibilityTest() {
    
        private val nullableAnnotationName = "org.jspecify.annotations.Nullable"
        private val nullUnmarkedAnnotationName = "org.jspecify.annotations.NullUnmarked"
    
        @Test
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractJavaNullabilityChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    abstract class AbstractJavaNullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        protected abstract val nullableAnnotationName: String
    
        @Test
        fun `from non-null returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleJava(
                v1 = """
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 04 09:55:47 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class KotlinModifiersChangeTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `operator or infix modifier change is breaking`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = """
                    fun Int.invoke(some: Int) {}
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

     * limitations under the License.
     */
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class KotlinNullabilityChangesTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `from non-null returning to null returning is breaking`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = """
                    class Source {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 04 09:55:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

    import org.intellij.lang.annotations.Language
    import org.junit.Test
    
    
    /**
     * Asserts Kotlin `internal` members are filtered from the comparison.
     */
    class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() {
    
        @Language("kotlin")
        private
        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
            internal var bazar = "bazar"
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top