Changeset 1591
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http-test/src/test/java/de/ugoe/cs/autoquest/http/HTTPLogParserTest.java
r1561 r1591 29 29 import javax.xml.transform.stream.StreamResult; 30 30 31 import org.apache.commons.lang.SerializationUtils; 31 32 import org.junit.After; 32 33 import org.junit.Before; … … 171 172 172 173 /** 174 * @throws Exception 175 */ 176 @Test 177 public void testSerializability_1() throws Exception { 178 HTTPLogParser parser = new HTTPLogParser(); 179 parser.parseFile 180 (new File(ClassLoader.getSystemResource("httpmonitor_testtrace_1.xml").getFile())); 181 Collection<List<Event>> events = parser.getSequences(); 182 183 assertNotNull(events); 184 assertEquals(1, events.size()); 185 186 Iterator<List<Event>> iterator = events.iterator(); 187 assertNotNull(iterator); 188 assertEquals(876, iterator.next().size()); 189 assertFalse(iterator.hasNext()); 190 191 for (List<Event> session : events) { 192 for (Event event : session) { 193 byte[] serializedEvent = SerializationUtils.serialize(event); 194 assertEquals(event, SerializationUtils.deserialize(serializedEvent)); 195 } 196 } 197 } 198 199 /** 173 200 * 174 201 */ -
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SOAPEventType.java
r1561 r1591 46 46 * </p> 47 47 */ 48 private SOAPMessage soapRequest;48 transient private SOAPMessage soapRequest; 49 49 50 50 /** … … 53 53 * </p> 54 54 */ 55 private SOAPMessage soapResponse;55 transient private SOAPMessage soapResponse; 56 56 57 57 /**
Note: See TracChangeset
for help on using the changeset viewer.