summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdam Momtaz <amomtaz@google.com>2013-04-01 19:06:28 -0700
committerAdam Momtaz <amomtaz@google.com>2013-04-01 19:06:28 -0700
commit51c826cb6b5c54dd7c4e0131c56aa9c74918518b (patch)
tree6241f202153ca9a8a0eabc690b19213d36cf8b73 /tests
parentdab858e3f0b86a7a79927debbd6b6839f0cf1f79 (diff)
downloadloganalysis-51c826cb6b5c54dd7c4e0131c56aa9c74918518b.tar.gz
Add unit test for new APIs
Change-Id: Id71feee9abb5af70f145960d8081cc58358e8b95
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/loganalysis/parser/SmartMonkeyLogParserTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/com/android/loganalysis/parser/SmartMonkeyLogParserTest.java b/tests/src/com/android/loganalysis/parser/SmartMonkeyLogParserTest.java
index 25d010b..e90c0e6 100644
--- a/tests/src/com/android/loganalysis/parser/SmartMonkeyLogParserTest.java
+++ b/tests/src/com/android/loganalysis/parser/SmartMonkeyLogParserTest.java
@@ -112,6 +112,8 @@ public class SmartMonkeyLogParserTest extends TestCase {
SmartMonkeyLogItem monkeyLog = new SmartMonkeyLogParser().parse(lines);
assertNotNull(monkeyLog);
assertEquals(12, monkeyLog.getIntermediateCount());
+ assertEquals(SmartMonkeyLogParser.parseTime("2013-03-04 12:33:39.510"),
+ monkeyLog.getIntermediateTime());
}
/**