Exemple #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.");
 }
Exemple #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.");
 }
 //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;
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #8
0
 public void DomeConstructorTest()
 {
     Dome target = new Dome();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }
Exemple #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.");
 }