Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@ximian.com>2004-04-23 00:18:12 +0400
committerSebastien Pouliot <sebastien@ximian.com>2004-04-23 00:18:12 +0400
commitd172ad276f5612dec89002aef9cb290af493c2a8 (patch)
treedbc02b9fbd9cf224611c4a6df0e443ab4260d7d9 /mcs/class/Mono.Security
parentdb044555028c94279f0788bc326bff727b2dbceb (diff)
2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
* SoftwarePublisherCertificateTest.cs: Ajusted to changes in the assembly. svn path=/trunk/mcs/; revision=25866
Diffstat (limited to 'mcs/class/Mono.Security')
-rw-r--r--mcs/class/Mono.Security/Test/Mono.Security.Authenticode/ChangeLog5
-rw-r--r--mcs/class/Mono.Security/Test/Mono.Security.Authenticode/SoftwarePublisherCertificateTest.cs18
2 files changed, 14 insertions, 9 deletions
diff --git a/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/ChangeLog b/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/ChangeLog
index dc6505aa354..9430d28f7b0 100644
--- a/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/ChangeLog
+++ b/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
+
+ * SoftwarePublisherCertificateTest.cs: Ajusted to changes in the
+ assembly.
+
2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* SoftwarePublisherCertificateTest.cs: Repaired test build.
diff --git a/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/SoftwarePublisherCertificateTest.cs b/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/SoftwarePublisherCertificateTest.cs
index 0a9476e5ca7..54e99f49e60 100644
--- a/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/SoftwarePublisherCertificateTest.cs
+++ b/mcs/class/Mono.Security/Test/Mono.Security.Authenticode/SoftwarePublisherCertificateTest.cs
@@ -427,7 +427,7 @@ namespace MonoTests.Mono.Security.Authenticode {
WriteBuffer (certonly);
SoftwarePublisherCertificate spc = SoftwarePublisherCertificate.CreateFromFile (testfile);
AssertEquals ("certonly.Certificates", 1, spc.Certificates.Count);
- AssertEquals ("certonly.CRL", 0, spc.CRLs.Count);
+ AssertEquals ("certonly.Crl", 0, spc.Crls.Count);
}
[Test]
@@ -442,7 +442,7 @@ namespace MonoTests.Mono.Security.Authenticode {
SoftwarePublisherCertificate newerspc = new SoftwarePublisherCertificate (newcertonly);
AssertEquals ("certonly.Certificates", 1, newerspc.Certificates.Count);
- AssertEquals ("certonly.CRL", 0, newerspc.CRLs.Count);
+ AssertEquals ("certonly.Crl", 0, newerspc.Crls.Count);
}
[Test]
@@ -451,7 +451,7 @@ namespace MonoTests.Mono.Security.Authenticode {
WriteBuffer (crlonly);
SoftwarePublisherCertificate spc = SoftwarePublisherCertificate.CreateFromFile (testfile);
AssertEquals ("crlonly.Certificates", 0, spc.Certificates.Count);
- AssertEquals ("crlonly.CRL", 1, spc.CRLs.Count);
+ AssertEquals ("crlonly.Crl", 1, spc.Crls.Count);
}
[Test]
@@ -460,13 +460,13 @@ namespace MonoTests.Mono.Security.Authenticode {
WriteBuffer (crlonly);
SoftwarePublisherCertificate spc = SoftwarePublisherCertificate.CreateFromFile (testfile);
SoftwarePublisherCertificate newspc = new SoftwarePublisherCertificate ();
- newspc.CRLs.Add (spc.CRLs [0]);
+ newspc.Crls.Add (spc.Crls [0]);
byte[] newcrlonly = newspc.GetBytes ();
AssertEquals ("crlonly.compare", crlonly, newcrlonly);
SoftwarePublisherCertificate newerspc = new SoftwarePublisherCertificate (newcrlonly);
AssertEquals ("crlonly.Certificates", 0, newerspc.Certificates.Count);
- AssertEquals ("crlonly.CRL", 1, newerspc.CRLs.Count);
+ AssertEquals ("crlonly.Crl", 1, newerspc.Crls.Count);
}
[Test]
@@ -475,7 +475,7 @@ namespace MonoTests.Mono.Security.Authenticode {
WriteBuffer (navy);
SoftwarePublisherCertificate spc = SoftwarePublisherCertificate.CreateFromFile (testfile);
AssertEquals ("navy.Certificates", 3, spc.Certificates.Count);
- AssertEquals ("navy.CRL", 2, spc.CRLs.Count);
+ AssertEquals ("navy.Crl", 2, spc.Crls.Count);
}
[Test]
@@ -486,14 +486,14 @@ namespace MonoTests.Mono.Security.Authenticode {
SoftwarePublisherCertificate newspc = new SoftwarePublisherCertificate ();
foreach (MSX.X509Certificate x in spc.Certificates)
newspc.Certificates.Add (x);
- foreach (byte[] crl in spc.CRLs)
- newspc.CRLs.Add (crl);
+ foreach (byte[] crl in spc.Crls)
+ newspc.Crls.Add (crl);
byte[] newnavy = newspc.GetBytes ();
AssertEquals ("navy.compare", navy, newnavy);
SoftwarePublisherCertificate newerspc = new SoftwarePublisherCertificate (newnavy);
AssertEquals ("navy.Certificates", 3, newerspc.Certificates.Count);
- AssertEquals ("navy.CRL", 2, newerspc.CRLs.Count);
+ AssertEquals ("navy.Crl", 2, newerspc.Crls.Count);
}
}
}