package er.directtoweb; import er.erxtest.ERXTestCase; // import com.webobjects.directtoweb.D2WContext; // import com.webobjects.directtoweb.ERD2WContext; // import er.directtoweb.ERD2WModel; // import er.erxtest.Application; // import er.extensions.ERXExtensions; // import er.extensions.foundation.ERXFileUtilities; public class ERD2WModelTest extends ERXTestCase { /* @Override protected void setUp() throws Exception { super.setUp(); ERXExtensions.initApp(Application.class, new String[0]); } */ public void testModel() { /* ERD2WModel model = null; try { model = new ERD2WModel(new java.net.URL("file://"+ERXFileUtilities.pathForResourceNamed("BugTracker.d2wmodel", null, null))); } catch (java.net.MalformedURLException e) { throw new IllegalArgumentException(e.getMessage()); } D2WContext d2wContext = ERD2WContext.newContext(); d2wContext._setModel(model); //Employee e = //d2wContext.takeValueForKey(object(), "object"); //d2wContext.setEntity(EOUtilities.entityNamed(object().editingContext(), object().entityName())); //d2wContext.setTask("inspect"); */ } }