Ignore:
Timestamp:
09/20/12 14:50:28 (12 years ago)
Author:
pharms
Message:
  • extended test case for log corrector
Location:
trunk/quest-plugin-jfc-test/src/test/resources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-jfc-test/src/test/resources/corrected_trace.xml

    r829 r839  
    194194   <param name="title" value="FigTextEditor(height 27, alignment 0.0/0.0)" /> 
    195195   <param name="class" value="org.tigris.gef.presentation.FigTextEditor" /> 
    196    <param name="icon" value="null" /> 
     196   <param name="icon" value="" /> 
    197197   <param name="index" value="-1" /> 
    198198   <param name="hash" value="7215a41d" /> 
     
    240240   <param name="title" value="FigTextEditor(height 27, alignment 0.0/0.0)" /> 
    241241   <param name="class" value="org.tigris.gef.presentation.FigTextEditor" /> 
    242    <param name="icon" value="null" /> 
     242   <param name="icon" value="" /> 
    243243   <param name="index" value="-1" /> 
    244244   <param name="hash" value="7215a41d" /> 
     
    286286   <param name="title" value="FigTextEditor(height 27, alignment 0.0/0.0)" /> 
    287287   <param name="class" value="org.tigris.gef.presentation.FigTextEditor" /> 
    288    <param name="icon" value="null" /> 
     288   <param name="icon" value="" /> 
    289289   <param name="index" value="-1" /> 
    290290   <param name="hash" value="7215a41d" /> 
     
    292292 </source> 
    293293</event> 
     294<event id="1004"> 
     295 <source> 
     296  <param name="toString" value="org.tigris.gef.graph.presentation.JGraphInternalPane[,0,0,6000x6000,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=296,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=6000,height=6000]]" /> 
     297  <component> 
     298   <param name="title" value="Pos(2,2)" /> 
     299   <param name="class" value="org.argouml.uml.diagram.ui.DnDJGraph" /> 
     300   <param name="icon" value="null" /> 
     301   <param name="index" value="0" /> 
     302   <param name="hash" value="2a51e960" /> 
     303  </component> 
     304  <component> 
     305   <param name="title" value="Pos(0,0)" /> 
     306   <param name="class" value="javax.swing.JScrollPane" /> 
     307   <param name="icon" value="null" /> 
     308   <param name="index" value="0" /> 
     309   <param name="hash" value="4391f0" /> 
     310  </component> 
     311  <component> 
     312   <param name="title" value="Pos(0,0)" /> 
     313   <param name="class" value="org.tigris.gef.graph.presentation.JGraphInternalPane" /> 
     314   <param name="icon" value="null" /> 
     315   <param name="index" value="0" /> 
     316   <param name="hash" value="2250d5" /> 
     317  </component> 
     318 </source> 
     319</event> 
     320<event id="402"> 
     321 <param name="KeyCode" value="10" /> 
     322 <param name="Modifiers" value="0" /> 
     323 <source> 
     324  <param name="toString" value="org.tigris.gef.graph.presentation.JGraphInternalPane[,0,0,6000x6000,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=296,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=6000,height=6000]]" /> 
     325  <component> 
     326   <param name="title" value="Pos(0,0)" /> 
     327   <param name="class" value="javax.swing.JScrollPane" /> 
     328   <param name="icon" value="null" /> 
     329   <param name="index" value="0" /> 
     330   <param name="hash" value="4391f0" /> 
     331  </component> 
     332  <component> 
     333   <param name="title" value="Pos(0,0)" /> 
     334   <param name="class" value="javax.swing.JViewport" /> 
     335   <param name="icon" value="null" /> 
     336   <param name="index" value="0" /> 
     337   <param name="hash" value="12f8a84" /> 
     338  </component> 
     339  <component> 
     340   <param name="title" value="Pos(0,0)" /> 
     341   <param name="class" value="org.tigris.gef.graph.presentation.JGraphInternalPane" /> 
     342   <param name="icon" value="null" /> 
     343   <param name="index" value="0" /> 
     344   <param name="hash" value="2250d5" /> 
     345  </component> 
     346 </source> 
     347</event> 
    294348</sessions> 
  • trunk/quest-plugin-jfc-test/src/test/resources/uncorrected_trace.xml

    r829 r839  
    11<?xml version="1.0" encoding="UTF-8" ?> 
    22<sessions> 
     3 
     4<!-- assert that this component hierarchy is reused for the next event --> 
    35<event id="1004"> 
    46 <source> 
     
    4345 </source> 
    4446</event> 
     47 
     48 
     49<!-- assert that this event gets the same component hierarchy as the next event, as it has the same 
     50     to string value --> 
    4551<event id="501"> 
    4652 <param name="X" value="87" /> 
     
    8995 </source> 
    9096</event> 
     97 
     98<!-- the following events shall get the same component hierarchy as the previous event plus a 
     99     generated terminal node for the toString parameter specification --> 
    91100<event id="1004"> 
    92101 <source> 
     
    108117 </source> 
    109118</event> 
     119 
     120<!-- the following events shall not get the same components because the components are different 
     121     (see hierarchy) but their toString parameter is the same --> 
     122<event id="1004"> 
     123 <source> 
     124  <param name="toString" value="org.tigris.gef.graph.presentation.JGraphInternalPane[,0,0,6000x6000,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=296,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=6000,height=6000]]" /> 
     125  <component> 
     126   <param name="title" value="Pos(2,2)" /> 
     127   <param name="class" value="org.argouml.uml.diagram.ui.DnDJGraph" /> 
     128   <param name="icon" value="null" /> 
     129   <param name="index" value="0" /> 
     130   <param name="hash" value="2a51e960" /> 
     131  </component> 
     132  <component> 
     133   <param name="title" value="Pos(0,0)" /> 
     134   <param name="class" value="javax.swing.JScrollPane" /> 
     135   <param name="icon" value="null" /> 
     136   <param name="index" value="0" /> 
     137   <param name="hash" value="4391f0" /> 
     138  </component> 
     139  <component> 
     140   <param name="title" value="Pos(0,0)" /> 
     141   <param name="class" value="org.tigris.gef.graph.presentation.JGraphInternalPane" /> 
     142   <param name="icon" value="null" /> 
     143   <param name="index" value="0" /> 
     144   <param name="hash" value="2250d5" /> 
     145  </component> 
     146 </source> 
     147</event> 
     148<event id="402"> 
     149 <param name="KeyCode" value="10" /> 
     150 <param name="Modifiers" value="0" /> 
     151 <source> 
     152  <param name="toString" value="org.tigris.gef.graph.presentation.JGraphInternalPane[,0,0,6000x6000,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=296,maximumSize=,minimumSize=,preferredSize=java.awt.Dimension[width=6000,height=6000]]" /> 
     153  <component> 
     154   <param name="title" value="Pos(0,0)" /> 
     155   <param name="class" value="javax.swing.JScrollPane" /> 
     156   <param name="icon" value="null" /> 
     157   <param name="index" value="0" /> 
     158   <param name="hash" value="4391f0" /> 
     159  </component> 
     160  <component> 
     161   <param name="title" value="Pos(0,0)" /> 
     162   <param name="class" value="javax.swing.JViewport" /> 
     163   <param name="icon" value="null" /> 
     164   <param name="index" value="0" /> 
     165   <param name="hash" value="12f8a84" /> 
     166  </component> 
     167  <component> 
     168   <param name="title" value="Pos(0,0)" /> 
     169   <param name="class" value="org.tigris.gef.graph.presentation.JGraphInternalPane" /> 
     170   <param name="icon" value="null" /> 
     171   <param name="index" value="0" /> 
     172   <param name="hash" value="2250d5" /> 
     173  </component> 
     174 </source> 
     175</event> 
     176 
    110177</sessions> 
Note: See TracChangeset for help on using the changeset viewer.