@After
  @Override
  public void tearDown() throws Exception {
    if (_fileEntry != null) {
      DLAppServiceUtil.deleteFileEntry(_fileEntry.getFileEntryId());
    }

    super.tearDown();
  }
Ejemplo n.º 2
0
  @After
  @Override
  public void tearDown() throws Exception {
    ExpandoTable expandoTable =
        ExpandoTableLocalServiceUtil.getDefaultTable(
            PortalUtil.getDefaultCompanyId(), DLFileEntry.class.getName());

    ExpandoTableLocalServiceUtil.deleteTable(expandoTable);

    super.tearDown();
  }