|
||||||||||
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.emf.test.edit.provider.TypeSearchTest
public class TypeSearchTest
A test case that demonstrates how getReachableObjectsOfType works. This test case looks for different objects that are reachable in the graph given their type. The test case uses a large dataset and demonstrates BUG #161744;
Field Summary | |
---|---|
static int |
DATASETSIZE
|
Constructor Summary | |
---|---|
TypeSearchTest(java.lang.String name)
|
Method Summary | |
---|---|
protected void |
setUp()
Setup the test case |
static junit.framework.Test |
suite()
|
void |
testFindFirstObject()
Looks to see if it can find the first node in the list. |
void |
testFindLastObject()
Looks to see if it can find the last node in the list. |
void |
testFindMultiType()
See if we can find the 3501 po Objects |
void |
testFindMultiType2()
See if we can find the 350 item Objects |
void |
testFindNoType()
Starting from the otherObject we can't get anywhere. |
void |
testFindSingleType()
See if we can find the 1 otherObject |
void |
testFindWithSuperTypes()
This test cases tests the reachable objects using their supertype. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
Field Detail |
---|
public static final int DATASETSIZE
Constructor Detail |
---|
public TypeSearchTest(java.lang.String name)
Method Detail |
---|
public static junit.framework.Test suite()
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testFindMultiType() throws java.lang.Exception
java.lang.Exception
public void testFindMultiType2() throws java.lang.Exception
java.lang.Exception
public void testFindWithSuperTypes() throws java.lang.Exception
java.lang.Exception
public void testFindSingleType() throws java.lang.Exception
java.lang.Exception
public void testFindNoType() throws java.lang.Exception
java.lang.Exception
public void testFindFirstObject() throws java.lang.Exception
java.lang.Exception
public void testFindLastObject() throws java.lang.Exception
java.lang.Exception
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |