Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 603 for mainTest (0.25 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/MainTest.groovy

    import org.gradle.launcher.cli.DefaultCommandLineActionFactory
    import org.gradle.util.internal.RedirectStdOutAndErr
    import org.junit.Rule
    import spock.lang.Specification
    
    class MainTest extends Specification {
    
        @Rule
        final RedirectStdOutAndErr outputs = new RedirectStdOutAndErr()
    
        CommandLineActionFactory.CommandLineExecution actionImpl
    
        void action(Closure closure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import java.io.IOException
    import kotlin.test.Test
    import okhttp3.RequestBody
    import okio.Buffer
    
    class MainTest {
      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/JdkIllegalReflectionTestWorkerIntegrationTest.groovy

                    }
                }
            """
    
            file("src/test/java/example/MainTest.java") << """
                package example;
    
                import org.junit.Test;
    
                public class MainTest {
                    @Test
                    public void runTest() throws Exception {
                        Main.main(new String[0]);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/internal/DefaultSwiftLibraryTest.groovy

            def platformToolProvider = Stub(PlatformToolProvider)
    
            expect:
            def binary = library.addStaticLibrary(identity, true, targetPlatform, toolChain, platformToolProvider)
            binary.name == "mainTest"
            binary.debuggable
            !binary.optimized
            binary.testable
            binary.targetPlatform == targetPlatform
            binary.toolChain == toolChain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue53454.go

    }
    
    type T8 struct {
    	T9
    	C T7
    }
    
    type T9 struct {
    	A T5
    	B T3
    	D T4
    }
    
    type T10 struct {
    	W float64
    }
    
    type T11 struct {
    	X float64
    	Y float64
    }
    
    func MainTest(x T1, y T8, z T6) float64 {
    	return Test(x.B, x.A, x.D, x.C, y.B, y.A, y.D, y.C, z.B, z.A, z.D,
    		T7{
    			T10: T10{
    				W: z.C.W,
    			},
    			T11: T11{},
    		},
    	)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 17:23:40 UTC 2022
    - 1002 bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cunit/CUnitTest.groovy

                    main(NativeLibrarySpec)
                }
            }
            project.evaluate()
    
            when:
            CUnitTestSuiteSpec testSuite = project.modelRegistry.realize("testSuites", modelMap(TestSuiteSpec)).mainTest
            def sources = testSuite.sources.values()
            def binaries = testSuite.binaries.values()
    
            then:
            sources.size() == 2
            sources.every { it instanceof CSourceSet }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/Manifest.java

    import org.gradle.internal.HasInternalProtocol;
    
    import java.util.Map;
    
    /**
     * Represents the manifest file of a JAR file.
     */
    @HasInternalProtocol
    public interface Manifest {
        /**
         * Returns the main attributes of the manifest.
         */
        Attributes getAttributes();
    
        /**
         * Returns the sections of the manifest (excluding the main section).
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest.go

    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration.
    func ManifestCmd(ctx cli.Context) *cobra.Command {
    	mc := &cobra.Command{
    		Use:   "manifest",
    		Short: "Commands related to Istio manifests",
    		Long:  "The manifest command generates and diffs Istio manifests.",
    	}
    
    	mgcArgs := &ManifestGenerateArgs{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate.go

    	return &cobra.Command{
    		Use:   "generate",
    		Short: "Generates an Istio install manifest",
    		Long:  "The generate subcommand generates an Istio install manifest and outputs to the console by default.",
    		// nolint: lll
    		Example: `  # Generate a default Istio installation
      istioctl manifest generate
    
      # Enable Tracing
      istioctl manifest generate --set meshConfig.enableTracing=true
    
      # Generate the demo profile
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/go/types/main_test.go

    // Code generated by "go test -run=Generate -write=all"; DO NOT EDIT.
    // Source: ../../cmd/compile/internal/types2/main_test.go
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types_test
    
    import (
    	"go/build"
    	"internal/testenv"
    	"os"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 464 bytes
    - Viewed (0)
Back to top