Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for V2 (0.15 sec)

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

            checkBinaryCompatibleKotlin(
                v1 = existingSource,
                v2 = internalSource
            ).assertEmptyReport()
        }
    
        @Test
        fun `existing internal members made public appear as added`() {
    
            checkNotBinaryCompatibleKotlin(
                v1 = internalSource,
                v2 = publicSource
            ).apply {
                assertHasErrors(
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                        }
                        project(":v2") {
                            version = "2.0"
                        }
                    """
                )
                withDirectory("v1/src/main").v1()
                withDirectory("v2/src/main").v2()
                val sourceRoots = if (File(withDirectory("v2/src/main"), "java").exists()) {
                    "v2/src/main/java"
                } else {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                        public String nonFinalField = "some";
                        public final String finalField = "some";
                        public String foo() { return "bar"; }
                    }
                """,
                v2 = """
                    public class Source {
                        @Nullable public String nonFinalField = null;
                        @Nullable public final String finalField = null;
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  4. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val googleHttpClient = "com.google.http-client:google-http-client"
        val googleHttpClientGson = "com.google.http-client:google-http-client-gson"
        val googleHttpClientApacheV2 = "com.google.http-client:google-http-client-apache-v2"
        val googleOauthClient = "com.google.oauth-client:google-oauth-client"
        val gradleIdeStarter = "org.gradle.buildtool.internal:gradle-ide-starter:$gradleIdeStarterVersion"
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

                    interface Source {
                        infix fun String.plus(some: List<Int>): String
                        operator fun Int.plus(some: List<Int>): Int
                    }
                """,
                v2 = """
                    fun Int.invoke(some: Int) {}
                    operator fun Boolean.invoke(some: Int) {}
    
                    operator fun String.invoke(some: Int) {}
                    fun Long.invoke(some: Int) {}
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

            checkBinaryCompatibleJava(
                v1 = """
                    public class Source {
                        public void some() {}
                    }
                """,
                v2 = """
                    public class Source {
                        public void some() {
                            Runnable anon = new Runnable() {
                                @Override
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                                public void setSourceCompatibility(String value) {
                                }
                            }
                        """
                    )
                },
                v2 = {
                    withFile(
                        "java/com/example/Task.java",
                        """
                            package com.example;
                            import org.gradle.api.provider.Property;
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            operator fun String.invoke(p: String, block: String.() -> Unit) = Unit
    
        """
    
        @Test
        fun `new top-level kotlin members`() {
    
            checkNotBinaryCompatibleKotlin(
                v2 = """
    
               $publicKotlinMembers
    
                const val cathedral = "cathedral"
    
                """
            ) {
    
                assertHasNoInformation()
                assertHasNoWarning()
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top