/** * This method's primary purpose id to generate schema(s). Validation of generated schemas will * occur in the testXXXGen method(s) below. Note that the JAXBContext is created from this call * and is required for marshal/unmarshal, etc. tests. */ public void setUp() throws Exception { super.setUp(); resolver = generateSchemaWithFileName(new Class[] {}, CONTEXT_PATH, PATH + "employee-oxm.xml", 1); }
public void setUp() throws Exception { super.setUp(); }
/** * This method's primary purpose id to generate schema(s). Validation of generated schemas will * occur in the testXXXGen method(s) below. Note that the JAXBContext is created from this call * and is required for marshal/unmarshal, etc. tests. */ public void setUp() throws Exception { super.setUp(); employeeResolver = generateSchemaWithFileName( new Class[] {Employee.class}, CONTEXT_PATH, PATH + "eclipselink-oxm.xml", 1); }
/** * This method will be responsible for schema generation, which will create the JAXBContext we * will use. The eclipselink metadata file will be validated as well. */ public void setUp() throws Exception { super.setUp(); classes = new Class[] {Employee.class}; }