Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for test_app (2.43 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @PlexusTest
    class TestApi {
    
        Session session;
    
        @Inject
        RepositorySystem repositorySystem;
    
        @Inject
        org.apache.maven.project.ProjectBuilder projectBuilder;
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    //
    // Example invocation:
    //  bazel test //tensorflow/c/experimental/filesystem:modular_filesystem_test \\
    //  --test_arg=--dso=/path/to/one.so --test_arg=--dso=/path/to/another.so \\
    //  --test_arg=--scheme= --test_arg=--scheme=file
    //
    // Note that to test the local filesystem we use an empty value.
    
    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/DuplicateBaseNamesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "can have sourcefiles with same base name but different directories"() {
            given:
            def testApp = initTestApp(testAppType)
    
            when:
            testApp.writeSources(file("src/main"))
            buildFile.text = ""
            testApp.plugins.each { plugin ->
                buildFile << "apply plugin: '$plugin'\n"
            }
    
            buildFile << """
    model {
        platforms {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaAnnotationProcessingIntegrationTest.groovy

            fixture.writeAnnotationProcessorTo(processorProjectDir)
    
            // The class that is the target of the processor
            file('src/main/java/TestApp.java') << '''
                @Helper
                class TestApp {
                    public static void main(String[] args) {
                        System.out.println(new TestAppHelper().getValue()); // generated class
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftApplicationPluginTest.groovy

            compileDebug.debuggable
            !compileDebug.optimized
    
            def linkDebug = project.tasks.linkDebug
            linkDebug instanceof LinkExecutable
            linkDebug.linkedFile.get().asFile == projectDir.file("build/exe/main/debug/" + OperatingSystem.current().getExecutableName("TestApp"))
            linkDebug.debuggable
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

    class BinaryNativePlatformIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        def testApp = new PlatformDetectingTestApp()
        def os = OperatingSystem.current()
    
        def setup() {
            buildFile << """
    plugins {
        id 'cpp'
    }
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    """
    
            testApp.writeSources(file("src/main"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/InstallExecutableIntegrationTest.groovy

    class InstallExecutableIntegrationTest extends AbstractInstalledToolChainIntegrationSpec {
        def testApp = new PlatformDetectingTestApp()
        def os = OperatingSystem.current()
    
        def setup() {
            buildFile << """
    plugins {
        id 'cpp'
    }
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    """
    
            testApp.writeSources(file("src/main"))
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

        void "forks process"() {
            given:
            def out = new ByteArrayOutputStream()
            def err = new ByteArrayOutputStream()
    
            def execHandle = handle()
                    .args(args(TestApp.class, "arg1", "arg2"))
                    .setStandardOutput(out)
                    .setErrorOutput(err)
                    .build()
    
            when:
            def result = execHandle.start().waitForFinish()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/examples/customization/test_ops_test.py

    import os
    import tensorflow as tf
    
    from tensorflow.compiler.mlir.tfr.python import test_utils
    from tensorflow.python.framework import test_ops
    from tensorflow.python.platform import test
    
    
    class TestOpsDefsTest(test_utils.OpsDefsTest):
    
      def test_test_ops(self):
        attr = tf.function(test_ops.test_attr)(tf.float32)
        self.assertAllClose(attr.numpy(), 100.0)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:41:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalHelloWorldApp.java

    import org.gradle.integtests.fixtures.SourceFile;
    
    import java.util.List;
    
    public abstract class IncrementalHelloWorldApp extends CommonHeaderHelloWorldApp {
        public TestApp getAlternate() {
            return new TestApp() {
                @Override
                public SourceFile getMainSource() {
                    return getAlternateMainSource();
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top