예제 #1
0
 protected void setUp() throws Exception {
   super.setUp();
   serializer = new NdmSerializer();
   method = new Method();
   deeracTasks = new Tasks();
   UserTaskList userTaskList = new UserTaskList();
   deeracTasks.setUserTaskList(userTaskList);
 }
  protected void setUp() throws Exception {
    super.setUp();
    bundle = Platform.getBundle("org.w3c.xqts.testsuite");

    if (bundle == null) {
      System.setProperty(
          "javax.xml.parsers.DocumentBuilderFactory",
          "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
    }
    System.setProperty(
        "javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema",
        "org.apache.xerces.jaxp.validation.XMLSchemaFactory");

    staticContextBuilder = new StaticContextBuilder();
  }
 /*
  * (non-Javadoc)
  *
  * @see junit.framework.TestCase#setUp()
  */
 protected void setUp() throws Exception {
   super.setUp();
   persistence = new JiBXPersistence();
 }