Changeset 1069 for trunk/autoquest-plugin-html-test/src
- Timestamp:
- 02/14/13 15:20:07 (12 years ago)
- Location:
- trunk/autoquest-plugin-html-test/src/test
- Files:
-
- 2 added
- 3 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html-test/src/test/java/de/ugoe/cs/autoquest/plugin/html/HTMLLogParserTest.java
r1066 r1069 19 19 import java.io.File; 20 20 import java.util.Collection; 21 import java.util.Iterator; 21 22 import java.util.List; 22 23 import java.util.logging.Level; … … 54 55 public void testParseFile() throws Exception { 55 56 HTMLLogParser parser = new HTMLLogParser(); 56 parser.parseFile(new File(ClassLoader.getSystemResource("htmlmonitor_testtrace.xml").getFile())); 57 parser.parseFile(new File(ClassLoader.getSystemResource("htmlmonitor_testtrace_1.xml").getFile())); 58 parser.parseFile(new File(ClassLoader.getSystemResource("htmlmonitor_testtrace_2.xml").getFile())); 57 59 Collection<List<Event>> events = parser.getSequences(); 58 60 59 61 assertNotNull(events); 60 assertTrue(events.size() > 0); 62 assertEquals(2, events.size()); 63 64 Iterator<List<Event>> iterator = events.iterator(); 65 assertNotNull(iterator); 66 assertEquals(1, iterator.next().size()); 67 assertEquals(3, iterator.next().size()); 68 assertFalse(iterator.hasNext()); 61 69 62 70 System.err.println("{");
Note: See TracChangeset
for help on using the changeset viewer.