Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assumeSwiftCompilerSupportsLanguageVersion (1.06 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestComponentWithTestedComponentIntegrationTest.groovy

            given:
            assumeSwiftCompilerSupportsLanguageVersion(componentSourceCompatibility)
            assumeSwiftCompilerSupportsLanguageVersion(xctestSourceCompatibility)
            makeSingleProject()
            fixture.writeToProject(testDirectory)
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/AbstractXcodeSwiftWithXCTestProjectIntegrationTest.groovy

            given:
            // TODO: Generating the Xcode files for incompatible source compatibility shouldn't fail the build
            //   Thus, we should be able to remove the assumption below.
            assumeSwiftCompilerSupportsLanguageVersion(componentSourceCompatibility)
            fixture.writeToProject(testDirectory)
            makeSingleProject()
            settingsFile << "rootProject.name = '${fixture.projectName}'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/AbstractXcodeSwiftProjectIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "take specified Swift source compatibility (#sourceCompatibility) regardless of the selected Swift compiler"() {
            given:
            assumeSwiftCompilerSupportsLanguageVersion(sourceCompatibility)
            settingsFile << "rootProject.name = '${fixture.projectName}'"
            makeSingleProject()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/AbstractXcodeIntegrationSpec.groovy

            assumeTrue(toolChain.version.major == swiftVersion.version)
        }
    
        // TODO: Use @RequiresInstalledToolChain instead once Xcode test are sorted out
        void assumeSwiftCompilerSupportsLanguageVersion(SwiftVersion swiftVersion) {
            assert toolChain != null, "You need to specify Swift tool chain requirement with 'requireSwiftToolChain()'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 11.7K bytes
    - Viewed (0)
Back to top