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