Exemple #1
0
        public void StudentIdTest()
        {
            Student_Accessor target   = new Student_Accessor();
            const string     expected = "Student1";

            target.StudentId = expected;
            Assert.AreEqual(expected, target.StudentId);
        }
 public void btnSpeakWord_ClickTest()
 {
     PrivateObject param0 = null; // TODO: Initialize to an appropriate value
     Student_Accessor target = new Student_Accessor(param0); // TODO: Initialize to an appropriate value
     object sender = null; // TODO: Initialize to an appropriate value
     EventArgs e = null; // TODO: Initialize to an appropriate value
     target.btnSpeakWord_Click(sender, e);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void UpdateFormTest()
 {
     PrivateObject param0 = null; // TODO: Initialize to an appropriate value
     Student_Accessor target = new Student_Accessor(param0); // TODO: Initialize to an appropriate value
     bool right = false; // TODO: Initialize to an appropriate value
     target.UpdateForm(right);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void SpeakTest()
 {
     PrivateObject param0 = null; // TODO: Initialize to an appropriate value
     Student_Accessor target = new Student_Accessor(param0); // TODO: Initialize to an appropriate value
     target.Speak();
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
 public void DisposeTest()
 {
     PrivateObject param0 = null; // TODO: Initialize to an appropriate value
     Student_Accessor target = new Student_Accessor(param0); // TODO: Initialize to an appropriate value
     bool disposing = false; // TODO: Initialize to an appropriate value
     target.Dispose(disposing);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }