|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.eclipse.swtbot.swt.finder.SWTBotTestCase
org.eclipse.emf.ecp.view.ui.editor.test.ECPCommonSWTBotTest
org.eclipse.emf.ecp.view.ui.editor.test.OpenEditorTest
public class OpenEditorTest
Test case that renders a view, disposes it and checks whether the view is garbage collectable.
Constructor Summary | |
---|---|
OpenEditorTest(boolean isDomainCollectable)
|
Method Summary | |
---|---|
static void |
afterClass()
|
void |
assertions(double before,
double after)
Can be overridden to add assertions at end of execution. |
org.eclipse.emf.ecore.EObject |
createDomainObject()
|
VView |
createView()
|
static Collection<Object[]> |
data()
|
void |
logic()
|
Methods inherited from class org.eclipse.emf.ecp.view.ui.editor.test.ECPCommonSWTBotTest |
---|
getDomainObject, getSWTViewCollectable, setDomainObject, setUp, test, unsetDomainObject, unsetSWTViewCollectable, usedMemory |
Methods inherited from class org.eclipse.swtbot.swt.finder.SWTBotTestCase |
---|
assertContains, assertDoesNotContain, assertEnabled, assertMatchesRegex, assertMatchesRegex, assertMatchesRegex, assertNotEnabled, assertNotSameWidget, assertNotSameWidget, assertNotVisible, assertSameWidget, assertSameWidget, assertText, assertText, assertTextContains, assertTextContains, assertTextDoesNotContain, assertTextDoesNotContain, assertVisible, captureScreenshot, pass, runBare |
Methods inherited from class junit.framework.TestCase |
---|
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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OpenEditorTest(boolean isDomainCollectable)
Method Detail |
---|
public static Collection<Object[]> data()
public static void afterClass()
public void logic()
logic
in class ECPCommonSWTBotTest
ECPCommonSWTBotTest.logic()
public void assertions(double before, double after)
ECPCommonSWTBotTest
assertions
in class ECPCommonSWTBotTest
public org.eclipse.emf.ecore.EObject createDomainObject()
createDomainObject
in class ECPCommonSWTBotTest
ECPCommonSWTBotTest.createDomainObject()
public VView createView()
createView
in class ECPCommonSWTBotTest
ECPCommonSWTBotTest.createView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |