* System.Text.RegularExpressions/Regex.cs (Replace): Check that input &
[mono.git] / mcs / class / System / Test / System.Text.RegularExpressions / ChangeLog
1 2009-02-27  Jonathan Pryor <jpryor@novell.com>
2
3         * RegexReplace.cs: Add null argument checks for Regex.Replace().
4
5 2009-01-14  Zoltan Varga  <vargaz@gmail.com>
6
7         * RegexTrial.cs: Run all tests with the CIL Compiler too.
8
9         * RegexBugs.cs: Add a test for #466151.
10
11 2008-11-13  Gert Driesen  <drieseng@users.sourceforge.net>
12
13         * RegexBugs.cs: added test for bug #443841.
14
15 2008-11-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
16
17         * RegexBugs.cs: test from bug 432172.
18
19 2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
20
21         * RegexBugs.cs: added test from bug #439947.
22
23 2008-10-09  Zoltan Varga  <vargaz@gmail.com>
24
25         * RegexBugs.cs: Add test for #432172.
26
27 2008-09-14  Zoltan Varga  <vargaz@gmail.com>
28
29         * RegexBugs.cs: Add a test for #426142.
30
31 2008-06-05  Roei Erez  <roeie@mainsoft.com>
32
33         * RegexTest.cs: Add test case where a match that contains
34         empty group at the end.
35
36 2007-11-08  Raja R Harinath  <harinath@gmail.com>
37
38         * RegexReplace.cs (tests): New test from #324390.
39
40 2007-11-07  Raja R Harinath  <harinath@gmail.com>
41
42         * MatchTest.cs (Match_Backref): New.
43         * RegexReplace.cs (direction, testcase.direction): New.
44         (testcase..ctor): Allow specifying the direction of the replace.
45         (ReplaceTests): Test replace in both directions.
46         (EvaluatorTests): New test based on #321036.
47
48         * RegexReplace.cs (tests): New test from #317092.
49         (ReplaceTests): Don't catch an AssertException.
50
51 2007-11-01  Gert Driesen  <drieseng@users.sourceforge.net>
52
53         * GroupTest.cs: Improved test for null argument check.
54         * MatchTest.cs: Improved tests for null argument checks. Added and
55         fixed replacement tests.
56         * RegexMatchTest.cs: Marked tests that do not pass on MS as NotDotNet.
57         Fixed expected result for trial 5.
58         * RegexResultTests.cs: Fixed Assert.
59         * RegexReplace.cs: Fixed line endings.
60
61 2007-10-29 Arina Itkes <arinai@mainsoft.com>
62
63         * RegexReplace.cs RegxMatchTests.cs RegexResultTests.cs
64         New tests for Regex: 
65                 - for Result method,
66                 - for patterns with number of groups more than 10
67                 - for patterns with ExpicitCapture options
68
69 2007-10-21  Gert Driesen  <drieseng@users.sourceforge.net>
70
71         * RegexBugs.cs: No longer derive from deprecated Assertion class.
72         Added test for bug #313642.
73         * MatchTest.cs: Code formatting.
74         * RegexTest.cs: Fixed compiler warnings. Code formatting. Spaces to
75         tabs.
76
77 2007-09-17  Gert Driesen  <drieseng@users.sourceforge.net>
78
79         * RegexReplace.cs: Fixed compiler warning.
80
81 2007-04-18  Raja R Harinath  <rharinath@novell.com>
82
83         * RegexBugs.cs (bug80554_trials): New tests based on #80554.
84
85 2007-04-04  Raja R Harinath  <rharinath@novell.com>
86
87         * RegexTest.cs (PrimeRegex): New backtracking torture test using
88         a regex that recognizes composite numbers represented in unary.
89
90 2007-01-02  Raja R Harinath  <rharinath@novell.com>
91
92         * RegexBugs.cs (GroupNumbers): New test based on #79472.
93
94 2006-05-08  Raja R Harinath  <rharinath@novell.com>
95
96         * RegexBugs.cs (Kill65535_1, Kill65535_2, No65535Limit): New tests
97         based on #78278.
98
99 2006-04-17  Florian Gross  <flgr@ccan.de>
100
101         * RegexBugs.cs (CharClassWithIgnoreCase): Ensure that character
102         classes don't interfere with RegexOptions.IgnoreCase.
103
104 2006-04-07  Raja R Harinath  <rharinath@novell.com>
105
106         * RegexBugs.cs (Bug78007): New test from #78007.
107
108         * RegexBugs.cs (Bug76345): New test from #76345.
109
110         * RegexBugs.cs (Bug69269): New test from #69269.
111
112 2006-04-06  Raja R Harinath  <rharinath@novell.com>
113
114         * RegexBugs.cs (Bug77487): New test based on #77487.
115
116         * RegexTrial.cs (Execute): Run NUnit assertion here.
117         * PerlTests.cs: Simplify.
118
119 2006-03-30  Raja R Harinath  <harinath@gmail.com>
120
121         * RegexBugs.cs (HangingHyphens): New tests from #77626, and
122         related bugs found by inspection.
123         (HangingHyphens1): New testcase for exceptions in character ranges.
124
125 2005-11-21  Sebastien Pouliot  <sebastien@ximian.com> 
126
127         * CaptureCas.cs: New. CAS tests.
128         * CaptureCollectionCas.cs: New. CAS tests.
129         * GroupCas.cs: New. CAS tests.
130         * GroupCollectionCas.cs: New. CAS tests.
131         * GroupTest.cs: New. Unit tests.
132         * MatchCas.cs: New. CAS tests.
133         * MatchCollectionCas.cs: New. CAS tests.
134         * MatchTest.cs: New. Unit tests.
135         * RegexCas.cs: New. CAS tests.
136         * RegexCompilationInfoCas.cs: New. CAS tests.
137         * RegexCompilationInfoTest.cs: New. Unit tests.
138         * RegexRunnerCas.cs: New. CAS tests.
139         * RegexRunnerFactoryCas.cs: New. CAS tests.
140         * RegexTest.cs: Added test cases for new (2.0) CacheSize property.
141
142 2005-07-08  Raja R Harinath  <rharinath@novell.com>
143
144         * RegexTest.cs (Matches1, Matches2, ..., Matches10): Combine into ...
145         (Matches): ... this.  Convert to use a data-driven approach.  Use ...
146         (trials): ... this.  New variable that lists the regexp, input
147         text and expected results.
148         (runTrial): New.  Run a suite of MatchCollection tests on each trial.
149         Tests both incremental and non-incremental modes.
150
151 2005-06-14  Raja R Harinath  <harinath@gmail.com>
152
153         * RegexBugs.cs (NameLookupInEmptyMatch): New test from #74753.
154
155 2005-05-25  Raja R Harinath  <rharinath@novell.com>
156
157         * RegexReplace.cs: Add a couple more testcases.
158
159 2005-05-24  Raja R Harinath  <rharinath@novell.com>
160
161         * RegexReplace.cs: Add testcase for $+.
162
163 2005-05-20  Raja R Harinath  <rharinath@novell.com>
164
165         * RegexReplace.cs: New file.  Most of the tests were inspired by
166         #74735.
167
168 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
169
170         * PerlTest.cs: split.
171
172 2005-02-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
173
174         * RegexBugs.cs: tests for bug #69193.
175
176 2005-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * RegexBugs.cs: tests for bug #69065.
179
180 2005-01-08  Miguel de Icaza  <miguel@ximian.com>
181
182         * RegexBugs.cs: Add new test.
183
184 2005-01-08  Nick Drochak  <ndrochak@ieee.org>
185
186         * RegexTest.cs: Make pass on MS.NET
187
188 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
189
190         * System.Text.RegularExpressions/RegexBugs.cs: test case for bug #57274.
191
192 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193
194         * System.Text.RegularExpressions/RegexBugs.cs: added test for bug
195         #68398.
196
197 2004-07-05  Jackson Harper  <jackson@ximian.com>
198
199         * RegexTest.cs: Add some simple tests for debugging/zen building.
200         
201 2004-06-06  Jambunathan K <kjambunathan@novell.com>
202         
203         * RegexTest.cs: 
204         * RegexBugs.cs: Added test case for exercising Regex.Unescape()
205         Added test cases for exercising \b as a word boundary operator
206         and as a character class in a regex. Refer bug #58256 for more 
207         information.
208
209         
210 2004-06-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
211
212         * RegexBugs.cs: added CategoryAndNegated test.
213
214 2004-05-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
215
216         * RegexBugs.cs: added tests from bug #59150.
217
218 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
219
220         * Test/System.Text.RegularExpressions/PerlTrials.cs:
221         Patch by Eric Durand Tremblay with tests.
222         1) Capture inner group when named.
223         2) Resolved parse error caused by not capturing inner group
224         3) Resolved incorrect capture group
225         4) Now, not capturing anything when unnamed ( correct behavior)
226
227
228 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
229
230         * PerlTrials.cs: unix line endings.
231
232 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
233
234         * RegexBugs.cs: Added test for bug #52890.
235         
236 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
237
238         * RegexBugs.cs: added new test with a regex used when discovering the
239         wsdl document for a asmx page.
240
241 2004-03-22  Jackson Harper  <jackson@ximian.com>
242
243         * RegexBugs.cs: Add test case for multiple matches.
244         
245 2004-03-17  Francois Beauchemin <beauche@softhome.net>
246         * PerlTrials.cs : Added many test for RightToLeft
247         * PerlTest.cs, RegexTrial : Modified version of regextrial to 
248                 be run all the test and to report exception.
249   
250 2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
251
252         * RegexBugs.cs: added test case for bug 54797.
253
254 2004-02-02  Nick Drochak <ndrochak@ieee.org>
255
256         * RegexBugs.cs (RangeIgnoreCase): made the last assert pass on .NET.
257
258 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
259
260         * RegexBugs.cs: added test from bug #52924.
261
262 2004-01-07  Lluis Sanchez Gual <lluis@ximian.com>
263
264         * RegexBugs.cs: Improved test. In Split(), if the last match is at the
265         end of the string, an empty string must be added to the array of
266         results.
267
268 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
269
270         * RegexBugs.cs: added tests from bug #42529.
271