Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testPatchApplication (0.24 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

    	actual, err := CreateThreeWayJSONMergePatch(original, modified, current)
    	if err != nil {
    		t.Fatalf("error: %s", err)
    	}
    	testPatchCreation(t, expected, actual, c.Description)
    	testPatchApplication(t, current, actual, result, c.Description)
    }
    
    func testPatchCreation(t *testing.T, expected, actual []byte, description string) {
    	if !reflect.DeepEqual(actual, expected) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    					testPatchApplication(t, original, expectedTwoWayPatch, expectedResult, c.Description, "", schema)
    				})
    
    				for _, c := range customStrategicMergePatchRawTestCases {
    					original, expectedTwoWayPatch, _, expectedResult := twoWayRawTestCaseToJSONOrFail(t, c)
    					testPatchApplication(t, original, expectedTwoWayPatch, expectedResult, c.Description, c.ExpectedError, schema)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
Back to top