dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System/Security/Cryptog


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/tests/runtime/System/Security/Cryptography SuiteCryptography.cs,NONE,1.1 TestCryptography.cs,1.3,NONE
Date: Thu, 28 Nov 2002 23:09:15 -0500

Update of 
/cvsroot/dotgnu-pnet/pnetlib/tests/runtime/System/Security/Cryptography
In directory 
subversions:/tmp/cvs-serv28588/tests/runtime/System/Security/Cryptography

Added Files:
        SuiteCryptography.cs 
Removed Files:
        TestCryptography.cs 
Log Message:


Rearrange the tests so that each major namespace is in its own suite.


--- NEW FILE ---
/*
 * SuiteCryptography.cs - Tests for the
 *              "System.Security.Cryptography" namespace.
 *
 * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

using CSUnit;
using System;

public class SuiteCryptography
{

        public static TestSuite Suite()
                        {
                                TestSuite suite = new TestSuite("Cryptography 
Tests");
                        #if !ECMA_COMPAT
                                suite.AddTests(typeof(TestAES));
                                suite.AddTests(typeof(TestDES));
                                suite.AddTests(typeof(TestRC2));
                                suite.AddTests(typeof(TestTripleDES));
                                suite.AddTests(typeof(TestMD5));
                                suite.AddTests(typeof(TestSHA1));
                                suite.AddTests(typeof(TestSHA256));
                                suite.AddTests(typeof(TestSHA384));
                                suite.AddTests(typeof(TestSHA512));
                                suite.AddTests(typeof(TestRNG));
                        #endif
                                return suite;
                        }

}; // class SuiteCryptography

--- TestCryptography.cs DELETED ---





reply via email to

[Prev in Thread] Current Thread [Next in Thread]