|
||||||||||
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.cdt.managedbuilder.ui.tests.TestCustomPageManager
public class TestCustomPageManager
This class is responsible for testing the functionality of the custom page manager (MBSCustomPageManager) that manages custom wizard pages that are provided by ISVs to supplement the pages in the New Project wizards for Managed Build. The idea behind the test plan is pretty simple. There are seven custom wizard pages specified by this plugin. One page has no restrictions placed upon it and thus should always be present. There are two pages which are constrained by different natures respectively, two constrained by different toolchains, and two constrained by different project types. The goal is to change around what options (i.e. nature, project type, toolchain) a hypothetical user would set, and then check to see if the proper pages are displayed in the proper order.
Field Summary | |
---|---|
static boolean |
testFlag
|
Constructor Summary | |
---|---|
TestCustomPageManager(java.lang.String name)
|
Method Summary | |
---|---|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testMultiplePages()
Set nature to A, toolchain to C, project type to D. |
void |
testNatureA()
Set the nature to "A". |
void |
testNatureB()
Set the nature to "B". |
void |
testOneVisiblePage()
Test with a setup such that only an unconstrained page should show up. |
void |
testOperation()
|
void |
testProjectTypeD()
Set the project type to "D". |
void |
testProjectTypeE()
Set the project type to "E". |
void |
testToolchainC()
Set the toolchain to "C". |
void |
testToolchainCv20()
Set the toolchain to "C_2.0.0". |
void |
testToolchainF()
Set the toolchain to "F". |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static boolean testFlag
Constructor Detail |
---|
public TestCustomPageManager(java.lang.String name)
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testOneVisiblePage()
public void testNatureA()
public void testNatureB()
public void testToolchainC()
public void testToolchainCv20()
public void testProjectTypeD()
public void testProjectTypeE()
public void testToolchainF()
public void testMultiplePages()
public void testOperation() throws java.lang.Exception
java.lang.Exception
public static junit.framework.Test suite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |