Beispiel #1
0
    protected void Button1_Click(object sender, EventArgs e)
    {
        string output = "";

        output         += "DAL层整体简略测试结果:\n";
        output         += TestArticleManager.generalTest(sampleCount);
        output         += TestArticle2GroupManager.generalTest(sampleCount, 0);
        output         += TestGlobalParseManager.generalTest(sampleCount);
        output         += TestLocalParseManager.generalTest(sampleCount);
        output         += TestPrimaryGroupManager.generalTest(sampleCount);
        output         += TestPrimaryGroupKeyWordsManager.generalTest(sampleCount, 0);
        output         += TestTagManager.generalTest(sampleCount, 1);
        output         += TestUserManager.generalTest(sampleCount);
        output         += TestUser2TagManager.generalTest(sampleCount);
        TextArea1.Value = output;
    }
Beispiel #2
0
 protected void Button8_Click(object sender, EventArgs e)
 {
     TextArea1.Value = TestPrimaryGroupManager.test(sampleCount);
 }