Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System/Test')
-rw-r--r--mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog4
-rw-r--r--mcs/class/System/Test/System.Text.RegularExpressions/RegexMatchTests.cs4
2 files changed, 8 insertions, 0 deletions
diff --git a/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog b/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog
index 7ae8f624c85..877ff8241cd 100644
--- a/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog
+++ b/mcs/class/System/Test/System.Text.RegularExpressions/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-10 Raja R Harinath <harinath@hurrynot.org>
+
+ * RegexMatchTests.cs (RegexTrial0053): New.
+
2009-02-27 Jonathan Pryor <jpryor@novell.com>
* RegexReplace.cs: Add null argument checks for Regex.Replace().
diff --git a/mcs/class/System/Test/System.Text.RegularExpressions/RegexMatchTests.cs b/mcs/class/System/Test/System.Text.RegularExpressions/RegexMatchTests.cs
index fa60eb67e3a..53a00f80442 100644
--- a/mcs/class/System/Test/System.Text.RegularExpressions/RegexMatchTests.cs
+++ b/mcs/class/System/Test/System.Text.RegularExpressions/RegexMatchTests.cs
@@ -148,6 +148,8 @@ namespace MonoTests.System.Text.RegularExpressions
new RegexTrial (@"abc*(?!c{1,})", RegexOptions.None, "abcc", "Pass. Group[0]=(0,4)"),//50
new RegexTrial (@"(a)(?<1>b)(?'1'c)", RegexOptions.ExplicitCapture, "abc", "Pass. Group[0]=(0,3) Group[1]=(1,1)(2,1)"),//51
new RegexTrial (@"(?>a*).", RegexOptions.ExplicitCapture, "aaaa", "Fail."),//52
+
+ new RegexTrial (@"(?<ab>ab)c\1", RegexOptions.None, "abcabc", "Pass. Group[0]=(0,5) Group[1]=(0,2)"),//53
};
[Test]
@@ -318,5 +320,7 @@ namespace MonoTests.System.Text.RegularExpressions
[Test] public void RegexJvmTrial0050 () { trials [50].Execute (); }
[Test] public void RegexJvmTrial0051 () { trials [51].Execute (); }
[Test] public void RegexJvmTrial0052 () { trials [52].Execute (); }
+
+ [Test] public void RegexTrial0053 () { trials [53].Execute (); }
}
}