use of org.jboss.tools.hibernate.reddeer.view.JPADetailsView in project jbosstools-hibernate by jbosstools.
the class JPADetailsViewTest method testJPADetailView.
@Test
public void testJPADetailView() {
ProjectUtils.getItem(PRJ, "org.gen", "Actor.java").open();
TextEditor textEditor = new TextEditor("Actor.java");
textEditor.setCursorPosition(20, 1);
JPADetailsView jpaDetailsView = new JPADetailsView();
jpaDetailsView.open();
try {
new DefaultStyledText("Type 'Actor' is mapped as entity.");
} catch (RedDeerException e) {
fail("JPA details should be available - known issue - https://issues.jboss.org/browse/JBIDE-17940");
}
}
use of org.jboss.tools.hibernate.reddeer.view.JPADetailsView in project jbosstools-hibernate by jbosstools.
the class JPAUIPartsTest method testHibernateViews.
@Test
public /**
* Tests JPA perspective
* Tests JPA views
* - JPA Details
* - JPA Structure
*/
void testHibernateViews() {
checkView(new JPADetailsView());
checkView(new JPAStructureView());
}
Aggregations