Commit Graph
58 Commits
Author SHA1 Message Date
Sebastien Pouliot 3545dd5eff 2004-07-09 Sebastien Pouliot <[email protected]>
* Removed old files (from 1.2 preview).

svn path=/trunk/mcs/; revision=30948
2004-07-09 15:01:26 +00:00
Sebastien Pouliot 1eb2fe23c4 2004-07-09 Sebastien Pouliot <[email protected]>
* AlgorithmIdentifierTest.cs: Fixed for Fx 2.0 beta1.
	* CmsRecipientTest.cs: Replace Pkcs7RecipientTest.cs in Fx 2.0 beta1.
	* CmsSignerTest.cs: Replace Pkcs7SignerTest.cs in Fx 2.0 beta1.
	* ContentInfoTest.cs: Fixed for Fx 2.0 beta1.
	* EnvelopedCmsTest.cs: Replace EnvelopedPkcs7Test.cs in Fx 2.0 beta1.
	* KeyTransRecipientInfoTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9AttributeTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9DocumentDescriptionTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9DocumentNameTest.cs: Fixed for Fx 2.0 beta1.
	* Pkcs9SigningTimeTest.cs: Fixed for Fx 2.0 beta1.
	* SignedCmsTest.cs: Replace SignedPkcs7Test.cs in Fx 2.0 beta1.
	* SignerInfoTest.cs: Fixed for Fx 2.0 beta1.
	* SubjectIdentifierTest.cs: Fixed for Fx 2.0 beta1.

svn path=/trunk/mcs/; revision=30945
2004-07-09 14:59:18 +00:00
Sebastien Pouliot 2c733c2a20 2004-07-09 Sebastien Pouliot <[email protected]>
* AsnEncodedDataTest.cs: Fixed for Fx 2.0 beta1.
	* CryptographicAttributeTest.cs: New. Moved from S.S.C.Pkcs.
	* OidTest.cs: Fixed for Fx 2.0 beta1.

svn path=/trunk/mcs/; revision=30939
2004-07-09 14:53:59 +00:00
Sebastien Pouliot 5b902a4465 2004-07-07 Sebastien Pouliot <[email protected]>
* ContentInfoTest.cs: Adjusted for changes in Mono.Security.

svn path=/trunk/mcs/; revision=30858
2004-07-07 19:58:34 +00:00
Atsushi Eno 2f1251e81a 2004-06-06 Atsushi Enomoto <[email protected]>
* XmlDsigXsltTransformTest.cs : Fixed EmbeddedStylesheet() that missed
	  xmlns:xsl declaration.

svn path=/trunk/mcs/; revision=28904
2004-06-06 07:41:18 +00:00
Sebastien Pouliot 6556ca5186 2004-05-20 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: SetUp is now public (required for new nunit).
	* ReferenceTest.cs: SetUp is now public (required for new nunit).

svn path=/trunk/mcs/; revision=27789
2004-05-21 00:58:23 +00:00
Atsushi Eno d1b83f96c2 2004-05-14 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransform.cs : Reverted Ingore attribute that does not
	  seem like incorrect test.

svn path=/trunk/mcs/; revision=27334
2004-05-14 04:38:11 +00:00
Atsushi Eno 9e692caa42 2004-05-05 Atsushi Enomoto <[email protected]>
* XmlDsigBase64Transform.cs : LoadInputAsXmlNodeList() is testable.
	* XmlDsigC14NTransformTest.cs : Ignore LoadInputAsXmlNodeList(); that
	  test premises incorrect namespace handling.
	* XmlDsigXPathTransformTest.cs : Removed some FIXMEs (counting node
	  will give more expected results),
	  plus some noise on FunctionHereObsolete().

svn path=/trunk/mcs/; revision=26732
2004-05-05 03:51:51 +00:00
Duncan Mak f2cc34034d Slience CVS for a bit
svn path=/trunk/mcs/; revision=26472
2004-04-30 21:57:31 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Sebastien Pouliot a7d06aa439 2004-03-27 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added (manual) certificates for Phaos tests using
	Manifests.

svn path=/trunk/mcs/; revision=24655
2004-03-27 18:48:10 +00:00
Sebastien Pouliot d8ac76b4c4 2004-03-26 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Reactivated <Manifest> tests as support for them will be
	present in Mono. Changed directory for Phaos tests because of some
	documents' references.

svn path=/trunk/mcs/; revision=24644
2004-03-26 20:58:04 +00:00
Atsushi Eno 4877ba6e10 2004-03-26 Atsushi Enomoto <[email protected]>
* Added XmlDsigEnvelopedSignatureTransformTest.cs.
	* SignedXmlTest.cs : Added some KeyInfo and error handling repro.

