2c2
< // TestSuite.System.Security.Cryptography.AllTests.cs
---
> // TestSuite.System.Security.Cryptography.AllCryptoTests.cs
4c4
< // Authors:
---
> // Author:
6,8d5
< //	Sebastien Pouliot (spouliot@motus.com)
< //
< // Portions (C) 2002 Motus Technologies Inc. (http://www.motus.com)
15,44c12,16
< 
< /// <summary>
< ///   Combines all available crypto unit tests into one test suite.
< /// </summary>
< public class AllTests : TestCase {
< 	public AllTests (string name) : base (name) {}
< 
< 	// because most crypto stuff works with byte[] buffers
< 	static public void AssertEquals (string msg, byte[] array1, byte[] array2)
< 	{
< 		if ((array1 == null) && (array2 == null))
< 			return;
< 		if (array1 == null)
< 			Fail (msg + " -> First array is NULL");
< 		if (array2 == null)
< 			Fail (msg + " -> Second array is NULL");
< 
< 		bool a = (array1.Length == array2.Length);
< 		if (a) {
< 			for (int i = 0; i < array1.Length; i++) {
< 				if (array1 [i] != array2 [i]) {
< 					a = false;
< 					break;
< 				}
< 			}
< 		}
< 		msg += " -> Expected " + BitConverter.ToString (array1, 0);
< 		msg += " is different than " + BitConverter.ToString (array2, 0);
< 		Assert (msg, a);
< 	}
---
>         /// <summary>
>         ///   Combines all available crypto unit tests into one test suite.
>         /// </summary>
>         public class AllTests : TestCase {
>                 public AllTests(string name) : base(name) {}
48c20,21
< 		get {
---
>                         get 
>                         {
54c27,29
< 			suite.AddTest (CryptoConfigTest.Suite);
---
> 				suite.AddTest (RijndaelManagedTest.Suite);
> 				suite.AddTest (MD5Test.Suite);
> 				suite.AddTest (RC2Test.Suite);
58,59c33
< }
< 
---
>         }
