expected.txt revision f4cb036808b88fe60d71a705b2744284155cbc01
1Confirm empty
2empty=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
3Confirm enable
4status=false
5status=true
6Capture some allocations (note just this causes allocations)
7before > 0=true
8Confirm when we overflow, we don't roll over to zero. b/17392248
9before < overflowAllocations=true
10after > before=true
11after.numberOfEntries=65535
12Disable and confirm back to empty
13status=false
14reset=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
15Confirm we can disable twice in a row
16status=false
17status=false
18Confirm we can reenable twice in a row without losing allocations
19status=true
20status=true
21second > first =true
22Goodbye
23goodbye=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table from start of message: 15 number of class name strings: 0 number of method name strings: 0 number of source file name strings: 0]
24