Examples of BadNodeInformation


Examples of org.eclipse.wb.internal.core.utils.state.EditorState.BadNodeInformation

  private void check_constructorEvaluation_actualOnlyException(String exceptionNodeSource) {
    List<BadNodeInformation> badNodes = m_lastState.getBadRefreshNodes().nodes();
    assertThat(badNodes).hasSize(1);
    {
      BadNodeInformation badNode = badNodes.get(0);
      check_constructorEvaluation_badNode(badNode, exceptionNodeSource, "actual");
    }
  }
View Full Code Here

Examples of org.eclipse.wb.internal.core.utils.state.EditorState.BadNodeInformation

    {
      String exceptionNodeSource = "new MyButton(0)";
      List<BadNodeInformation> badNodes = m_lastState.getBadRefreshNodes().nodes();
      assertThat(badNodes).hasSize(2);
      {
        BadNodeInformation badNode = badNodes.get(0);
        check_constructorEvaluation_badNode(badNode, exceptionNodeSource, "actual");
      }
      {
        BadNodeInformation badNode = badNodes.get(1);
        check_constructorEvaluation_badNode(badNode, exceptionNodeSource, "default");
      }
    }
  }
View Full Code Here

Examples of org.eclipse.wb.internal.core.utils.state.EditorState.BadNodeInformation

  }

  private void assert_placeholderException() {
    List<BadNodeInformation> nodes = m_lastState.getBadRefreshNodes().nodes();
    assertThat(nodes).hasSize(1);
    BadNodeInformation node = nodes.get(0);
    Throwable exception = node.getException();
    exception = DesignerExceptionUtils.getRootCause(exception);
    assertThat(exception).isExactlyInstanceOf(IllegalStateException.class);
    assertEquals("actual", exception.getMessage());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.