Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,982 for EXPECT (0.08 sec)

  1. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/FileReferenceFactoryTest.groovy

        def "creates null reference for a null jar url"() {
            expect:
            factory.fromJarURI(null) == null
        }
    
        def "creates null reference for a null file path"() {
            expect:
            factory.fromPath(null) == null
        }
    
        def "creates a reference from a variable path"() {
            TestFile file = rootDir.file("a/file.txt")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. cmd/import-boss/main_test.go

    func TestHasTestFiles(t *testing.T) {
    	cases := []struct {
    		input  []string
    		expect bool
    	}{{
    		input:  nil,
    		expect: false,
    	}, {
    		input:  []string{},
    		expect: false,
    	}, {
    		input:  []string{"foo.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo.go", "bar.go"},
    		expect: false,
    	}, {
    		input:  []string{"foo_test.go"},
    		expect: true,
    	}, {
    		input:  []string{"foo.go", "foo_test.go"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/util/hosts_test.go

    	g.Expect(NewScopedFqdn("foo", "foo", "*.xyz.abc")).To(Equal(ScopedFqdn("foo/*.xyz.abc")))
    	// wildcard, all namespaces scope
    	g.Expect(NewScopedFqdn("*", "foo", "*")).To(Equal(ScopedFqdn("*/*")))
    	// wildcard sub domain, all namespaces scope
    	g.Expect(NewScopedFqdn("*", "foo", "*.xyz.abc")).To(Equal(ScopedFqdn("*/*.xyz.abc")))
    
    	// external host, local scope
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

        def "can serialize BuildEvent messages"() {
            expect:
            def event = new BuildEvent(["a", "b", "c"])
            def result = serialize(event, serializer)
            result instanceof BuildEvent
            result.payload == ["a", "b", "c"]
        }
    
        def "can serialize LogLevelChangeEvent messages"() {
            expect:
            def event = new LogLevelChangeEvent(LogLevel.LIFECYCLE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperBadArchiveTest.groovy

        }
    
        def "wrapper gets bad archive on 2 attempts"() {
            given:
            server.expect(server.head(GRADLE_BIN_ZIP))
            server.expect(server.get(GRADLE_BIN_ZIP).sendFile(badArchive))
            server.expect(server.get(GRADLE_BIN_HASH).missing())
            server.expect(server.get(GRADLE_BIN_ZIP).sendFile(badArchive))
            server.expect(server.get(GRADLE_BIN_ZIP).sendFile(distribution.binDistribution))
            server.start()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

            expect:
            matches("someName", "someName", "someNameWithExtra")
        }
    
        def "prefers exact match over camel case match"() {
            expect:
            matches("sName", "sName", "someName", "sNames")
            matches("so Name", "so Name", "some Name", "so name")
            matches("ABC", "ABC", "AaBbCc")
        }
    
        def "prefers exact match over kebab case match"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/pseudo_test.go

    		{"FUNCDATA", "", "expect two operands for FUNCDATA"},
    		{"FUNCDATA", "(SB ", "expect two operands for FUNCDATA"},
    		{"DATA", "", "expect two operands for DATA"},
    		{"DATA", "0", "expect two operands for DATA"},
    		{"DATA", "(0), 1", "expect /size for DATA argument"},
    		{"DATA", "@B(SB)/4,0", "expected '(', found B"}, // Issue 23580.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentReplacementIntegrationTest.groovy

            expect:
            resolvedModules 'b'
        }
    
        def "replaces already resolved module"() {
            declaredDependencies 'a', 'b'
            declaredReplacements 'a->b'
            expect:
            resolvedModules 'b'
        }
    
        def "replaces not yet resolved module"() {
            declaredDependencies 'b', 'a'
            declaredReplacements 'a->b'
            expect:
            resolvedModules 'b'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/services/NativeServicesTest.groovy

        }
    
        def "makes a ProcessEnvironment available"() {
            expect:
            services.get(ProcessEnvironment) != null
        }
    
        def "makes an OperatingSystem available"() {
            expect:
            services.get(OperatingSystem) != null
        }
    
        def "makes a FileSystem available"() {
            expect:
            services.get(FileSystem) != null
            services.get(Chmod) != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 01:29:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/IncubatingAttributesCheckerTest.groovy

        // region: Single Attribute tests
        def "attribute without any @Incubating is not reported"() {
            expect:
            !IncubatingAttributesChecker.isIncubating(Usage.USAGE_ATTRIBUTE)
        }
    
        def "attribute with @Incubating annotation on class is reported"() {
            expect:
            !IncubatingAttributesChecker.isIncubating(TestSuiteType.TEST_SUITE_TYPE_ATTRIBUTE)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 12 14:19:53 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top