コード例 #1
0
ファイル: TesterTest.cs プロジェクト: cweber-wou/capstone
 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);
 }
コード例 #2
0
ファイル: TesterTest.cs プロジェクト: cweber-wou/capstone
 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.");
 }
コード例 #3
0
ファイル: blank.aspx.cs プロジェクト: cweber-wou/capstone
        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;
            }
        }
コード例 #4
0
ファイル: TesterTest.cs プロジェクト: cweber-wou/capstone
        public void TesterConstructorTest()
        {
            Tester target = new Tester();

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

            //Assert.Inconclusive("TODO: Implement code to verify target");
        }
コード例 #5
0
ファイル: TesterTest.cs プロジェクト: cweber-wou/capstone
 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);
 }