Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for expectedState (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/cache/CacheMarkingStrategyIntegrationTest.groovy

        }
    
        def "directory '#directory' is #expectedState when markingStrategy = #markingStrategy and directory created = #createDir"() {
            writeInitScript(markingStrategy)
            def dir = new File(executer.gradleUserHomeDir, directory)
            if (createDir) {
                dir.mkdirs()
            }
    
            when:
            succeeds("help")
    
            then:
            if (expectedState == "marked") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/state/state_checkpoint_test.go

    )
    
    const testingCheckpoint = "dramanager_checkpoint_test"
    
    // assertStateEqual marks provided test as failed if provided states differ
    func assertStateEqual(t *testing.T, restoredState, expectedState ClaimInfoStateList) {
    	assert.Equal(t, expectedState, restoredState, "expected ClaimInfoState does not equal to restored one")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    		podStatus.ContainerStatuses = test.statuses
    		apiStatus := kubelet.generateAPIPodStatus(pod, podStatus, false)
    		expectedState := test.expectedState
    		if test.expectedInitState != nil {
    			expectedState = test.expectedInitState
    		}
    		verifyContainerStatuses(t, apiStatus.InitContainerStatuses, expectedState, test.expectedLastTerminationState, fmt.Sprintf("case %d", i))
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildTaskGraph.java

                controllers.close();
            }
    
            private void assertCanQueueTask() {
                expectInState(State.Preparing);
            }
    
            private void expectInState(State expectedState) {
                if (state != expectedState) {
                    throw unexpectedState();
                }
            }
    
            private IllegalStateException unexpectedState() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:04:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Uninterruptibles}.
     *
     * @author Anthony Zana
     */
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    	images := []string{"1111", "2222", "3333"}
    	fakeImageService.SetFakeImages(images)
    
    	actualStats, err := fakeManager.ImageStats(ctx)
    	assert.NoError(t, err)
    	expectedStats := &kubecontainer.ImageStats{TotalStorageBytes: imageSize * uint64(len(images))}
    	assert.Equal(t, expectedStats, actualStats)
    }
    
    func TestImageStatsWithError(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top