Searched refs:STAssertTrue (Results 1 – 10 of 10) sorted by relevance
/external/antlr/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/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 | FastQueueTest.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:@"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]); 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/runtime/ObjC/Framework/test/runtime/sets/ |
D | ANTLRBitSetTest.m | 37 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"); 126 …STAssertTrue([aDescription isEqualToString:@"{1,2}"], @"Description was not right, expected '{1,2}…
|
/external/antlr/runtime/ObjC/Framework/test/runtime/token/ |
D | CommonTokenTest.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/runtime/ObjC/Framework/test/runtime/tree/ |
D | CommonTreeTest.m | 53 STAssertTrue([tree.token.text isEqualToString:@"||"], @"Text was not ||"); 94 STAssertTrue([newTree isKindOfClass:[CommonTree class]], @"Copied tree was not an CommonTree"); 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:@"IllegalArgumentException"], @"Got wrong kind of exception… 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:TokenTypeUP], @"Should have an ancestor of type TokenTypeUP"); [all …]
|
/external/antlr/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
|