You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -11,9 +11,7 @@
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
#if NET_2_0
|
||||
using System.Collections.Generic;
|
||||
#endif
|
||||
|
||||
using NUnit.Framework;
|
||||
|
||||
@ -54,7 +52,6 @@ namespace MonoTests.System.Text.RegularExpressions
|
||||
|
||||
protected bool Compiled { get; set; }
|
||||
|
||||
#if NET_2_0
|
||||
private int cache_initial_value;
|
||||
|
||||
[TestFixtureSetUp]
|
||||
@ -68,7 +65,6 @@ namespace MonoTests.System.Text.RegularExpressions
|
||||
{
|
||||
Regex.CacheSize = cache_initial_value;
|
||||
}
|
||||
#endif
|
||||
|
||||
[Test]
|
||||
public void Simple ()
|
||||
@ -189,7 +185,7 @@ namespace MonoTests.System.Text.RegularExpressions
|
||||
AddOptions( RegexOptions.None )).Match ("foobar", 5, -1);
|
||||
}
|
||||
|
||||
[Test, ExpectedException (typeof (ArgumentOutOfRangeException))]
|
||||
[Test, ExpectedException (typeof (IndexOutOfRangeException))]
|
||||
public void Match_BadLength2 ()
|
||||
{
|
||||
new Regex (@"foo",
|
||||
@ -445,7 +441,6 @@ namespace MonoTests.System.Text.RegularExpressions
|
||||
foreach (MatchCollectionTrial t in trials)
|
||||
runTrial (t,Compiled);
|
||||
}
|
||||
#if NET_2_0
|
||||
[Test]
|
||||
public void CacheSize ()
|
||||
{
|
||||
@ -525,6 +520,5 @@ namespace MonoTests.System.Text.RegularExpressions
|
||||
x += "1";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user