- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for withFeatureDisabled (0.44 sec)
-
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithLibraryAndOptionalFeature.groovy
AppElement withFeatureEnabled() { return new SwiftMainWithOptionalFeature(library.withFeatureEnabled()).withFeatureEnabled() } AppElement withFeatureDisabled() { return application.withFeatureDisabled() }
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 1.4K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithOptionalFeature.groovy
final main = new SwiftMainWithOptionalFeature(greeter.withFeatureDisabled()) final List<SourceFile> files = [main.sourceFile, greeter.sourceFile] AppElement withFeatureEnabled() { return new SwiftMainWithOptionalFeature(greeter.withFeatureEnabled()).withFeatureEnabled() } AppElement withFeatureDisabled() { return main.withFeatureDisabled() }
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 1.3K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithLibraryAndOptionalFeature.groovy
class CppAppWithLibraryAndOptionalFeature { private final greeter = new CppGreeterWithOptionalFeature() final main = new CppMainWithOptionalFeature(greeter) final greeterLib = greeter.asLib() AppElement withFeatureDisabled() { return main } AppElement withFeatureEnabled() { return new CppMainWithOptionalFeature(greeter.withFeatureEnabled()).withFeatureEnabled() }
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 1.2K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftGreeterWithOptionalFeature.groovy
@Override String getExpectedOutput() { return "${HelloWorldApp.HELLO_WORLD_FRENCH}\n" } } } GreeterElement withFeatureDisabled() { return new GreeterElement() { @Override String getExpectedOutput() { return "${HelloWorldApp.HELLO_WORLD}\n" } } }
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 1.6K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithOptionalFeature.groovy
SourceElement getSources() { return ofElements(main, greeter.sources) } @Override SourceElement getHeaders() { return ofElements(greeter.headers) } AppElement withFeatureDisabled() { return main } AppElement withFeatureEnabled() { return main.withFeatureEnabled() }
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 1.2K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMainWithOptionalFeature.groovy
return new AppElement() { @Override String getExpectedOutput() { return "hi from main\n${greeter.expectedOutput}" } } } AppElement withFeatureDisabled() { return new AppElement() { @Override String getExpectedOutput() { return greeter.expectedOutput } } }
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 1.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy
file("build/modules/main/release/App.swiftmodule").assertIsFile() debugBinary.assertExists() debugBinary.exec().out == app.withFeatureDisabled().expectedOutput installation("build/install/main/debug").exec().out == app.withFeatureDisabled().expectedOutput debugBinary.assertHasDebugSymbolsFor(['main.o', 'greeter.o']) } def "can use executable file as task dependency"() {
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-08 12:43 - 40.2K bytes - Viewed (1) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy
executer.inDirectory(consumer) run("installDebug") then: def debugInstall = installation(consumer.file("build/install/main/debug")) debugInstall.exec().out == app.withFeatureDisabled().expectedOutput debugInstall.assertIncludesLibraries() when: executer.inDirectory(consumer) run("installRelease") then:
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 7.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy
executer.inDirectory(consumer) run("installDebug") then: def debugInstall = installation(consumer.file("build/install/main/debug")) debugInstall.exec().out == app.withFeatureDisabled().expectedOutput debugInstall.assertIncludesLibraries("greeting") def debugLib = sharedLibrary(producer.file("build/lib/main/debug/shared/greeting"))
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-16 20:20 - 10.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy
executable("build/exe/main/debug/app").assertHasDebugSymbolsFor(app.sourceFileNamesWithoutHeaders) installation("build/install/main/debug").exec().out == app.withFeatureDisabled().expectedOutput } @ToBeFixedForConfigurationCache def "can use executable file as task dependency"() { settingsFile << "rootProject.name = 'app'" def app = new CppApp()
Registered: 2024-06-12 18:38 - Last Modified: 2024-02-07 19:11 - 42.5K bytes - Viewed (0)