public void updateDurationTest9999()
 {
     VideoRegistrationForm_Accessor target = new VideoRegistrationForm_Accessor();
     target.mtbDuration.Text = "9999";
     target.updateDuration();
     Assert.AreEqual(9999, target.duration);
 }
 public void updateDurationTest220min()
 {
     VideoRegistrationForm_Accessor target = new VideoRegistrationForm_Accessor();
     target.mtbDuration.Text = "0220";
     target.updateDuration();
     Assert.AreEqual(220, target.duration);
 }
 public void updateDurationTest9999inHours()
 {
     VideoRegistrationForm_Accessor target = new VideoRegistrationForm_Accessor();
     target.mtbDuration.Text = "9999";
     target.rbInHours.Checked = true;
     target.updateDuration();
     Assert.AreEqual(6039, target.duration);
 }
 public void updateDurationTestEmptyString()
 {
     VideoRegistrationForm_Accessor target = new VideoRegistrationForm_Accessor();
     target.mtbDuration.Text = "";
     target.updateDuration();
     Assert.AreEqual(0, target.duration);
 }