Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,982 for EXPECT (0.33 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy

            file('other-build/build.gradle') << """
                tasks.register('doSomething') {
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            expect:
            2.times {
                succeeds(":other-build:doSomething")
                outputContains("do something")
            }
            2.times {
                succeeds("other-build:doSomething")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinBuildScriptModelCrossVersionSpec.groovy

            expect:
            assertCanFetchClassPathOfScriptPlugin("")
        }
    
        def "can fetch classpath of script plugin with compilation errors"() {
    
            expect:
            assertCanFetchClassPathOfScriptPlugin("val p = ")
        }
    
        def "can fetch classpath of script plugin with buildscript block compilation errors"() {
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 08:52:51 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  3. pilot/pkg/xds/discovery_test.go

    		name string
    		test func(updateCh chan *model.PushRequest, expect func(partial, full int32))
    	}{
    		{
    			name: "Should not debounce partial pushes",
    			test: func(updateCh chan *model.PushRequest, expect func(partial, full int32)) {
    				updateCh <- &model.PushRequest{Full: false}
    				expect(1, 0)
    				updateCh <- &model.PushRequest{Full: false}
    				expect(2, 0)
    				updateCh <- &model.PushRequest{Full: false}
    				expect(3, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy

        }
    
        def "ignores all properties on type #type.simpleName"() {
            expect:
            assertProperties type, [:]
            where:
            type << [int, EmptyGroovyObject, int[], Object[], Nullable]
        }
    
        class EmptyGroovyObject {}
    
        def "finds annotation on field"() {
            expect:
            assertProperties TypeWithFieldAnnotation, [
                largeProperty: [(TYPE): Large],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 11 15:31:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/warning_test.go

    	}
    	tests := []struct {
    		name   string
    		args   []args
    		expect []string
    	}{
    		{
    			name:   "empty",
    			args:   []args{},
    			expect: nil,
    		},
    		{
    			name:   "empty values",
    			args:   []args{{agent: "", text: ""}},
    			expect: nil,
    		},
    		{
    			name:   "empty agent",
    			args:   []args{{agent: "", text: "mytext"}},
    			expect: []string{`299 - "mytext"`},
    		},
    		{
    			name:   "simple",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    	Version string
    	Value   interface{}
    }
    
    func (f *fakeResourceManager) Expect() ResourceManager {
    	return &f.expect
    }
    
    func (f *fakeResourceManager) HasExpectedNumberActions() bool {
    	f.lock.RLock()
    	defer f.lock.RUnlock()
    
    	f.expect.lock.RLock()
    	defer f.expect.lock.RUnlock()
    
    	return len(f.Actions) >= len(f.expect.Actions)
    }
    
    func (f *fakeResourceManager) Validate() error {
    	f.lock.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginIntegrationTest.groovy

            given:
            applyPlugin()
    
            expect:
            succeeds "compileJava"
        }
    
        def "jar produces usable plugin jar"() {
            given:
            buildFile()
            def descriptorFile = goodPluginDescriptor()
            goodPlugin()
    
            expect:
            succeeds "jar"
            def jar = new JarTestFixture(file('build/libs/test.jar'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/helpers_test.go

    	result := allPrimitiveFieldPaths(t, expect, reflect.TypeOf(&KubeletConfiguration{}), nil)
    	if !expect.Equal(result) {
    		// expected fields missing from result
    		missing := expect.Difference(result)
    		// unexpected fields in result but not specified in expect
    		unexpected := result.Difference(expect)
    		if len(missing) > 0 {
    			t.Errorf("the following fields were expected, but missing from the result. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/runtime/testdata/testprogcgo/coro.go

    		println("expect: OK")
    		CoroCgo(callerExhaustCallback, iterNested)
    	})
    	register("CoroCgoCallbackIterCallback", func() {
    		println("expect: OK")
    		CoroCgo(callerExhaustCallback, iterCallback)
    	})
    	register("CoroCgoCallbackIterCallbackYield", func() {
    		println("expect: OS thread locking must match")
    		CoroCgo(callerExhaustCallback, iterCallbackYield)
    	})
    	register("CoroCgoCallbackAfterPull", func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. pilot/pkg/xds/workload_test.go

    			ResourceNamesUnsubscribe: []string{"*"},
    			InitialResourceVersions: map[string]string{
    				"/127.0.0.1": "",
    			},
    		})
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod", "Kubernetes//Pod/default/pod2")
    	})
    	t.Run("wildcard", func(t *testing.T) {
    		expect := buildExpect(t)
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    			KubernetesObjects: []runtime.Object{mkPod("pod", "sa", "127.0.0.1", "not-node")},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top