2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git] / mcs / class / System.Security / Test / System.Security.Cryptography.Xml / ChangeLog
1 2009-06-26  Robert Jordan  <robertj@gmx.net>
2
3         * *.cs: Upgrade to new NUnit style.
4
5 2008-11-01  Sebastien Pouliot  <sebastien@ximian.com>
6
7         * EncryptedXmlTest.cs: Add null check test cases for many methods.
8         * SignedXmlTest.cs: New. Check that GetIdElement returns null when
9         either parameter is null.
10         * TransformTest.cs: New. Check null check behavior.
11         * XmlDecryptionTransformTest.cs: New. Check null check behavior.
12         * XmlDsigC14NTransformTest.cs: Confirm MS.NET NRE behavior inside
13         GetDigestedOutput method.
14         * XmlDsigExcC14NTransformTest.cs: Confirm MS.NET NRE behavior inside
15         GetDigestedOutput method.
16
17 2008-10-14  Gert Driesen  <drieseng@users.sourceforge.net>
18
19         * XmlDsigXsltTranformTest.cs: Added test for .ctor (bool).
20         * XmlDsigEnvelopedTransformTest.cs: Added test for .ctor (bool). Use
21         Assert class. Improved properties tests.
22         * XmlDsigC14TransformTest.cs: Added test for .ctor (bool).
23         * XmlDsigExcC14NTransformTest.cs: Added .ctor tests and added asserts
24         IncludsiveNamespacesPrefixList
25         * XmlDsigExcC14NWithCommentsTransformTest.cs: Added basic .ctor and
26         properties tests.
27         * XmlDsigC14NWithCommentsTransformTest.cs: Fixed line endings.
28         * XmlLicenseTransformTest.cs: Added basic .ctor and properties tests.
29
30 2008-09-17  Sebastien Pouliot  <sebastien@ximian.com>
31
32         * SignedXmlTest.cs: Add test cases for HMACSHA[256|384|512] and
33         HMACRIPEMD160 which are supported in 2.0. Based on test case from
34         Fredrik Olsson on bug #425724.
35
36 2008-08-14  Gert Driesen  <drieseng@users.sourceforge.net>
37
38         * KeyInfoX509DataTest.cs
39         * SignedInfoTest.cs
40         * XmlDsigC14NTransformTest.cs
41         * XmlDsigExcC14NTransformTest.cs
42         * XmlDsigC14NWithCommentsTransformTest.cs
43         * ReferenceTet.cs
44         * SignatureTest.cs: Fixed line endings.
45
46 2008-05-25  Sebastien Pouliot  <sebastien@ximian.com>
47
48         * XmlDsigBase64TransformTest.cs: Add test case for InputTypes
49         * XmlDsigExcC14NTransformTest.cs: Add test case for InputTypes
50
51 2007-03-22  Atsushi Enomoto  <atsushi@ximian.com>
52
53         * XmlDsigC14NTransformTest.cs : added test for xmlns attribute 
54           completion for input nodes, as well as test for
55           PropagatedNamespaces (ignored so far).
56
57 2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>
58
59         * SignedXmlTest.cs : enable SignElementWithPrefixedNamespace().
60
61 2007-01-23  Atsushi Enomoto  <atsushi@ximian.com>
62
63         * SignedXmlTest.cs : fixed ambiguous variable name in previous tests.
64
65 2007-01-23  Atsushi Enomoto  <atsushi@ximian.com>
66
67         * SignedXmlTest.cs :
68           run the transformation in yesterday's test twice.
69
70 2007-01-22  Atsushi Enomoto  <atsushi@ximian.com>
71
72         * XmlDsigExcC14NTransformTest.cs, XmlDsigC14NTransformTest.cs,
73           SignedXmlTest.cs : added some more tests which blocks indigo.
74
75 2007-01-17  Atsushi Enomoto  <atsushi@ximian.com>
76
77         * XmlDsigExcC14NTransformTest.cs : new tests, mostly copied from
78           non-exc test.
79
80 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
81
82         * SignedXmlTest.cs : added DataReferenceToNonDataObject().
83
84 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
85
86         * DataObjectTest.cs : test to make sure to not clear attributes or
87           children unnecessarily.
88
89 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
90
91         * SignedXmlTest.cs : fixed ComputeSignatureNoSigningKey() to not
92           expect silly exception. Added test for malformed reference.
93
94 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
95
96         * SignedXmlTest.cs : added ComputeSignatureNoSigningKey().
97
98 2006-11-01  Atsushi Enomoto  <atsushi@ximian.com>
99
100         * SignedXmlTest.cs : added Ignore for failing wrong test by design.
101
102 2006-10-11  Atsushi Enomoto  <atsushi@ximian.com>
103
104         * SignedXmlTest.cs : added a test for signature method mismatch.
105
106 2006-09-25  Gert Driesen  <drieseng@users.sourceforge.net>
107
108         * SignedXmlTest.cs: Added tests for bug #79454 and bug #79483 (marked
109         NotWorking).
110
111 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
112
113         * EncryptedXmlTest.cs, EncryptedXmlSample3.xml :
114           another decryption test for padding sanity.
115
116 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
117
118         * EncryptedXmlTest.cs : added roundtrip sample i.e. encryption test.
119
120 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
121
122         * EncryptedXmlTest.cs, EncryptedXmlSample2.xml :
123           Added another case that expects correct padding processing which is 
124           specified in W3C xmlenc spec section 5.2.
125
126 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
127
128         * EncryptedXmlTest.cs :
129           removed problematic culture change (was for debugging).
130
131 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
132
133         * EncryptedXmlTest.cs : new file. Added practical example.
134         * EncryptedXmlSample1.xml, sample.pfx : support files for the above test.
135
136 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
137
138         * DataReferenceTest.cs : new test.
139
140 2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>
141
142         * KeyInfoX509DataTest.cs: Fixed tests case for 2.0 RC.
143         * XmlDsigXPathTransformTest.cs: Fixed tests case for 2.0 RC.
144
145 2005-05-31  Atsushi Enomoto  <atsushi@ximian.com>
146
147         * XmlDsigC14NWithCommentsTransformTest.cs : added File.Delete()
148           sanity check on CleanUp().
149
150 2005-05-05  Sebastien Pouliot  <sebastien@ximian.com>
151
152         * ReferenceTest.cs: Changed AddAllTransforms from Ignored to category
153         NotDotNet as the test seems to fail only under NUnit.
154
155 2005-05-04  Sebastien Pouliot  <sebastien@ximian.com>
156
157         * AssertCrypto.cs: Added method to compare somewhat different but ok 
158         XML fragments (when the xmlns for xmldsig is on a different element).
159         * KeyInfoTest.cs, KeyInfoRetrievalMethodTest.cs, ReferenceTest.cs,
160         SignedInfoTest.cs, SignatureTest.cs, SignedXmlTest.cs, 
161         XmlDsigC14NTransformTest.cs, XmlDsigC14NWithCommentsTransformTest.cs,
162         XmlDsigXPathTransformTest.cs: Make all tests works under Fx 2.0 beta 2
163
164 2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>
165
166         * SignedXmlTest.cs: AddObject and AddReference now throws 
167         ArgumentNullException in 2.0.
168         * XmlDsigC14NWithCommentsTransformTest.cs: InputType was fixed in 2.0.
169         * XmlDsigC14NTransformTest.cs: InputType was fixed in 2.0.
170         * XmlDsigXsltTransformTest.cs: Fixed tests for 2.0, InputType, Empty 
171         XSLT and invalid XSLT (new exception).
172
173 2005-04-28  Sebastien Pouliot  <sebastien@ximian.com>
174
175         * XmlDsigXPathTransformTest.cs: Marked FunctionHereObsolete (ignored)
176         and LoadInputAsXmlNodeList (failure) as [Category("NotWorking")] as 
177         they both pass under MS 1.x runtime (for bad and/or good reasons).
178
179 2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
180
181         * KeyInfoX509DataTest.cs: Added new unit tests for NET_1_1 and updated
182         tests to work on NET_2_0.
183
184 2005-04-06  Atsushi Enomoto  <atsushi@ximian.com>
185
186         * XmlDsigC14NTransformTest.cs :
187           Reverted last change in LoadInputAsXmlNodeList2(). It is MS bug.
188           It now handles Load() behavioral difference between Stream and
189           XmlDocument as expected.
190
191 2005-02-27  Nick Drochak  <ndrochak@ieee.org>
192
193         * XmlDsigXsltTransformTest.cs:
194         * XmlDsigC14NTransformTest.cs: Make tests pass on MS.NET 1.1.
195
196 2004-06-06  Atsushi Enomoto  <atsushi@ximian.com>
197
198         * XmlDsigXsltTransformTest.cs : Fixed EmbeddedStylesheet() that missed
199           xmlns:xsl declaration.
200
201 2004-05-20  Sebastien Pouliot  <sebastien@ximian.com>
202
203         * KeyInfoTest.cs: SetUp is now public (required for new nunit).
204         * ReferenceTest.cs: SetUp is now public (required for new nunit).
205
206 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
207
208         * XmlDsigC14NTransform.cs : Reverted Ingore attribute that does not
209           seem like incorrect test.
210
211 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
212
213         * XmlDsigBase64Transform.cs : LoadInputAsXmlNodeList() is testable.
214         * XmlDsigC14NTransformTest.cs : Ignore LoadInputAsXmlNodeList(); that
215           test premises incorrect namespace handling.
216         * XmlDsigXPathTransformTest.cs : Removed some FIXMEs (counting node
217           will give more expected results),
218           plus some noise on FunctionHereObsolete().
219
220 2004-03-26  Atsushi Enomoto  <atsushi@ximian.com>
221
222         * Added XmlDsigEnvelopedSignatureTransformTest.cs.
223         * SignedXmlTest.cs : Added some KeyInfo and error handling repro.
224
225 2004-03-24  Atsushi Enomoto  <atsushi@ximian.com>
226
227         * ReferenceTest.cs : Test for keeping document object identity.
228         * XmlDsigC14NTransformTest.cs : Fixed LoadInputAsXmlNodeList(). Here,
229           passed XmlNodeList means filtered (e.g. XPath) nodes, which might
230           contain parent and children as each node in the list.
231           Added LoadInputAsXmlNodeList2(), which fails in the meantime.
232
233 2004-03-23  Atsushi Enomoto  <atsushi@ximian.com>
234
235         * SignedInfoTest.cs : assure the owner document object equality /
236           inequality with related to LoadXml() and setting properties.
237
238 2004-03-23  Atsushi Enomoto  <atsushi@ximian.com>
239
240         * DataObjectTest.cs : assure that owner document object is different
241           after setting properties.
242
243 2004-03-20  Sebastien Pouliot  <sebastien@ximian.com>
244
245         * SignedXmlTest.cs: Renamed GetPublicKey to PublicGetPublicKey to
246         remove warning.
247
248 2004-03-19  Sebastien Pouliot  <sebastien@ximian.com>
249
250         * SignedXmlTest.cs: Completed unit tests as many methods were not 
251         tested at all previously.
252
253 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
254
255         * SignedXmlTest.cs: Added null test for LoadXml.
256
257 2004-03-14  Atsushi Enomoto  <atsushi@ximian.com>
258
259         * XmlDsigXPathTransformTest.cs : added TransformSimple() and
260           FunctionHere() [commented].
261
262 2004-03-13  Atsushi Enomoto  <atsushi@ximian.com>
263
264         * XmlDsigC14NWithCommentsTransformTest,cs : world.txt causes FileShare
265           Win32Error so it should be added only when it does not exist.
266         * XmlDsigXsltTransformTest.cs : embedded stylesheet should have
267           version attribute. EmbeddedStylesheet() should also load input doc.
268
269 2004-03-12  Sebastien Pouliot  <sebastien@ximian.com>
270
271         * XmlDsigC14NTransformTest.cs: Fixed missing files error under MS.NET.
272         * XmlDsigC14NWithCommentsTransformTest.cs: Fixed missing files error
273         under MS.NET.
274
275 2004-03-11  Atsushi Enomoto  <atsushi@ximian.com>
276
277         * XmlDsigC14NTransformTest.cs : Stream2String() should consider utf-8
278           escaping (i.e. it must be the same as with-comments test).
279           Enabled example6 (encoding test).
280         * XmlDsigXsltTransformTest.cs :
281           GetXslDoc() now works (xmlns for dsig was missing).
282           Added EmptyXslt(), EmbeddedStylesheet() and InvalidXslt().
283           Activated ignored LoadInputAsXXX() and Load2() by supplying xsl.
284
285 2004-03-04  Atsushi Enomoto  <atsushi@ximian.com>
286
287         * SignatureTest.cs : added some malformed xml tests.
288
289 2004-02-14  Atsushi Enomoto  <atsushi@ximian.com>
290
291         * XmlDsigC14NTransformTest.cs,
292           XmlDsigC14NWithCommentsTransformTest.cs:
293           uncommented some code blocks which should be tested.
294
295 2004-02-11  Sebastien Pouliot  <sebastien@ximian.com>
296
297         * KeyInfoTest.cs: Corrected the xmlRSA XML string.
298         * ReferenceTest.cs: Tests fixed if XML is different (but equivalent)
299         to MS implementation.
300         * SignatureTest.cs: Tests fixed if XML is different (but equivalent) 
301         to MS implementation.
302         * XmlDsigBase64TransformTest.cs: New UnprotectedGetInnerXml class to get
303         results from the protected GetInnerXml. No more convertion to arrays.
304         * XmlDsigC14NTransformTest.cs: New UnprotectedGetInnerXml class to get
305         results from the protected GetInnerXml. Fixed input/output typo. Tests
306         fixed if XML is different (but equivalent) to MS implementation.
307         * XmlDsigC14NWithCommentsTransformTest.cs: New UnprotectedGetInnerXml 
308         class to get results from the protected GetInnerXml. Fixed input/output
309         typo.
310         * XmlDsigXPathTransformTest.cs: New. Unit tests XmlDsigXPathTransform.
311         * XmlDsigXsltTransformTest.cs: New UnprotectedGetInnerXml class to get 
312         results from the protected GetInnerXml. Fixed input/output typo.
313
314 2003-12-14  Sebastien Pouliot  <spouliot@videotron.ca>
315
316         * SignedXmlTest.cs: Added a new unit test to verify both bugs (no
317         key assigned on verification and GetElementId) found when fixing 
318         #52084.
319
320 2003-07-28  Sebastien Pouliot  <spouliot@videotron.ca>
321
322         * XmlDsigC14NTransformTest.cs: Corrected test for .NET 1.1 (that was a 
323         bug in .NET 1.0). There are no more unit test failures on Windows.
324
325 2003-07-27  Sebastien Pouliot  <spouliot@videotron.ca>
326
327         * KeyInfoTest.cs: Added #if NET_1_0 for the RetrievalMethod bug.
328
329 2003-07-24  Sebastien Pouliot  <spouliot@videotron.ca>
330
331         * XmlDsigC14NTransformTest.cs: New tests from Aleksey Sanin.
332         * XmlDsigC14NWithCommentsTransformTest.cs: New tests from
333         Aleksey Sanin.
334
335 2003-06-02  Sebastien Pouliot  <spouliot@videotron.ca>
336
337         * KeyInfoRetrievalMethodTest.cs: Changed RetrievalElement to
338         RetrievalMethod to match W3C specification and framework 1.1.
339
340 2003-05-13  Martin Willemoes Hansen <mwh@sysrq.dk>
341         * Tests inherits from Assertion and Assertion. prefix is removed
342
343 2003-03-03  Sebastien Pouliot  <spouliot@videotron.ca>
344
345         * XmlDsigBase64TransformTest.cs: Simplified some parts when fixing
346         XPath test.
347
348 2003-03-02  Sebastien Pouliot  <spouliot@videotron.ca>
349
350         * KeyInfoNameTest.cs: Better naming.
351         * KeyInfoRetrievalMethodTest.cs: Splitted a test.
352
353 2003-02-19  Sebastien Pouliot  <spouliot@videotron.ca>
354
355         * All: Updated tests for NUnit2. Some big tests where splited in 
356         smaller ones.
357         * XmlDsigC14NTransformTest.cs: New, but almost empty, test suite.
358         * XmlDsigC14NWithCommentsTransformTest.cs: New, but almost empty, 
359         test suite.
360
361 2002-11-28  Sebastien Pouliot  <spouliot@videotron.ca>
362
363         * AllTests.cs: Added missing test suites.
364
365 2002-11-20  Sebastien Pouliot  <spouliot@videotron.ca>
366
367         * AllTests.cs: New. Added suites for very listed files.
368         * DataObjectTest.cs: New. Test suite for DataObject.
369         * DSAKeyValueTest.cs: New. Test suite for DSAKeyValue.
370         * KeyInfoNameTest.cs: New. Test suite for KeyInfoName.
371         * KeyInfoNodeTest.cs: New. Test suite for KeyInfoNode.
372         * KeyInfoRetrievalMethodTest.cs: New. Test suite for DSAKeyValue.
373         * KeyInfoTest.cs: New. Test suite for KeyInfo.
374         * KeyInfoX509DataTest.cs: New. Test suite for KeyInfoX509Data.
375         * ReferenceTest.cs: New. Incomplete test suite for Reference.
376         * RSAKeyValueTest.cs: New. Test suite for RSAKeyValue.
377         * SignatureTest.cs: New. Partial test suite for Signature.
378         * SignedInfoTest.cs: New. Partial test suite for SignedInfo.
379         * SignedXmlTest.cs: New. Partial test suite for SignedXml.
380         * TransformChainTest.cs: New. Test suite for TransformChain.
381         * XmlDsigBase64TransformTest.cs: New. Partial test suite for 
382         XmlDsigBase64Transform
383         * XmlDsigXsltTransformTest.cs: New. Partial test suite for 
384         XmlDsigXsltTransform.