Example #1
0
 public void AltitudeTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     double actual;
     actual = target.Altitude;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #2
0
 public void ActionTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     string actionName = string.Empty; // TODO: Initialize to an appropriate value
     string actionParameters = string.Empty; // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.Action(actionName, actionParameters);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #3
0
 //public SetupDialogForm(ASCOM_Telescope telescope)
 //public SetupDialogForm(ASCOM.DriverAccess.Telescope telescope)
 public SetupDialogForm(Dome parent)
 {
     InitializeComponent();
     //_telescope = telescope;
     _parent = parent;
     // Initialise current values of user settings from the ASCOM Profile
     DomeCOMLabel.Text = Properties.Resources.DomeCOMLabelContent;
     foreach (string s in SerialPort.GetPortNames())
     {
         DomeCOMcomboBox.Items.Add(s);
     }
     chkTrace.Checked = Dome.traceState;
     TelesChooseLabel.Text = Properties.Resources.TelescopeChooserLabelContent;
     TelescopeChooserButton.Text = Properties.Resources.TelescopeChooserButtonContent;
     cmdOK.Text = Properties.Resources.cmdOKLabel;
     cmdCancel.Text = Properties.Resources.cmdCancelLabel;
 }
Example #4
0
 public void SyncedTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     target.Synced = expected;
     actual = target.Synced;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #5
0
 public void ThresholdTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     double expected = 0F; // TODO: Initialize to an appropriate value
     double actual;
     target.Threshold = expected;
     actual = target.Threshold;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #6
0
 public void SlewToAltitudeTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     double Altitude = 0F; // TODO: Initialize to an appropriate value
     target.SlewToAltitude(Altitude);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Example #7
0
 public void SupportedActionsTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     ArrayList actual;
     actual = target.SupportedActions;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #8
0
 public void DomeConstructorTest()
 {
     Dome target = new Dome();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Example #9
0
 public void SlewingTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.Slewing;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #10
0
 public void ShutterStatusTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     ShutterState actual;
     actual = target.ShutterStatus;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #11
0
 public void WriteProfileTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     target.WriteProfile();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Example #12
0
 public void InterfaceVersionTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     short actual;
     actual = target.InterfaceVersion;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #13
0
 public void motor_accelleration_timeTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     uint expected = 0; // TODO: Initialize to an appropriate value
     uint actual;
     target.motor_accelleration_time = expected;
     actual = target.motor_accelleration_time;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #14
0
 public void getArduinoPortNameTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.getArduinoPortName();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #15
0
 public void encoder_resolutionTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     uint expected = 0; // TODO: Initialize to an appropriate value
     uint actual;
     target.encoder_resolution = expected;
     actual = target.encoder_resolution;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #16
0
 public void DriverInfoTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     string actual;
     actual = target.DriverInfo;
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #17
0
 public void CommandStringTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     string command = string.Empty; // TODO: Initialize to an appropriate value
     bool raw = false; // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.CommandString(command, raw);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #18
0
 public void CommandBlindTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     string command = string.Empty; // TODO: Initialize to an appropriate value
     bool raw = false; // TODO: Initialize to an appropriate value
     target.CommandBlind(command, raw);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Example #19
0
 public void UnsyncToAzimuthTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     target.UnsyncToAzimuth();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Example #20
0
 public void SleewingSleepTimeTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     int expected = 0; // TODO: Initialize to an appropriate value
     int actual;
     target.SleewingSleepTime = expected;
     actual = target.SleewingSleepTime;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #21
0
 public void CloseShutterTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     target.CloseShutter();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Example #22
0
 public void configureFirmwareTest()
 {
     Dome target = new Dome(); // TODO: Initialize to an appropriate value
     target.configureFirmware();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }