Home
last modified time | relevance | path

Searched refs:STAssertTrue (Results 1 – 10 of 10) sorted by relevance

/external/antlr/runtime/ObjC/Framework/test/runtime/stream/
DANTLRStringStreamTest.m22 STAssertTrue([@"This is a " isEqualToString:subString], @"The strings do not match");
30 STAssertTrue(stream.index > 0, @"Index should be greater than 0 after consume");
32 STAssertTrue(stream.index == 0, @"Index should be 0 after reset");
43 STAssertTrue(stream.line == 2, @"Line number is incorrect, should be 2, was %d!", stream.line);
44STAssertTrue(stream.charPositionInLine == 0, @"Char position in line should be 0, it was: %d!", st…
60STAssertTrue(eofFound, @"EOF Was not found in stream, Length =%d, index = %d, i = %d", [stream siz…
76STAssertTrue(eofFound, @"EOF Was not found in stream, Length =%d, index = %d, i = %d", [stream siz…
84 STAssertTrue(stream.index == 10, @"Index should be 10");
86 STAssertTrue([stream LA:1] > -1 && (char)[stream LA:1] == 's', @"Char returned should be s");
95 STAssertTrue(stream.index == 10, @"Index should be 10");
[all …]
/external/antlr/runtime/ObjC/Framework/test/runtime/misc/
DIntArrayTest.m18 STAssertTrue([intArray count] == 1, @"Int array should be of size 1");
19 STAssertTrue([intArray integerAtIndex:0] == 1, @"First item in int array should be 1");
32STAssertTrue(popped == 10, @"Pop should pull the last element out, which should be 10 was: %d", po…
40 STAssertTrue([intArray count] == 1, @"Int array should be of size 1");
41 STAssertTrue([intArray integerAtIndex:0] == 1, @"First item in int array should be 1");
43 STAssertTrue([intArray count] == 0, @"Array size should be 0");
DFastQueueTest.m28STAssertTrue([[queue objectAtIndex:0] isKindOfClass:[NSString class]], @"First object is not a NSS…
30 STAssertTrue([queue size] == 1, @"Queue is the wrong size: %d", [queue size]);
46STAssertTrue([[e name] isEqualTo:@"NoSuchElementException"], @"Exception was not type: NoSuchEleme…
73 STAssertTrue([queue size] == 3, @"Queue was too small, was: %d expected 3", [queue size]);
75 STAssertTrue([queue size] == 0, @"Queue is not empty, it's still %d", [queue size]);
85STAssertTrue([[queue description] isEqualToString:@"My String"], @"Queue description was not right…
95 STAssertTrue([queue size] == 2, @"Queue not the correct size, was: %d expected 2", [queue size]);
97 STAssertTrue([queue size] == 1, @"Queue not the correct size, was %d expected 1", [queue size]);
99STAssertTrue([queue size] == 0, @"Queue was not reset, when we hit the buffer, was still %d", [que…
DTestDictionary.m38STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
54STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
78STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
102STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
106STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
130STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
134STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
/external/antlr/runtime/ObjC/Framework/test/runtime/sets/
DANTLRBitSetTest.m37 STAssertTrue([[bits objectAtIndex:0] boolValue], @"Value at index 0 was not true");
38 STAssertTrue([[bits objectAtIndex:1] boolValue], @"Value at index 1 was not true");
40 STAssertTrue([[bits objectAtIndex:3] boolValue], @"Value at index 3 was not true");
42 STAssertTrue([[bits objectAtIndex:5] boolValue], @"Value at index 5 was not true");
69 STAssertTrue(actual == expected, @"Bitset was not of size 1");
70 STAssertTrue([bitSet member:1], @"Bit at index 1 is not a member...");
73 STAssertTrue(actual == 0, @"Bitset was not empty");
75 STAssertTrue([bitSet isNil], @"There was at least one bit on...");
97 STAssertTrue([c size] == [otherBitSet size], @"c should be the same as otherBitSet");
126STAssertTrue([aDescription isEqualToString:@"{1,2}"], @"Description was not right, expected '{1,2}…
/external/antlr/runtime/ObjC/Framework/test/runtime/token/
DCommonTokenTest.m37STAssertTrue([token.text isEqualToString:@"<UP>"], @"Token text was not <UP> was instead: %@", tok…
47STAssertTrue([token.text isEqualToString:@"<UP>"], @"Token text was not <UP> was instead: %@", tok…
58STAssertTrue([token.text isEqualToString:@"||"], @"Token text was not || was instead: %@", token.t…
70STAssertTrue([token.text isEqualToString:@"||"], @"Token text was not || was instead: %@", token.t…
81 STAssertTrue([newToken.text isEqualToString:token.text], @"Token text does not match!");
93STAssertTrue([aDescription isEqualToString:@"[@0, 4:5='||',<555>,0:0]"], @"String description for …
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/
DCommonTreeTest.m53 STAssertTrue([tree.token.text isEqualToString:@"||"], @"Text was not ||");
94 STAssertTrue([newTree isKindOfClass:[CommonTree class]], @"Copied tree was not an CommonTree");
115STAssertTrue([aString isEqualToString:@"<errornode>"], @"Not a valid error node description %@", a…
131STAssertTrue([aString isEqualToString:@"nil"], @"Tree description was not empty", [tree descriptio…
142STAssertTrue([aString isEqualToString:@"||"], @"description was not || was instead %@", [tree desc…
153STAssertTrue([tree.token.text isEqualToString:@"||"], @"Tree text was not valid, should have been …
226STAssertTrue([[e name] isEqualToString:@"IllegalArgumentException"], @"Got wrong kind of exception…
307 STAssertTrue([parent getChild:0] == tree, @"Trees don't match");
311STAssertTrue([parent getChildCount] == 1, @"There were either no children or more than 1: %d", [pa…
334 STAssertTrue([tree hasAncestor:TokenTypeUP], @"Should have an ancestor of type TokenTypeUP");
[all …]
/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m78 STAssertTrue([stream size] == 0,
81 STAssertTrue([stream size] == 1,
84 STAssertTrue([stream size] == 2,
103 STAssertTrue([stream hasNext], @"-hasNext should be YES, but isn't");
184 STAssertTrue(tree1 != tree1Dup,
190 STAssertTrue(tree2 != tree2Dup,
196 STAssertTrue(tree3 != tree3Dup,
/external/google-breakpad/src/client/mac/handler/testcases/
Ddwarftests.mm57 STAssertTrue([d isEqualToData:d1],
/external/google-breakpad/src/common/mac/testing/
DGTMSenTestCase.h743 #define STAssertTrue(expr, description, ...) \ macro