svn path=/trunk/mcs/; revision=24639
2004-03-26 16:22:39 +00:00
Atsushi Eno d4842b8b74 2004-03-26 Atsushi Enomoto <[email protected]>
* Makefile : Use alias for mcs and mono and debuginfo.

svn path=/trunk/mcs/; revision=24638
2004-03-26 16:18:06 +00:00
Sebastien Pouliot c943e26188 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Some of the Phaos test files uses <Manifest> with having
	*manifest* in their name. Manually load certificates for Phaos tests
	that requires it (as RetrievalMethod isn't support automatically).

svn path=/trunk/mcs/; revision=24598
2004-03-25 18:00:13 +00:00
Sebastien Pouliot bbcc5c79c3 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added code to automagically ajust for presence of
	HMAC-MD5 and ExC14N in the framework and to manualy skip signatures
	containing <Manifest> (not supported).

svn path=/trunk/mcs/; revision=24587
2004-03-25 14:09:45 +00:00
Sebastien Pouliot a7dac8bbbd 2004-03-25 Sebastien Pouliot <[email protected]>
* xmldsig.cs: Added code to ignore tests using HMAC-MD5 (1 in Phaos
	suite) as it is	unsupported in Fx 1.0/1.1.

svn path=/trunk/mcs/; revision=24586
2004-03-25 13:03:06 +00:00
Atsushi Eno f06178f71d 2004-03-24 Atsushi Enomoto <[email protected]>
* xmldsig.cs : Ok, time to test phaos collection ;-)

svn path=/trunk/mcs/; revision=24535
2004-03-24 18:40:57 +00:00
Atsushi Eno 5d47dd82a3 2004-03-24 Atsushi Enomoto <[email protected]>
* ReferenceTest.cs : Test for keeping document object identity.
	* XmlDsigC14NTransformTest.cs : Fixed LoadInputAsXmlNodeList(). Here,
	  passed XmlNodeList means filtered (e.g. XPath) nodes, which might
	  contain parent and children as each node in the list.
	  Added LoadInputAsXmlNodeList2(), which fails in the meantime.

svn path=/trunk/mcs/; revision=24534
2004-03-24 18:38:08 +00:00
Atsushi Eno 8c9368f811 2004-03-23 Atsushi Enomoto <[email protected]>
* SignedInfoTest.cs : assure the owner document object equality /
	  inequality with related to LoadXml() and setting properties.

svn path=/trunk/mcs/; revision=24464
2004-03-23 15:55:14 +00:00
Atsushi Eno 80da194523 2004-03-23 Atsushi Enomoto <[email protected]>
* DataObjectTest.cs : assure that owner document object are different
	  after setting properties.

svn path=/trunk/mcs/; revision=24458
2004-03-23 13:04:06 +00:00
Sebastien Pouliot ef584c35f0 2004-03-20 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Renamed GetPublicKey to PublicGetPublicKey to
	remove warning.

svn path=/trunk/mcs/; revision=24382
2004-03-21 01:05:21 +00:00
Sebastien Pouliot 829860f3d3 2004-03-20 Sebastien Pouliot <[email protected]>
* .cvsignore: Ignore Phaos test suite files.

svn path=/trunk/mcs/; revision=24380
2004-03-20 23:59:33 +00:00
Sebastien Pouliot f8fed6fdc5 2004-03-19 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Completed unit tests as many methods were not
	tested at all previously.

svn path=/trunk/mcs/; revision=24327
2004-03-19 13:36:13 +00:00
Sebastien Pouliot d132b070e9 2004-03-16 Sebastien Pouliot <[email protected]>
* xmldsig.cs: New. Test program for Merlin's xmldsig test suite.

svn path=/trunk/mcs/; revision=24163
2004-03-16 20:32:15 +00:00
Sebastien Pouliot cc196f4469 2004-03-16 Sebastien Pouliot <[email protected]>
* .cvsignore: Ignore temporary files.
	* c14n.cs: Canonalization tool. Take any XML document (or part of it)
	and output it's C14N form (C14N transformation is user selectable).
	* ChangeLog: New.
	* Makefile: New. Makefile to download, build and run xmldsig tests
	(copied from Atsushi - actually this whoile directory is his idea).

svn path=/trunk/mcs/; revision=24160
2004-03-16 20:04:42 +00:00
Sebastien Pouliot 35680d9c60 2004-03-15 Sebastien Pouliot <[email protected]>
* SignedXml.cs: Added null test for LoadXml.

svn path=/trunk/mcs/; revision=24070
2004-03-15 21:19:18 +00:00
Atsushi Eno 5580beaa2e 2004-03-14 Atsushi Enomoto <[email protected]>
* XmlDsigXPathTransformTest.cs : added TransformSimple() and
	  FunctionHere() [commented].

