Changeset 1802 for trunk/autoquest-androidmonitor
- Timestamp:
- 10/22/14 13:59:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-androidmonitor/src/de/ugoe/cs/autoquest/androidmonitor/AndroidmonitorLogFile.java
r1756 r1802 28 28 29 29 public AndroidmonitorLogFile(String appName, File dir) { 30 this.name = "android _" + appName + "_LogFile.xml";30 this.name = "androidLogFile_" + appName + System.currentTimeMillis() + ".log"; 31 31 32 32 try { … … 53 53 // getDeviceInformation. 54 54 55 String string = "<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><session >"55 String string = "<?xml version='1.0' encoding='UTF-8' standalone='yes' ?><sessions>" 56 56 + getDeviceInformation() + getAppInformation(); 57 57 try { … … 203 203 // TODO add ancestors @see: 204 204 // de.ugoe.cs.autoquest.jfcmonitor.JFCComponent#getClassHierarchy() 205 206 /* This solution leads to java.lang.OutOfMemory! 207 serializer.startTag("", "ancestors"); 208 209 Class<? extends Object> classobject = view.getClass(); 210 while(classobject != null){ 211 serializer.startTag("", "ancestor"); 212 serializer.attribute("", "name", classobject.getName()); 213 serializer.endTag("", "ancestor"); 214 } 215 serializer.endTag("", "ancestors"); 216 */ 205 217 206 218 serializer.endTag("", "component");
Note: See TracChangeset
for help on using the changeset viewer.