Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,506 for efter (0.07 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

    import spock.lang.Specification
    
    class IntQuestionPromptEventTest extends Specification {
        def "formats prompt"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
            assert event.prompt == "enter value (min: 2, default: 4): "
        }
    
        def "accepts valid input"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
    
            expect:
            def result = event.convert(input)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/internal/trace/order_test.go

    		for _, v := range exp {
    			q.push(v)
    		}
    		for i, want := range exp {
    			if got, ok := q.pop(); !ok {
    				t.Fatalf("check %q: expected to be able to pop after %d pops", name, i+1)
    			} else if got != want {
    				t.Fatalf("check %q: expected value %d after on pop %d, got %d", name, want, i+1, got)
    			}
    		}
    		if _, ok := q.pop(); ok {
    			t.Fatalf("check %q: did not expect to be able to pop more values", name)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    sleep 10
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    ./mc mb minio1/newbucket
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/AbstractScriptCachingIntegrationTest.kt

    import org.junit.After
    import org.junit.Before
    
    
    abstract class AbstractScriptCachingIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Before
        fun isolatedDaemons() {
            executer.apply {
                requireDaemon()
                requireIsolatedDaemons()
            }
        }
    
        @After
        fun stopDaemons() {
            build("--stop")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:33:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache-base/src/test/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTrackerTest.kt

        @Test
        fun `can load state after capturing`() {
            tracker.systemPropertyRemoved("some.property")
            tracker.getCachedState()
    
            tracker.loadFrom(emptyEnvironmentState())
        }
    
        @Test(expected = IllegalStateException::class)
        fun `updating state after loading throws`() {
            tracker.loadFrom(emptyEnvironmentState())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/waiting_pods_map.go

    		// receiving from this channel happens after non-blocking send.
    		s: make(chan *framework.Status, 1),
    	}
    
    	wp.pendingPlugins = make(map[string]*time.Timer, len(pluginsMaxWaitTime))
    	// The time.AfterFunc calls wp.Reject which iterates through pendingPlugins map. Acquire the
    	// lock here so that time.AfterFunc can only execute after newWaitingPod finishes.
    	wp.mu.Lock()
    	defer wp.mu.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        }
    
        def "convention value ignored after value has been set"() {
            def property = propertyWithNoValue()
            property.set(someValue())
    
            expect:
            property.convention(someOtherValue())
            property.get() == someValue()
        }
    
        def "convention provider ignored after value has been set"() {
            def provider = brokenSupplier()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  8. src/testing/testing_test.go

    				t.Fatalf("unexpected value after t.Setenv: got %s, want %s", os.Getenv(test.key), test.newValue)
    			}
    		})
    
    		got, exists := os.LookupEnv(test.key)
    		if got != test.initialValue {
    			t.Fatalf("unexpected value after t.Setenv cleanup: got %s, want %s", got, test.initialValue)
    		}
    		if exists != test.initialValueExists {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/SelectOptionPromptEventTest.groovy

            def event = new SelectOptionPromptEvent(123, "question", ["11", "12", "13"], 1)
    
            assert event.prompt == TextUtil.toPlatformLineSeparators("""question:
      1: 11
      2: 12
      3: 13
    Enter selection (default: 12) [1..3] """)
        }
    
        def "accepts valid input"() {
            def event = new SelectOptionPromptEvent(123, "question", ["1", "2", "3", "4"], 1)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheStartParameter.kt

         *
         * We disable load-after-store when tooling model builders are involved.
         * This is because the builders are executed after the tasks (if any) in a build action,
         * and these builders may access project state as well as the task state.
         * Doing load-after-store would have discarded the project state and isolated the task state,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top