Changeset 14780 in vbox for trunk/src/VBox/Devices/Storage/testcase
- Timestamp:
- Nov 28, 2008 2:36:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/testcase/tstVD-2.cpp
r13837 r14780 87 87 { 88 88 case VDCFGVALUETYPE_INTEGER: 89 RTPrintf("integer default="); 90 if (pa->pDefaultValue) 91 RTPrintf("%RU64", pa->pDefaultValue->Integer.u64); 92 else 93 RTPrintf("<NONE>"); 89 RTPrintf("integer"); 94 90 break; 95 91 case VDCFGVALUETYPE_STRING: 96 RTPrintf("string default="); 97 if (pa->pDefaultValue) 98 RTPrintf("%s", pa->pDefaultValue->String.psz); 99 else 100 RTPrintf("<NONE>"); 92 RTPrintf("string"); 101 93 break; 102 94 case VDCFGVALUETYPE_BYTES: 103 RTPrintf("bytes default="); 104 if (pa->pDefaultValue) 105 RTPrintf("length=%RTuint %.*Rhxs", 106 pa->pDefaultValue->Bytes.cb, 107 pa->pDefaultValue->Bytes.cb, 108 pa->pDefaultValue->Bytes.pv); 109 else 110 RTPrintf("<NONE>"); 95 RTPrintf("bytes"); 111 96 break; 112 97 default: 113 98 RTPrintf("INVALID!"); 114 99 } 100 if (pa->pszDefaultValue) 101 RTPrintf("%s", pa->pszDefaultValue); 102 else 103 RTPrintf("<NONE>"); 115 104 RTPrintf(" flags="); 116 105 if (!pa->uKeyFlags)
Note:
See TracChangeset
for help on using the changeset viewer.