Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for AppElement (0.21 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/AppElement.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    public interface AppElement {
        String getExpectedOutput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 730 bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMainWithOptionalFeature.groovy

                _ = main()
            """)
        }
    
        AppElement withFeatureEnabled() {
            return new AppElement() {
                @Override
                String getExpectedOutput() {
                    return "hi from main\n${greeter.expectedOutput}"
                }
            }
        }
    
        AppElement withFeatureDisabled() {
            return new AppElement() {
                @Override
                String getExpectedOutput() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithLibraryAndOptionalFeature.groovy

                    sourceFile(it.path, it.name, "import Greeter\n${it.content}")
                }
            }
        }
    
        AppElement withFeatureEnabled() {
            return new SwiftMainWithOptionalFeature(library.withFeatureEnabled()).withFeatureEnabled()
        }
    
        AppElement withFeatureDisabled() {
            return application.withFeatureDisabled()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppMainWithOptionalFeature.groovy

            greeter.sayHello();
            return 0;
        }
        """)
    
        @Override
        String getExpectedOutput() {
            return greeter.expectedOutput
        }
    
        AppElement withFeatureEnabled() {
            return new AppElement() {
                @Override
                String getExpectedOutput() {
                    return "hi from main\n" + greeter.expectedOutput
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithLibraryAndOptionalFeature.groovy

        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: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithOptionalFeature.groovy

            return ofElements(main, greeter.sources)
        }
    
        @Override
        SourceElement getHeaders() {
            return ofElements(greeter.headers)
        }
    
        AppElement withFeatureDisabled() {
            return main
        }
    
        AppElement withFeatureEnabled() {
            return main.withFeatureEnabled()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftAppWithOptionalFeature.groovy

        final List<SourceFile> files = [main.sourceFile, greeter.sourceFile]
    
        AppElement withFeatureEnabled() {
            return new SwiftMainWithOptionalFeature(greeter.withFeatureEnabled()).withFeatureEnabled()
        }
    
        AppElement withFeatureDisabled() {
            return main.withFeatureDisabled()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalCppApp.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    public abstract class IncrementalCppApp extends IncrementalCppElement implements AppElement {
        public abstract String getExpectedAlternateOutput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 819 bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithLibrary.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    /**
     * A C++ app composed of 2 modules: an executable and a library.
     */
    class CppAppWithLibrary implements AppElement {
        final greeter = new CppGreeter().asLib()
        final main = new CppMainUsesGreeter(greeter)
    
        @Override
        String getExpectedOutput() {
            return main.expectedOutput
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 971 bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftApp.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    public abstract class IncrementalSwiftApp extends IncrementalSwiftElement implements AppElement {
        public abstract String getExpectedAlternateOutput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 823 bytes
    - Viewed (0)
Back to top