Permalink
Browse files

refine code.

  • Loading branch information...
1 parent cbdcf1c commit 828b070fcacaeca43c7402a1295f7391122ebc74 @vmi committed Jan 5, 2017
Showing with 48 additions and 50 deletions.
  1. +48 −50 src/main/java/jp/vmi/selenium/selenese/command/CommandFactory.java
@@ -40,68 +40,66 @@ private static void addConstructor(Class<? extends ICommand> cmdClass, String...
static {
addConstructor(AddLocationStrategy.class);
- addConstructor(Open.class);
- addConstructor(OpenWindow.class);
- addConstructor(RunScript.class);
- addConstructor(Highlight.class);
- addConstructor(WindowMaximize.class);
- addConstructor(SelectFrame.class);
- addConstructor(WaitForPageToLoad.class);
- addConstructor(WaitForCondition.class);
- addConstructor(SelectWindow.class);
- addConstructor(SelectPopUp.class);
- addConstructor(DeselectPopUp.class);
- addConstructor(WaitForPopUp.class);
- addConstructor(Click.class);
- addConstructor(ClickAt.class);
- addConstructor(Check.class);
- addConstructor(DoubleClick.class);
- addConstructor(Select.class);
- addConstructor(Submit.class);
- addConstructor(Type.class);
- addConstructor(TypeKeys.class, "sendKeys");
- addConstructor(Uncheck.class);
+ addConstructor(AddSelection.class);
+ addConstructor(AllowNativeXpath.class);
addConstructor(AltKeyDown.class);
addConstructor(AltKeyUp.class);
- addConstructor(ControlKeyDown.class);
- addConstructor(ControlKeyUp.class);
- addConstructor(MetaKeyDown.class);
- addConstructor(MetaKeyUp.class);
- addConstructor(ShiftKeyDown.class);
- addConstructor(ShiftKeyUp.class);
- addConstructor(KeyDown.class);
- addConstructor(KeyPress.class);
- addConstructor(KeyUp.class);
- addConstructor(AddSelection.class);
- addConstructor(RemoveSelection.class);
- addConstructor(RemoveAllSelections.class);
addConstructor(AnswerOnNextPrompt.class);
- addConstructor(ChooseOkOnNextConfirmation.class);
- addConstructor(ChooseCancelOnNextConfirmation.class);
- addConstructor(SetCursorPosition.class);
- addConstructor(AttachFile.class);
- addConstructor(DragAndDrop.class, "dragdrop");
- addConstructor(DragAndDropToObject.class);
- addConstructor(FireEvent.class);
- addConstructor(Focus.class);
- addConstructor(AllowNativeXpath.class);
addConstructor(AssignId.class);
+ addConstructor(AttachFile.class);
+ addConstructor(CaptureEntirePageScreenshot.class);
+ addConstructor(Check.class);
+ addConstructor(ChooseCancelOnNextConfirmation.class);
+ addConstructor(ChooseOkOnNextConfirmation.class);
+ addConstructor(Click.class);
+ addConstructor(ClickAt.class);
addConstructor(Close.class);
+ addConstructor(ControlKeyDown.class);
+ addConstructor(ControlKeyUp.class);
addConstructor(CreateCookie.class);
addConstructor(DeleteAllVisibleCookies.class);
addConstructor(DeleteCookie.class);
- addConstructor(GoBack.class);
- addConstructor(Refresh.class);
- addConstructor(UseXpathLibrary.class);
- addConstructor(WindowFocus.class);
-
- // commands unsupported by WebDriverCommandProcessor
+ addConstructor(DeselectPopUp.class);
+ addConstructor(DoubleClick.class);
+ addConstructor(DragAndDrop.class, "dragdrop");
+ addConstructor(DragAndDropToObject.class);
addConstructor(Echo.class);
- addConstructor(CaptureEntirePageScreenshot.class);
+ addConstructor(FireEvent.class);
+ addConstructor(Focus.class);
+ addConstructor(GoBack.class);
+ addConstructor(Highlight.class);
+ addConstructor(KeyDown.class);
+ addConstructor(KeyPress.class);
+ addConstructor(KeyUp.class);
+ addConstructor(MetaKeyDown.class);
+ addConstructor(MetaKeyUp.class);
+ addConstructor(Open.class);
+ addConstructor(OpenWindow.class);
addConstructor(Pause.class);
+ addConstructor(Refresh.class);
+ addConstructor(RemoveAllSelections.class);
+ addConstructor(RemoveSelection.class);
+ addConstructor(Rollup.class);
+ addConstructor(RunScript.class);
+ addConstructor(Select.class);
+ addConstructor(SelectFrame.class);
+ addConstructor(SelectPopUp.class);
+ addConstructor(SelectWindow.class);
+ addConstructor(SetCursorPosition.class);
addConstructor(SetSpeed.class);
addConstructor(SetTimeout.class);
- addConstructor(Rollup.class);
+ addConstructor(ShiftKeyDown.class);
+ addConstructor(ShiftKeyUp.class);
+ addConstructor(Submit.class);
+ addConstructor(Type.class);
+ addConstructor(TypeKeys.class, "sendKeys");
+ addConstructor(Uncheck.class);
+ addConstructor(UseXpathLibrary.class);
+ addConstructor(WaitForCondition.class);
+ addConstructor(WaitForPageToLoad.class);
+ addConstructor(WaitForPopUp.class);
+ addConstructor(WindowFocus.class);
+ addConstructor(WindowMaximize.class);
// commands of selenium-ide-flowcontrol
// https://github.com/davehunt/selenium-ide-flowcontrol

0 comments on commit 828b070

Please sign in to comment.