|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.eclipse.xtext.ui.junit.editor.AbstractWorkbenchTest
public abstract class AbstractWorkbenchTest
Abstract base class for test classes that need access to the workbench.
Constructor Summary | |
---|---|
AbstractWorkbenchTest()
|
|
AbstractWorkbenchTest(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
closeEditors()
|
protected void |
closeWelcomePage()
|
protected org.eclipse.ui.IWorkbenchPage |
getActivePage()
|
protected org.eclipse.ui.IWorkbench |
getWorkbench()
|
protected org.eclipse.ui.IWorkbenchWindow |
getWorkbenchWindow()
|
protected void |
setUp()
|
protected void |
sleep(long i)
|
protected void |
tearDown()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractWorkbenchTest()
public AbstractWorkbenchTest(java.lang.String name)
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
protected void closeEditors()
protected void closeWelcomePage() throws java.lang.InterruptedException
java.lang.InterruptedException
protected void sleep(long i) throws java.lang.InterruptedException
java.lang.InterruptedException
protected org.eclipse.ui.IWorkbenchPage getActivePage()
protected org.eclipse.ui.IWorkbenchWindow getWorkbenchWindow()
protected org.eclipse.ui.IWorkbench getWorkbench()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |