Home
last modified time | relevance | path

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

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DTraceFormatParserTest.java63 TraceFormatItem parsedItem = mParser.parse(formatLine); in testParseFormatLine() local
64 Assert.assertEquals(expectedParameters, parsedItem.getParameters()); in testParseFormatLine()
65 Assert.assertEquals(expectedNumericParameters, parsedItem.getNumericParameters()); in testParseFormatLine()
66 Assert.assertEquals(expectedHexParameters, parsedItem.getHexParameters()); in testParseFormatLine()
67 Assert.assertEquals(expectedStringParameters, parsedItem.getStringParameters()); in testParseFormatLine()
68 Assert.assertEquals(expectedRegex, parsedItem.getRegex().toString()); in testParseFormatLine()
69 Matcher m = parsedItem.getRegex().matcher(shouldMatch); in testParseFormatLine()
82 TraceFormatItem parsedItem = mParser.parse(formatLine); in testNoParameters() local
83 Assert.assertEquals(expectedParameters, parsedItem.getParameters()); in testNoParameters()
84 Assert.assertEquals(expectedRegex, parsedItem.getRegex().toString()); in testNoParameters()
[all …]