Searched refs:assertLocation (Results 1 – 3 of 3) sorted by relevance
/third_party/parse5/packages/parse5-sax-parser/test/ |
D | location-info.test.ts | 7 function assertLocation({ sourceCodeLocation }: { sourceCodeLocation: Token.Location }): void { function 22 parser.on('startTag', assertLocation); 23 parser.on('endTag', assertLocation); 24 parser.on('doctype', assertLocation); 25 parser.on('comment', assertLocation); 26 parser.on('text', assertLocation);
|
/third_party/parse5/test/utils/ |
D | generate-location-info-parser-tests.ts | 28 function assertLocation(loc: Token.Location, expected: string, html: string, lines: string[]): void… function 55 assertLocation(location.startTag, expected, html, lines); 69 assertLocation(location.endTag, expected, html, lines); 86 assertLocation(attr, expected, html, lines); 98 assertLocation(location, expected, html, lines); 150 assertLocation(location, serializedNode, html, lines);
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TextFormatTest.java | 1523 assertLocation(tree, descriptor, "optional_int32", 0, 0, 0); in testParseInfoTreeBuilding() 1524 assertLocation(tree, descriptor, "optional_int64", 0, 1, 0); in testParseInfoTreeBuilding() 1525 assertLocation(tree, descriptor, "optional_double", 0, 2, 2); in testParseInfoTreeBuilding() 1527 assertLocation(tree, descriptor, "repeated_int32", 0, 3, 0); in testParseInfoTreeBuilding() 1528 assertLocation(tree, descriptor, "repeated_int32", 1, 4, 0); in testParseInfoTreeBuilding() 1530 assertLocation(tree, descriptor, "optional_nested_message", 0, 5, 0); in testParseInfoTreeBuilding() 1531 assertLocation(tree, descriptor, "repeated_nested_message", 0, 8, 0); in testParseInfoTreeBuilding() 1532 assertLocation(tree, descriptor, "repeated_nested_message", 1, 11, 0); in testParseInfoTreeBuilding() 1535 assertLocation(tree, descriptor, "repeated_int64", 0, -1, -1); in testParseInfoTreeBuilding() 1536 assertLocation(tree, descriptor, "repeated_int32", 6, -1, -1); in testParseInfoTreeBuilding() [all …]
|