Exemplo n.º 1
0
 public void AIDTest()
 {
     Tester target = new Tester(); // TODO: Initialize to an appropriate value
     int expected = 326; // TODO: Initialize to an appropriate value
     int actual;
     target.AID = expected;
     actual = target.AID;
     Assert.AreEqual(expected, actual);
 }
Exemplo n.º 2
0
 public void runTest()
 {
     Tester target = new Tester(); // TODO: Initialize to an appropriate value
     int expected = 1; // TODO: Initialize to an appropriate value
     int actual;
     actual = target.run();
     Assert.AreEqual(expected, actual);
     //Assert.Inconclusive("Verify the correctness of this test method.");
 }
Exemplo n.º 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Tester test = new Tester();
            test.run();
            LinkedListNode<Report> report= test.Reports.First;
            while (report != null)
            {
                String o = report.Value.ToString();
                String[] f = o.Split('|');
                TableRow r = new TableRow();

                foreach (String n in f)
                    {

                            TableCell c = new TableCell();
                            c.Controls.Add(new LiteralControl(n));
                            r.Cells.Add(c);

                    }
                tblOut.Rows.Add(r);

                report = report.Next;
            }
        }
Exemplo n.º 4
0
        public void TesterConstructorTest()
        {
            Tester target = new Tester();

            Assert.AreEqual(target.Tested, 0);
            Assert.IsNotNull(target.Reports);

            //Assert.Inconclusive("TODO: Implement code to verify target");
        }
Exemplo n.º 5
0
 public void TypeTest()
 {
     Tester target = new Tester(); // TODO: Initialize to an appropriate value
     int expected = 1; // TODO: Initialize to an appropriate value
     int actual;
     target.Type = expected;
     actual = target.Type;
     Assert.AreEqual(expected, actual);
 }