svn path=/trunk/mcs/; revision=24023
2004-03-14 19:37:41 +00:00
Atsushi Eno 236a592b82 2004-03-13 Atsushi Enomoto <[email protected]>
* XmlDsigC14NWithCommentsTransformTest,cs : world.txt causes FileShare
	  Win32Error so it should be added only when it does not exist.
	* XmlDsigXsltTransformTest.cs : embedded stylesheet should have
	  version attribute. EmbeddedStylesheet() should also load input doc.

svn path=/trunk/mcs/; revision=23984
2004-03-13 15:27:38 +00:00
Sebastien Pouliot a0ac7c12a1 2004-03-12 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransformTest.cs: Fixed missing files error under MS.NET.
	* XmlDsigC14NWithCommentsTransformTest.cs: Fixed missing files error
	under MS.NET.

svn path=/trunk/mcs/; revision=23969
2004-03-13 00:03:59 +00:00
Atsushi Eno 98f7869be0 2004-03-11 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransformTest.cs : Stream2String() should consider utf-8
	  escaping (i.e. it must be the same as with-comments test).
	  Enabled example6 (encoding test).
	* XmlDsigXsltTransformTest.cs :
	  GetXslDoc() now works (xmlns for dsig was missing).
	  Added EmptyXslt(), EmbeddedStylesheet() and InvalidXslt().
	  Activated ignored LoadInputAsXXX() and Load2() by supplying xsl.

svn path=/trunk/mcs/; revision=23933
2004-03-11 21:37:47 +00:00
Atsushi Eno 16ec2959d4 2004-03-04 Atsushi Enomoto <[email protected]>
* SignatureTest.cs : added some malformed xml tests.

svn path=/trunk/mcs/; revision=23712
2004-03-04 22:57:33 +00:00
Atsushi Eno 7c534f9603 2004-02-14 Atsushi Enomoto <[email protected]>
* XmlDsigC14NTransformTest.cs,
	  XmlDsigC14NWithCommentsTransformTest.cs:
	  uncommented some code blocks which should be tested.

svn path=/trunk/mcs/; revision=23098
2004-02-14 19:00:49 +00:00
Sebastien Pouliot d3cb20eefa 2004-02-11 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: Corrected the xmlRSA XML string.

svn path=/trunk/mcs/; revision=22986
2004-02-11 18:58:37 +00:00
Sebastien Pouliot e8ce970287 2004-02-11 Sebastien Pouliot <[email protected]>
* ReferenceTest.cs: Tests fixed if XML is different (but equivalent)
	to MS implementation.
	* SignatureTest.cs: Tests fixed if XML is different (but equivalent)
	to MS implementation.
	* XmlDsigBase64TransformTest.cs: New UnprotectedGetInnerXml class to get
	results from the protected GetInnerXml. No more convertion to arrays.
	* XmlDsigC14NTransformTest.cs: New UnprotectedGetInnerXml class to get
	results from the protected GetInnerXml. Fixed input/output typo. Tests
	fixed if XML is different (but equivalent) to MS implementation.
	* XmlDsigC14NWithCommentsTransformTest.cs: New UnprotectedGetInnerXml
	class to get results from the protected GetInnerXml. Fixed input/output
	typo.
	* XmlDsigXPathTransformTest.cs: New. Unit tests XmlDsigXPathTransform.
	* XmlDsigXsltTransformTest.cs: New UnprotectedGetInnerXml class to get
	results from the protected GetInnerXml. Fixed input/output typo.

svn path=/trunk/mcs/; revision=22984
2004-02-11 18:04:40 +00:00
Sebastien Pouliot 4143288d58 2003-12-14 Sebastien Pouliot <[email protected]>
* SignedXmlTest.cs: Added a new unit test to verify both bugs (no
	key assigned on verification and GetElementId) found when fixing
	#52084.

svn path=/trunk/mcs/; revision=21125
2003-12-14 20:16:25 +00:00
Sebastien Pouliot dcb008febc 2003-12-07 Sebastien Pouliot <[email protected]>
* ContentInfoTest.cs: Changed test for GetContentType.
	* EnvelopedPkcs7Test.cs: New. Unit tests for EnvelopedPkcs7
	(encryption).
	* KeyTransRecipientInfoTest.cs: New. Unit tests for
	KeyTransRecipientInfo.
	* Pkcs7RecipientTest.cs: New. Unit tests for Pkcs7Recipient.
	* SignedPkcs7Test.cs: New. Unit tests for SignedPkcs7 (signatures).
	* SignedInfoTest.cs: New. Unit tests for SignedInfo.
	* SubjectIdentifierTest.cs: New. Unit tests for SubjectIdentifier.

