Changeset 1069 for trunk/autoquest-plugin-html-test
- Timestamp:
- 02/14/13 15:20:07 (12 years ago)
- Location:
- trunk/autoquest-plugin-html-test
- Files:
-
- 2 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/autoquest-plugin-html-test/.classpath ¶
r953 r1069 13 13 </attributes> 14 14 </classpathentry> 15 <classpathentry kind="src" path="src/test/resources"/>15 <classpathentry including="**/*.java" kind="src" path="src/test/resources"/> 16 16 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"> 17 17 <attributes> -
TabularUnified trunk/autoquest-plugin-html-test/pom.xml ¶
r953 r1069 28 28 <executions> 29 29 <execution> 30 <id>get- jfc-plugin-config</id>30 <id>get-html-plugin-config</id> 31 31 <phase>process-classes</phase> 32 32 <goals> -
TabularUnified 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.