// Path: src/test/java/xdb/test/TestUtil.java
// public class TestUtil {
// 
//     public static Document parse(String xml) throws Exception {
//         StringReader reader = new StringReader(xml);
//         InputSource is = new InputSource(reader);
//         return new XmlParser().parse(is);
//     }
// }


import org.w3c.dom.Element;
import xdb.test.TestUtil;
import junit.framework.TestCase;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package xdb.query;




/**
 * 
 * @author ps142237
 */
public class QueryInitTest extends TestCase {

    public QueryInitTest(String testName) {
        super(testName);
    }

    public void testInit() throws Exception {
        String xml = "<bogus-query />";
// Path: src/test/java/xdb/test/TestUtil.java
// public class TestUtil {
// 
//     public static Document parse(String xml) throws Exception {
//         StringReader reader = new StringReader(xml);
//         InputSource is = new InputSource(reader);
//         return new XmlParser().parse(is);
//     }
// }


// Path: src/test/java/xdb/query/QueryInitTest.java
import org.w3c.dom.Element;
import xdb.test.TestUtil;
import junit.framework.TestCase;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package xdb.query;




/**
 * 
 * @author ps142237
 */
public class QueryInitTest extends TestCase {

    public QueryInitTest(String testName) {
        super(testName);
    }

    public void testInit() throws Exception {
        String xml = "<bogus-query />";
        Element config = TestUtil.parse(xml).getDocumentElement();