diff options
author | Quentin Le Menez | 2017-01-13 15:40:01 +0000 |
---|---|---|
committer | Quentin Le Menez | 2017-01-29 19:48:16 +0000 |
commit | 548e94c993a9180b7ec2456d6315fb97826e4eb8 (patch) | |
tree | 1d3172250965cebd472e9f33db13da0b199ea1bb /tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/IPageMngrTest.java | |
parent | 3d13a24f0e87042701a231444ea135ec0cc614b3 (diff) | |
download | org.eclipse.papyrus-548e94c993a9180b7ec2456d6315fb97826e4eb8.tar.gz org.eclipse.papyrus-548e94c993a9180b7ec2456d6315fb97826e4eb8.tar.xz org.eclipse.papyrus-548e94c993a9180b7ec2456d6315fb97826e4eb8.zip |
Bug 510937 - [TEST] [REFACTOR] [OXYGEN] The tests for Papyrus' main plugins should be clearer to visualize during execution on the server and segmented to respect the plugin's architecture
Change-Id: I5125c9ae1552ef8144aff12881e0ba2cfb1be102
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Diffstat (limited to 'tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/IPageMngrTest.java')
-rw-r--r-- | tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/IPageMngrTest.java | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/IPageMngrTest.java b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/IPageMngrTest.java new file mode 100644 index 00000000000..73ae5b404ea --- /dev/null +++ b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/IPageMngrTest.java @@ -0,0 +1,58 @@ +/** + * + */ +package org.eclipse.papyrus.infra.core.sasheditor.contentprovider; + +import junit.framework.TestCase; + +import org.junit.After; +import org.junit.Before; + + +/** + * Base class for testing real implementation of ContentProvider. + * Real implementation should subclass this class, and implement the create method. + * + * @author cedric dumoulin + * + */ +public abstract class IPageMngrTest extends TestCase { + + /** + * The public API allowing to access to the implementation. + */ + protected ISashWindowsContentProvider contentProvider; + + /** + * The public API allowing to access to the implementation. + */ + // protected IPageMngr pageMngr; + + /** + * Setup the test. + * + * @see junit.framework.TestCase#setUp() + * + * @throws Exception + */ + @Before + @Override + protected void setUp() throws Exception { + // TODO Auto-generated method stub + super.setUp(); + } + + @After + @Override + protected void tearDown() throws Exception { + // TODO Auto-generated method stub + super.tearDown(); + } + + /** + * Test that the pageIdentifier passed to addPAge() is provided back from {@link ISashWindowsContainer#getActiveEditor()()} + */ + public void testAddPage() { + + } +} |