Example #1
0
 @Override
 protected void tearDown() throws Exception {
   hover = null;
   fHeaderElement = null;
   fQueryHelper = null;
   super.tearDown();
 }
Example #2
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    HTMLMetadataLoader loader = new HTMLMetadataLoader();
    loader.schedule();
    loader.join();

    hover =
        new HTMLTextHover() {

          @Override
          public String getHeader(Object element, IEditorPart editorPart, IRegion hoverRegion) {
            fHeaderElement = element;
            return super.getHeader(element, editorPart, hoverRegion);
          }
        };
    fQueryHelper = new HTMLIndexQueryHelper();
  }