Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNameMarshalXML (0.13 sec)

  1. internal/event/name_test.go

    		result := testCase.name.String()
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestNameMarshalXML(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		name         Name
    		expectedData []byte
    		expectErr    bool
    	}{
    		{ObjectAccessedAll, []byte("<Name>s3:ObjectAccessed:*</Name>"), false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top