summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Kriese2011-03-22 04:31:09 (EDT)
committerSteffen Kriese2011-03-22 04:31:09 (EDT)
commitc4eb0933196fb0f145ea48d588d3108ffa9f2b22 (patch)
tree06ace62241f95caad709fe23c7121479c98f4e65
parent5126e3e4311061e48ce9d4a30d8c478e6ab77457 (diff)
downloadorg.eclipse.riena-c4eb0933196fb0f145ea48d588d3108ffa9f2b22.zip
org.eclipse.riena-c4eb0933196fb0f145ea48d588d3108ffa9f2b22.tar.gz
org.eclipse.riena-c4eb0933196fb0f145ea48d588d3108ffa9f2b22.tar.bz2
fixed NavigateSubModuleControllerTest
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/client/controller/test/NavigateSubModuleControllerTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/client/controller/test/NavigateSubModuleControllerTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/client/controller/test/NavigateSubModuleControllerTest.java
index ffacb63..2b9832c 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/client/controller/test/NavigateSubModuleControllerTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/client/controller/test/NavigateSubModuleControllerTest.java
@@ -145,18 +145,18 @@ public class NavigateSubModuleControllerTest extends AbstractSubModuleController
verify(getMockNavigationProcessor());
}
- public void testNavigateTableTextAndTree() {
+ public void testNavigateFirstModule() {
final NavigationArgument naviAgr = new NavigationArgument();
naviAgr.setNodePositioner(NodePositioner.ADD_BEGINNING);
expect(
getMockNavigationProcessor().navigate(eq(getController().getNavigationNode()),
- eq(new NavigationNodeId("org.eclipse.riena.example.navigate.tableTextAndTree")), eq(naviAgr)))
- .andReturn(createNavigationNode("org.eclipse.riena.example.navigate.tableTextAndTree"));
+ eq(new NavigationNodeId("org.eclipse.riena.example.navigate.firstmodule")), eq(naviAgr)))
+ .andReturn(createNavigationNode("org.eclipse.riena.example.navigate.firstmodule"));
replay(getMockNavigationProcessor());
- final IActionRidget navigateToTableTextAndTree = getController().getRidget(IActionRidget.class,
- "tableTextAndTree");
- navigateToTableTextAndTree.fireAction();
+ final IActionRidget navigateFirstModule = getController().getRidget(IActionRidget.class,
+ "openAsFirstModule");
+ navigateFirstModule.fireAction();
verify(getMockNavigationProcessor());
}