/* (non-Javadoc) * @see org.jboss.tools.vpe.ui.test.VpeTest#tearDown() */ @Override protected void tearDown() throws Exception { ELReferenceList.getInstance().setAllResources(this.file, new ResourceReference[0]); if (getException() != null) { throw new Exception(getException()); } super.tearDown(); }
@Override protected void setUp() throws Exception { super.setUp(); setException(null); this.file = (IFile) TestUtil.getComponentPath( TEST_FILE_NAME, //$NON-NLS-1$ JsfAllTests.IMPORT_PROJECT_NAME); ResourceReference[] entries = new ResourceReference[1]; entries[0] = new ResourceReference("request.contextPath", ResourceReference.FILE_SCOPE); entries[0].setProperties("contextPathFolder"); ELReferenceList.getInstance().setAllResources(this.file, entries); }