Author: spouliot
Date: 2006-12-07 16:16:42 -0500 (Thu, 07 Dec 2006)
New Revision: 69206
Modified:
trunk/mcs/class/System/ChangeLog
trunk/mcs/class/System/Makefile
trunk/mcs/class/System/System_test.dll.sources
Log:
2006-12-07 Sebastien Pouliot <[EMAIL PROTECTED]>
* Makefile: Detect PKITS data and, if available, include the unit
tests with the [Category("PKITS")] attribute.
* System_test.dll.sources: Add PKITS-based unit tests for X509Chain.
Modified: trunk/mcs/class/System/ChangeLog
===================================================================
--- trunk/mcs/class/System/ChangeLog 2006-12-07 21:14:10 UTC (rev 69205)
+++ trunk/mcs/class/System/ChangeLog 2006-12-07 21:16:42 UTC (rev 69206)
@@ -1,3 +1,9 @@
+2006-12-07 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * Makefile: Detect PKITS data and, if available, include the unit
+ tests with the [Category("PKITS")] attribute.
+ * System_test.dll.sources: Add PKITS-based unit tests for X509Chain.
+
2006-11-27 Andrew Skiba <[EMAIL PROTECTED]>
* System-tests20.sln, System-tests20.vmcsproj, run-tests.bat: added
Modified: trunk/mcs/class/System/Makefile
===================================================================
--- trunk/mcs/class/System/Makefile 2006-12-07 21:14:10 UTC (rev 69205)
+++ trunk/mcs/class/System/Makefile 2006-12-07 21:16:42 UTC (rev 69206)
@@ -99,3 +99,12 @@
cp $< $@
CLEAN_FILES = $(test_lib).config
+
+# run the PKITS tests only if the data was installed/activated, otherwise
ignore them
+ifeq (net_2_0, $(PROFILE))
+pkits_files := $(wildcard
Test/System.Security.Cryptography.X509Certificates/pkits/hint)
+ifndef pkits_files
+TEST_HARNESS_EXCLUDES = /exclude:NotWorking,ValueAdd,CAS,InetAccess,PKITS
+TEST_HARNESS_EXCLUDES_ONDOTNET = /exclude:NotDotNet,CAS,PKITS
+endif
+endif
Modified: trunk/mcs/class/System/System_test.dll.sources
===================================================================
--- trunk/mcs/class/System/System_test.dll.sources 2006-12-07 21:14:10 UTC
(rev 69205)
+++ trunk/mcs/class/System/System_test.dll.sources 2006-12-07 21:16:42 UTC
(rev 69206)
@@ -198,6 +198,23 @@
System.Security.Cryptography/OidCollectionTest.cs
System.Security.Cryptography/OidEnumeratorTest.cs
System.Security.Cryptography/OidTest.cs
+System.Security.Cryptography.X509Certificates/PkitsTest.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_01_SignatureVerification.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_02_ValidityPeriod.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_03_VerifyingNameChaining.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_04_BasicCertificateRevocationTests.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_05_VerifyingPathWithSelfIssuedCertificates.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_06_VerifyingBasicConstraints.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_07_KeyUsage.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_08_CertificatePolicies.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_09_RequireExplicitPolicy.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_10_PolicyMappings.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_11_InhibitPolicyMapping.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_12_InhibitAnyPolicy.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_13_NameConstraints.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_14_DistributionPoints.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_15_DeltaCRL.cs
+System.Security.Cryptography.X509Certificates/Pkits_4_16_PrivateCertificateExtensions.cs
System.Security.Cryptography.X509Certificates/PublicKeyTest.cs
System.Security.Cryptography.X509Certificates/X500DistinguishedNameTest.cs
System.Security.Cryptography.X509Certificates/X509BasicConstraintsExtensionTest.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches