Skip to content

Commit

Permalink
Change contextual test menu to Run Test
Browse files Browse the repository at this point in the history
Fixes [CHE-157](https://issues.jboss.org/browse/CHE-157)

Signed-off-by: David Festal <[email protected]>
  • Loading branch information
davidfestal committed Mar 18, 2017
1 parent 556c802 commit 3a46d90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public interface TestLocalizationConstant extends Messages {
@Key("actionGroup.menu.name")
String actionGroupMenuName();

@Key("contextActionGroup.menu.name")
String contextActionGroupMenuName();

/* Titles */

@Key("title.testResultPresenter")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public TestingExtension(ActionManager actionManager,
runMenu.addSeparator();
runMenu.add(testMainMenu);
DefaultActionGroup explorerMenu = (DefaultActionGroup) actionManager.getAction(GROUP_MAIN_CONTEXT_MENU);
DefaultActionGroup testContextMenu = new DefaultActionGroup(localization.actionGroupMenuName(), true,
DefaultActionGroup testContextMenu = new DefaultActionGroup(localization.contextActionGroupMenuName(), true,
actionManager);
actionManager.registerAction("TestingContextGroup", testContextMenu);
for (TestAction testAction : testActions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#

actionGroup.menu.name = Test
contextActionGroup.menu.name = Run Test

########## Titles ############
title.testResultPresenter = Test Results
Expand Down

0 comments on commit 3a46d90

Please sign in to comment.