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