|
||||||||||
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.command.SetCommandListTest
public class SetCommandListTest
More Tests for SetCommand.
This exercises the cases in SetCommand.create
in which a whole new list value is set. Changes are performed on an instance of the Ecore metamodel, and its state
are tested after execute, undo and redo.
Field Summary | |
---|---|
protected CommandStack |
commandStack
A stack on which the commands are executed. |
protected EditingDomain |
domain
An editing domain for the tests. |
Constructor Summary | |
---|---|
SetCommandListTest(java.lang.String name)
|
Method Summary | |
---|---|
protected EAttribute |
createAttribute(java.lang.String name)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testAddAndRemove()
|
void |
testInsert()
|
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 |
---|
protected CommandStack commandStack
protected EditingDomain domain
Constructor Detail |
---|
public SetCommandListTest(java.lang.String name)
Method Detail |
---|
public static junit.framework.Test suite()
public void setUp()
setUp
in class junit.framework.TestCase
protected EAttribute createAttribute(java.lang.String name)
public void testInsert()
public void testAddAndRemove()
|
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 |