-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement closeApp for silverlight apps #168
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great.
@@ -89,6 +91,25 @@ public string DeviceName | |||
|
|||
#region Public Methods and Operators | |||
|
|||
public static AppType DetermineAppType(string packagePath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be made private?
var remoteCommand = new Command(DriverCommand.CloseApp); | ||
automator.CommandForwarder.ForwardCommand(remoteCommand); | ||
Thread.Sleep(TimeSpan.FromMilliseconds(500)); | ||
if (automator.Deployer.AppType == AppType.XAP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add IsTerminatable
into Deployer
? At the moment this condition is basically duplicated both her and in Deployer.
Or we can make Terminate
return a bool: true
if it can and did in fact terminated the app, false
if it can not.
No description provided.