Commit Graph
11 Commits
Author SHA1 Message Date
Roei Erez ccca1e1079 Fix a bug only in TARGET_JVM that happens when a match contains empty group at the end.
svn path=/trunk/mcs/; revision=104994
2008-06-05 12:06:06 +00:00
Gert Driesen 159ff004eb * RegexBugs.cs: No longer derive from deprecated Assertion class.
Added test for bug #313642.
* MatchTest.cs: Code formatting.
* RegexTest.cs: Fixed compiler warnings. Code formatting. Spaces to
tabs.

svn path=/trunk/mcs/; revision=87864
2007-10-21 09:46:50 +00:00
Raja R Harinath e1bb85b9d7 * RegexTest.cs (PrimeRegex): New backtracking torture test using
a regex that recognizes composite numbers represented in unary.

svn path=/trunk/mcs/; revision=75388
2007-04-04 14:33:46 +00:00
Sebastien Pouliot 34cc16225f 2005-11-21 Sebastien Pouliot <[email protected]>
* CaptureCas.cs: New. CAS tests.
	* CaptureCollectionCas.cs: New. CAS tests.
	* GroupCas.cs: New. CAS tests.
	* GroupCollectionCas.cs: New. CAS tests.
	* GroupTest.cs: New. Unit tests.
	* MatchCas.cs: New. CAS tests.
	* MatchCollectionCas.cs: New. CAS tests.
	* MatchTest.cs: New. Unit tests.
	* RegexCas.cs: New. CAS tests.
	* RegexCompilationInfoCas.cs: New. CAS tests.
	* RegexCompilationInfoTest.cs: New. Unit tests.
	* RegexRunnerCas.cs: New. CAS tests.
	* RegexRunnerFactoryCas.cs: New. CAS tests.
	* RegexTest.cs: Added test cases for new (2.0) CacheSize property.


svn path=/trunk/mcs/; revision=53313
2005-11-21 18:37:01 +00:00
Raja R Harinath 7fc75973b9 Clean up formatting
svn path=/trunk/mcs/; revision=47083
2005-07-08 10:07:47 +00:00
Raja R Harinath 9106f292c5 In System.Text.RegularExpressions:
* MatchCollection.cs: Convert to incremental mode.
	* regex.cs (Regex.Matches): Update.  Pass responsibility of
	generating all matches to MatchCollection.

In Test/System.Text.RegularExpressions:
	* RegexTest.cs (Matches1, Matches2, ..., Matches10): Combine into ...
	(Matches): ... this.  Convert to use a data-driven approach.  Use ...
	(trials): ... this.  New variable that lists the regexp, input
	text and expected results.
	(runTrial): New.  Run a suite of MatchCollection tests on each trial.
	Tests both incremental and non-incremental modes.

svn path=/trunk/mcs/; revision=47079
2005-07-08 09:49:44 +00:00
Nick Drochak 755b9d2bdf 2005-01-08 Nick Drochak <[email protected]>
* TypeDescriptorTests.cs:
	* System.ComponentModel/ChangeLog
	* System.ComponentModel/TypeDescriptorTests.cs
	* System.Net.Sockets/ChangeLog
	* System.Net.Sockets/SocketTest.cs
	* System.Text.RegularExpressions/ChangeLog
	* System.Text.RegularExpressions/RegexTest.cs
	* System/ChangeLog
	* System/UriTest.cs
	* System/UriTest2.cs: Fix/Ignore tests for MS.NET

svn path=/trunk/mcs/; revision=38493
2005-01-07 15:42:31 +00:00
Jackson Harper 449432ab5e * RegexTest.cs: Add some simple tests for debugging/zen
building.

svn path=/trunk/mcs/; revision=30750
2004-07-05 16:30:06 +00:00
Jackson Harper b1f84a518a * RegexTest.cs: Add some simple tests for debugging/zen
building.

svn path=/trunk/mcs/; revision=30749
2004-07-05 16:11:37 +00:00
Jambunathan K f333b37b79 Added test case for exercising Regex.Unescape()
Added test cases for exercising \b as a word boundary operator
and as a character class in a regex. Refer bug #58256 for more
information.

svn path=/trunk/mcs/; revision=28913
2004-06-06 15:08:34 +00:00
Miguel de Icaza 47df0810d0 Add to right place
svn path=/trunk/mcs/; revision=20296
2003-11-21 03:00:34 +00:00