Added more unit testing to the telescope driver.

This commit is contained in:
2019-07-13 01:15:05 +01:00
parent 4ea22d9455
commit 02f69b54a4
2 changed files with 107 additions and 3 deletions
+3 -1
View File
@@ -157,6 +157,8 @@ namespace ASCOM.Meade.net
public string Action(string actionName, string actionParameters)
{
CheckConnected("Action");
switch (actionName.ToLower())
{
case "handbox":
@@ -1978,7 +1980,7 @@ namespace ASCOM.Meade.net
{
if (!IsConnected)
{
throw new ASCOM.NotConnectedException(message);
throw new ASCOM.NotConnectedException($"Not connected to telescope when trying to execute: {message}");
}
}