Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for test_snapshot (0.31 sec)

  1. pkg/api/persistentvolumeclaim/util_test.go

    		return &core.PersistentVolumeClaim{
    			Spec: core.PersistentVolumeClaimSpec{
    				DataSource: &core.TypedLocalObjectReference{
    					APIGroup: &apiGroup,
    					Kind:     "VolumeSnapshot",
    					Name:     "test_snapshot",
    				},
    			},
    		}
    	}
    
    	pvcInfo := []struct {
    		description string
    		pvc         func() *core.PersistentVolumeClaim
    	}{
    		{
    			description: "pvc without DataSource",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java

        private static final int EMPTY_ARRAY_SNAPSHOT = 9;
        private static final int ARRAY_SNAPSHOT = 10;
        private static final int EMPTY_LIST_SNAPSHOT = 11;
        private static final int LIST_SNAPSHOT = 12;
        private static final int SET_SNAPSHOT = 13;
        private static final int MAP_SNAPSHOT = 14;
        private static final int MANAGED_SNAPSHOT = 15;
        private static final int IMMUTABLE_MANAGED_SNAPSHOT = 16;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pkg/apis/core/validation/validation_test.go

    	successTestCases := []core.PersistentVolumeClaimSpec{
    		*testVolumeSnapshotDataSourceInSpec("test_snapshot", "VolumeSnapshot", "snapshot.storage.k8s.io"),
    	}
    	failedTestCases := []core.PersistentVolumeClaimSpec{
    		*testVolumeSnapshotDataSourceInSpec("", "VolumeSnapshot", "snapshot.storage.k8s.io"),
    		*testVolumeSnapshotDataSourceInSpec("test_snapshot", "", "snapshot.storage.k8s.io"),
    	}
    
    	for _, tc := range successTestCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  4. maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

    class ArtifactUtilsTest {
    
        private Artifact newArtifact(String aid) {
            return new DefaultArtifact("group", aid, VersionRange.createFromVersion("1.0"), "test", "jar", "tests", null);
        }
    
        @Test
        void testIsSnapshot() {
            assertFalse(ArtifactUtils.isSnapshot(null));
            assertFalse(ArtifactUtils.isSnapshot(""));
            assertFalse(ArtifactUtils.isSnapshot("1.2.3"));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. pkg/registry/core/service/portallocator/allocator_test.go

    			t.Errorf("[%d] expected %d calls, got %d", i, len(tc), len(calls))
    		}
    		if !calls.Equal(tc) {
    			t.Errorf("[%d] expected calls to equal testcase: %v vs %v", i, calls.List(), tc.List())
    		}
    	}
    }
    
    func TestSnapshot(t *testing.T) {
    	pr, err := net.ParsePortRange("10000-10200")
    	if err != nil {
    		t.Fatal(err)
    	}
    	r, err := NewInMemory(*pr)
    	if err != nil {
    		t.Fatal(err)
    	}
    	ports := []int{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/bitmap_test.go

    			t.Errorf("[%d] expected %d calls, got %d", i, len(tc), len(calls))
    		}
    		if !calls.Equal(tc) {
    			t.Errorf("[%d] expected calls to equal testcase: %v vs %v", i, calls.List(), tc.List())
    		}
    	}
    }
    
    func TestSnapshot(t *testing.T) {
    	_, cidr, err := netutils.ParseCIDRSloppy("192.168.1.0/24")
    	if err != nil {
    		t.Fatal(err)
    	}
    	r, err := NewInMemory(cidr)
    	if err != nil {
    		t.Fatal(err)
    	}
    	ip := []net.IP{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                    }
                }
    
                project(':lib') {
                    dependencies {
                        compile("test:changing:1.2") { changing = true }
                        compile("test:snapshot:1.2-SNAPSHOT")
                    }
                }
            """
    
            when:
            m1.pom.expectGet()
            m1.artifact.expectGet()
            m2.metaData.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
Back to top