Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 186 for testJar (0.11 sec)

  1. src/cmd/go/testdata/vendormod.txt

    package b
    
    import (
    	"os"
    	"testing"
    )
    
    func TestDir(t *testing.T) {
    	if _, err := os.Stat("../testdata/1"); err != nil {
    		t.Fatalf("testdata: %v", err)
    	}
    }
    -- a/foo/bar/c/main.go --
    package c
    -- a/foo/bar/c/main_test.go --
    package c
    
    import (
    	"os"
    	"testing"
    )
    
    func TestDir(t *testing.T) {
    	if _, err := os.Stat("../../../testdata/1"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  2. cmd/batch-job-common-types_test.go

    	for i, test := range tests {
    		t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) {
    			err := test.sizeFilter.Validate()
    			if err != nil {
    				gotErr := err.(BatchJobYamlErr)
    				testErr := test.err.(BatchJobYamlErr)
    				if gotErr.message() != testErr.message() {
    					t.Fatalf("Expected %v but got %v", test.err, err)
    				}
    			}
    			if err == nil && test.err != nil {
    				t.Fatalf("Expected %v but got nil", test.err)
    			}
    		})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/OriginFixture.groovy

    class OriginFixture extends UserInitScriptExecuterFixture {
    
        Map<String, OriginMetadata> origins = [:]
    
        OriginFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        private TestFile getFile() {
            testDir.testDirectory.file("outputOrigin.json")
        }
    
        @Override
        String initScriptContent() {
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy

        private TestFile fixtureData
    
        ProgressLoggingFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        List<String> progressContent
    
        @Override
        String initScriptContent() {
            fixtureData = testDir.testDirectory.file("progress-fixture.log")
            """
                import ${OutputEventListener.name}
                import ${OutputEvent.name}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/testFixtures/groovy/org/gradle/platform/base/PlatformBaseSpecification.groovy

    import spock.lang.Specification
    
    abstract class PlatformBaseSpecification extends Specification {
        @Rule
        TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
    
        final def project = TestUtil.create(testDir).rootProject()
        @Rule SetRuleContext setContext = new SetRuleContext()
    
        def realize(String name) {
            project.modelRegistry.find(name, ModelType.UNTYPED)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

        }
    
        void setup() {
            initConfiguration()
    
            testDir = temporaryFolder.testDirectory
            distributionDir = new TestFile(testDir, 'someDistPath')
            gradleHomeDir = new TestFile(distributionDir, 'gradle-0.9')
            zipStore = new File(testDir, 'zips')
            zipDestination = new TestFile(zipStore, zipFileName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScopeIdsFixture.groovy

        boolean disableConsistentWorkspaceIdCheck
        boolean disableConsistentUserIdCheck
    
        ScopeIdsFixture(GradleExecuter executer, TestDirectoryProvider testDir) {
            super(executer, testDir)
        }
    
        int getBuildCount() {
            idsOfBuildTrees.size()
        }
    
        List<ScopeIds> getIds() {
            idsOfBuildTrees.collect { it.get(":") }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. docs/pt/docs/project-generation.md

    * Testes _backend_ _REST_ baseados no **Pytest**, integrados com Docker, então você pode testar a interação completa da API, independente do banco de dados. Como roda no Docker, ele pode construir um novo repositório de dados do zero toda vez (assim você pode usar ElasticSearch, MongoDB, CouchDB, ou o que quiser, e apenas testar que a API esteja funcionando).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Oct 17 05:50:32 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cunit/CUnitTest.groovy

    import static org.gradle.model.internal.type.ModelTypes.modelMap
    
    @UsesNativeServices
    class CUnitTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
        final def project = TestUtil.create(testDir).rootProject();
    
        def "creates a test suite for each library under test"() {
            given:
            project.pluginManager.apply(CUnitConventionPlugin)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. test/typeparam/orderedmapsimp.dir/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"./a"
    	"bytes"
    	"fmt"
    )
    
    func TestMap() {
    	m := a.New[[]byte, int](bytes.Compare)
    
    	if _, found := m.Find([]byte("a")); found {
    		panic(fmt.Sprintf("unexpectedly found %q in empty map", []byte("a")))
    	}
    
    	for _, c := range []int{'a', 'c', 'b'} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top