Esempio n. 1
0
        public void AssertMapContains()
        {
            Dictionary <String, String> haystack = new Dictionary <string, string>()
            {
                { "needle", "value" }
            };

            POITestCase.AssertContains(haystack, "needle");
            // FIXME: test failing case
        }
Esempio n. 2
0
        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
             * }*/
        }
Esempio n. 3
0
 public void AssertNotContained()
 {
     POITestCase.AssertNotContained("There is a needle in this haystack", "gold");
     // FIXME: test failing case
 }
Esempio n. 4
0
 public void AssertContainsIgnoreCase()
 {
     POITestCase.AssertContainsIgnoreCase("There is a Needle in this haystack", "needlE");
     // FIXME: test failing case
 }
Esempio n. 5
0
 public void AssertContainsIgnoreCase_Locale()
 {
     POITestCase.AssertContainsIgnoreCase("There is a Needle in this haystack", "needlE", CultureInfo.CurrentCulture);
     // FIXME: test failing case
 }