Last change
on this file since 120 was
120,
checked in by (none), 14 years ago
|
Added the mail files for the Hadoop JUNit Project
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Rev | Line | |
---|
[120] | 1 | module org.apache.hadoop.record { |
---|
| 2 | class RecRecord0 { |
---|
| 3 | ustring stringVal; |
---|
| 4 | } |
---|
| 5 | |
---|
| 6 | class RecRecord1 { |
---|
| 7 | boolean boolVal; |
---|
| 8 | byte byteVal; |
---|
| 9 | int intVal; |
---|
| 10 | long longVal; |
---|
| 11 | float floatVal; // testing inline comment |
---|
| 12 | double doubleVal; /* testing comment */ |
---|
| 13 | ustring stringVal; /* testing multi-line |
---|
| 14 | * comment */ |
---|
| 15 | buffer bufferVal; // testing another // inline comment |
---|
| 16 | vector<ustring> vectorVal; |
---|
| 17 | map<ustring, ustring> mapVal; |
---|
| 18 | RecRecord0 recordVal; |
---|
| 19 | } |
---|
| 20 | |
---|
| 21 | class RecRecordOld { |
---|
| 22 | ustring name; |
---|
| 23 | vector<long> ivec; |
---|
| 24 | vector<vector<RecRecord0>> svec; |
---|
| 25 | RecRecord0 inner; |
---|
| 26 | vector<vector<vector<ustring>>> strvec; |
---|
| 27 | float i1; |
---|
| 28 | map<byte, ustring> map1; |
---|
| 29 | vector<map<int, long>> mvec1; |
---|
| 30 | vector<map<int, long>> mvec2; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | /* RecRecordNew is a lot like RecRecordOld. Helps test for versioning. */ |
---|
| 34 | class RecRecordNew { |
---|
| 35 | ustring name2; |
---|
| 36 | RecRecord0 inner; |
---|
| 37 | vector<int> ivec; |
---|
| 38 | vector<vector<int>> svec; |
---|
| 39 | vector<vector<vector<ustring>>> strvec; |
---|
| 40 | int i1; |
---|
| 41 | map<long, ustring> map1; |
---|
| 42 | vector<map<int, long>> mvec2; |
---|
| 43 | } |
---|
| 44 | |
---|
| 45 | } |
---|
| 46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.