Commit Graph
32 Commits
Author SHA1 Message Date
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
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 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 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 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 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
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
Sebastien Pouliot 18e37330b6 2003-03-02 Sebastien Pouliot <[email protected]>
* KeyInfoNameTest.cs: Better naming.
	* KeyInfoRetrievalMethodTest.cs: Splitted a test.

svn path=/trunk/mcs/; revision=12101
2003-03-02 16:12:33 +00:00
Sebastien Pouliot e357665885 2003-02-19 Sebastien Pouliot <[email protected]>
* All: Updated tests for NUnit2. Some big tests where splited in
	smaller ones.
	* XmlDsigC14NTransformTest.cs: New, but almost empty, test suite.
	* XmlDsigC14NWithCommentsTransformTest.cs: New, but almost empty,
	test suite.

svn path=/trunk/mcs/; revision=11751
2003-02-20 00:55:52 +00:00
Sebastien Pouliot 993d45a721 2002-11-28 Sebastien Pouliot <[email protected]>
* AllTests.cs: Added missing test suites.

svn path=/trunk/mcs/; revision=9240
2002-11-29 02:35:43 +00:00
Sebastien Pouliot 7f1f71f141 2002-11-20 Sebastien Pouliot <[email protected]>
* AllTests.cs: New. Added suites for very listed files.
	* DataObjectTest.cs: New. Test suite for DataObject.
	* DSAKeyValueTest.cs: New. Test suite for DSAKeyValue.
	* KeyInfoNameTest.cs: New. Test suite for KeyInfoName.
	* KeyInfoNodeTest.cs: New. Test suite for KeyInfoNode.
	* KeyInfoRetrievalMethodTest.cs: New. Test suite for DSAKeyValue.
	* KeyInfoTest.cs: New. Test suite for KeyInfo.
	* KeyInfoX509DataTest.cs: New. Test suite for KeyInfoX509Data.
	* ReferenceTest.cs: New. Incomplete test suite for Reference.
	* RSAKeyValueTest.cs: New. Test suite for RSAKeyValue.
	* SignatureTest.cs: New. Partial test suite for Signature.
	* SignedInfoTest.cs: New. Partial test suite for SignedInfo.
	* SignedXmlTest.cs: New. Partial test suite for SignedXml.
	* TransformChainTest.cs: New. Test suite for TransformChain.
	* XmlDsigBase64TransformTest.cs: New. Partial test suite for
	XmlDsigBase64Transform
	* XmlDsigXsltTransformTest.cs: New. Partial test suite for
	XmlDsigXsltTransform.

svn path=/trunk/mcs/; revision=9125
2002-11-21 02:30:39 +00:00