Searched refs:STAssertTrue (Results 1 – 11 of 11) sorted by relevance
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/stream/ |
D | ANTLRStringStreamTest.m | 22 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); 44 …STAssertTrue(stream.charPositionInLine == 0, @"Char position in line should be 0, it was: %d!", st… 60 …STAssertTrue(eofFound, @"EOF Was not found in stream, Length =%d, index = %d, i = %d", [stream siz… 76 …STAssertTrue(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/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/ |
D | IntArrayTest.m | 18 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"); 32 …STAssertTrue(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");
|
D | ANTLRIntArrayTest.m | 18 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"); 32 …STAssertTrue(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");
|
D | ANTLRFastQueueTest.m | 28 …STAssertTrue([[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]); 46 …STAssertTrue([[e name] isEqualTo:@"ANTLRNoSuchElementException"], @"Exception was not type: ANTLRN… 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]); 85 …STAssertTrue([[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]); 99 …STAssertTrue([queue size] == 0, @"Queue was not reset, when we hit the buffer, was still %d", [que…
|
D | TestDictionary.m | 38 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result ); 54 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result ); 78 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result ); 102 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result ); 106 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result ); 130 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result ); 134 … STAssertTrue( [expected isEqualTo:result], @"Expected \"%@\" but got \"%@\"", expected, result );
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/ |
D | ANTLRBitSetTest.m | 36 STAssertTrue([[bits objectAtIndex:0] boolValue], @"Value at index 0 was not true"); 37 STAssertTrue([[bits objectAtIndex:1] boolValue], @"Value at index 1 was not true"); 39 STAssertTrue([[bits objectAtIndex:3] boolValue], @"Value at index 3 was not true"); 41 STAssertTrue([[bits objectAtIndex:5] boolValue], @"Value at index 5 was not true"); 68 STAssertTrue(actual == expected, @"Bitset was not of size 1"); 69 STAssertTrue([bitSet member:1], @"Bit at index 1 is not a member..."); 72 STAssertTrue(actual == 0, @"Bitset was not empty"); 74 STAssertTrue([bitSet isNil], @"There was at least one bit on..."); 96 STAssertTrue([c size] == [otherBitSet size], @"c should be the same as otherBitSet"); 105 …STAssertTrue([aDescription isEqualToString:@"{1,2}"], @"Description was not right, expected '{1,2}…
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/token/ |
D | ANTLRCommonTokenTest.m | 37 …STAssertTrue([token.text isEqualToString:@"<UP>"], @"Token text was not <UP> was instead: %@", tok… 47 …STAssertTrue([token.text isEqualToString:@"<UP>"], @"Token text was not <UP> was instead: %@", tok… 58 …STAssertTrue([token.text isEqualToString:@"||"], @"Token text was not || was instead: %@", token.t… 70 …STAssertTrue([token.text isEqualToString:@"||"], @"Token text was not || was instead: %@", token.t… 81 STAssertTrue([newToken.text isEqualToString:token.text], @"Token text does not match!"); 93 …STAssertTrue([aDescription isEqualToString:@"[@0, 4:5='||',<555>,0:0]"], @"String description for …
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
D | ANTLRCommonTreeTest.m | 53 STAssertTrue([tree.token.text isEqualToString:@"||"], @"Text was not ||"); 94 …STAssertTrue([newTree isKindOfClass:[ANTLRCommonTree class]], @"Copied tree was not an ANTLRCommon… 115 …STAssertTrue([aString isEqualToString:@"<errornode>"], @"Not a valid error node description %@", a… 131 …STAssertTrue([aString isEqualToString:@"nil"], @"Tree description was not empty", [tree descriptio… 142 …STAssertTrue([aString isEqualToString:@"||"], @"description was not || was instead %@", [tree desc… 153 …STAssertTrue([tree.token.text isEqualToString:@"||"], @"Tree text was not valid, should have been … 226 …STAssertTrue([[e name] isEqualToString:@"ANTLRIllegalArgumentException"], @"Got wrong kind of exce… 307 STAssertTrue([parent getChild:0] == tree, @"Trees don't match"); 311 …STAssertTrue([parent getChildCount] == 1, @"There were either no children or more than 1: %d", [pa… 334 …STAssertTrue([tree hasAncestor:ANTLRTokenTypeUP], @"Should have an ancestor of type ANTLRTokenType… [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/ |
D | TestRewriteRuleTokenStream.m | 78 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/ |
D | dwarftests.mm | 57 STAssertTrue([d isEqualToData:d1],
|
/external/google-breakpad/src/common/mac/testing/ |
D | GTMSenTestCase.h | 743 #define STAssertTrue(expr, description, ...) \ macro
|