コード例 #1
0
ファイル: arrayilistclear.cs プロジェクト: CheneyWu/coreclr
    public static int Main(string[] args)
    {
        ArrayIListClear aIListClear = new ArrayIListClear();
        TestLibrary.TestFramework.BeginScenario("Testing Array.System.Collections.IList.clear...");

        if (aIListClear.RunTests())
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("PASS");
            return 100;
        }
        else
        {
            TestLibrary.TestFramework.EndTestCase();
            TestLibrary.TestFramework.LogInformation("FAIL");
            return 0;
        }
    }