Ignore:
Timestamp:
01/30/15 18:09:47 (9 years ago)
Author:
funger
Message:
  • clean up
  • comments improved
  • add name, implement getSimilartiy, correct equals and hashCode in ANDROIDGUIElementSpec
  • add get and set methods to ANDROIDGUIElement
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/AndroidLogParser.java

    r1819 r1869  
    154154 
    155155    /** 
    156          *  
    157         */ 
    158     private Boolean showSteps = false; 
     156     * Show parsed elements to find out failures.  
     157    */ 
     158    private Boolean showSteps = true; 
    159159 
    160160    /** 
     
    303303            currentGUIElementHash = Long.parseLong(atts.getValue("hash")); 
    304304            currentGUIElementSpec = new ANDROIDGUIElementSpec(); 
    305             currentGUIElementSpec.setHashCode((int) currentGUIElementHash.longValue()); 
     305            currentGUIElementSpec.setElementHash((int) currentGUIElementHash.longValue()); 
    306306 
    307307        } 
     
    315315                if ("class".equals(atts.getValue("name"))) { 
    316316                    currentGUIElementSpec.setType(atts.getValue("value")); 
     317                } 
     318                else if ("title".equals(atts.getValue("name"))) { 
     319                    currentGUIElementSpec.setName(atts.getValue("value")); 
    317320                } 
    318321                else if ("path".equals(atts.getValue("name"))) { 
Note: See TracChangeset for help on using the changeset viewer.