public void AssertMapContains() { Dictionary <String, String> haystack = new Dictionary <string, string>() { { "needle", "value" } }; POITestCase.AssertContains(haystack, "needle"); // FIXME: test failing case }
public void AssertContains() { POITestCase.AssertContains("There is a needle in this haystack", "needle"); /*try { * POITestCase.AssertContains("There is gold in this haystack", "needle"); * Assert.Fail("found a needle"); * } catch (final junit.framework.AssertFailedException e) { * // expected * }*/ }
public void AssertNotContained() { POITestCase.AssertNotContained("There is a needle in this haystack", "gold"); // FIXME: test failing case }
public void AssertContainsIgnoreCase() { POITestCase.AssertContainsIgnoreCase("There is a Needle in this haystack", "needlE"); // FIXME: test failing case }
public void AssertContainsIgnoreCase_Locale() { POITestCase.AssertContainsIgnoreCase("There is a Needle in this haystack", "needlE", CultureInfo.CurrentCulture); // FIXME: test failing case }