svn path=/trunk/mcs/; revision=20844
2003-12-08 01:29:16 +00:00
Sebastien Pouliot a96279f54d 2003-11-08 Sebastien Pouliot <[email protected]>
* X509ChainElementCollectionTest.cs: New. Unit tests for
	X509ChainElementCollection.
	* X509ChainElementEnumeratorTest.cs: New. Unit tests for
	X509ChainElementEnumerator.
	* X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
	* X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain.
	* X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.

svn path=/trunk/mcs/; revision=19746
2003-11-08 23:28:48 +00:00
Sebastien Pouliot 77dc62b785 2003-11-08 Sebastien Pouliot <[email protected]>
* ContentInfoTest.cs: New. (Incomplete) Unit tests for ContentInfo.
	* Pkcs7SignerTest.cs: New. New. Unit tests for Pkcs7Signer.
	* RecipientInfoTest.cs: New. Unit tests for abstract class

svn path=/trunk/mcs/; revision=19743
2003-11-08 23:14:05 +00:00
Sebastien Pouliot 4e2af909fa 2003-11-07 Sebastien Pouliot <[email protected]>
* AlgorithmIdentifierTest.cs: New. Unit tests for AlgorithmIdentifier.
	* CryptographicAttributeTest.cs: New. Unit tests for CryptographicAttribute.
	* Pkcs9AttributeTest.cs: New. Unit tests for Pkcs9Attribute (same as for
	CryptographicAttribute).
	* Pkcs9DocumentDescriptionTest.cs: New. Unit tests for Pkcs9DocumentDescription.
	* Pkcs9DocumentNameTest.cs: New. Unit tests for Pkcs9DocumentName.
	* Pkcs9SigningTimeTest.cs: New. Unit tests for Pkcs9SigningTime.

svn path=/trunk/mcs/; revision=19710
2003-11-07 12:51:36 +00:00
Sebastien Pouliot 41a29fde13 2003-11-06 Sebastien Pouliot <[email protected]>
* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
	* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
	* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
	* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).

svn path=/trunk/mcs/; revision=19702
2003-11-07 02:04:00 +00:00
Sebastien Pouliot 9c7803bec9 2003-07-28 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransformTest.cs: Corrected test for .NET 1.1 (that was a
	bug in .NET 1.0). There are no more unit test failures on Windows.

svn path=/trunk/mcs/; revision=16773
2003-07-28 15:18:11 +00:00
Sebastien Pouliot 53ff75c8aa 2003-07-27 Sebastien Pouliot <[email protected]>
* KeyInfoTest.cs: Added #if NET_1_0 for the RetrievalMethod bug.

svn path=/trunk/mcs/; revision=16760
2003-07-28 03:46:14 +00:00
Sebastien Pouliot 5faa941662 2003-07-24 Sebastien Pouliot <[email protected]>
* XmlDsigC14NTransformTest.cs: New tests from Aleksey Sanin.
	* XmlDsigC14NWithCommentsTransformTest.cs: New tests from
	Aleksey Sanin.

svn path=/trunk/mcs/; revision=16636
2003-07-25 00:25:58 +00:00
Gonzalo Paniagua Javier 3f761fefe4 New build system from Peter Williams ([email protected])
svn path=/trunk/mcs/; revision=16195
2003-07-14 11:38:40 +00:00
Sebastien Pouliot 72aa4bf29f 2003-06-02 Sebastien Pouliot <[email protected]>
* KeyInfoRetrievalMethodTest.cs: Changed RetrievalElement to
	RetrievalMethod to match W3C specification and framework 1.1.

svn path=/trunk/mcs/; revision=15075
2003-06-03 00:36:47 +00:00
Martin Willemoes Hansen e852991b2c * Tests inherits from Assertion and Assertion. prefix is removed
svn path=/trunk/mcs/; revision=14556
2003-05-13 20:23:05 +00:00
Martin Willemoes Hansen ccd53828cd *** empty log message ***
svn path=/trunk/mcs/; revision=12668
2003-03-18 22:00:13 +00:00
Martin Willemoes Hansen e358c1dd9a * makefile.gnu NUnit20ified.
* security_linux_test.args NUnit20ified.
        * renamed System.Security.Cryptography.Xml/AllTests.cs to
          System.Security.Cryptography.Xml/AssertCrypto.cs

svn path=/trunk/mcs/; revision=12667
2003-03-18 21:53:27 +00:00
Sebastien Pouliot 96e4254985 2003-03-03 Sebastien Pouliot <[email protected]>
* XmlDsigBase64TransformTest.cs: Simplified some parts when fixing
	XPath test.

svn path=/trunk/mcs/; revision=12160
2003-03-03 22:46:24 +00:00