01: /*
02: * Copyright (C) 2004 Joe Walnes.
03: * Copyright (C) 2006, 2007 XStream Committers.
04: * All rights reserved.
05: *
06: * The software in this package is published under the terms of the BSD
07: * style license a copy of which has been included with this distribution in
08: * the LICENSE.txt file.
09: *
10: * Created on 29. September 2004 by James Strachan
11: */
12: package com.thoughtworks.xstream.io.xml;
13:
14: import com.thoughtworks.xstream.io.HierarchicalStreamReader;
15:
16: import java.io.StringReader;
17:
18: public class StaxReaderTest extends AbstractXMLReaderTest {
19: protected HierarchicalStreamReader createReader(String xml)
20: throws Exception {
21: StaxDriver driver = new StaxDriver();
22: return driver.createReader(new StringReader(xml));
23: }
24:
25: // inherits tests from superclass
26: }
|