protected override void SetUp()
 {
     Matcher = new SubstringConstraint("hello").IgnoreCase;
     GoodValues = new object[] { "Hello", "HellO there", "I said HELLO", "say hello to fred" };
     BadValues = new object[] { "goodbye", "What the hell?", string.Empty, null };
     Description = "\"hello\"";
 }
예제 #2
0
 public void SetUp()
 {
     Matcher = new SubstringConstraint("hello").IgnoreCase;
     GoodValues = new object[] { "Hello", "HellO there", "I said HELLO", "say hello to fred" };
     BadValues = new object[] { "goodbye", "What the hell?", string.Empty, null };
     Description = "String containing \"hello\", ignoring case";
 }
예제 #3
0
 public void SetUp()
 {
     Matcher = new SubstringConstraint("hello");
     GoodValues = new object[] { "hello", "hello there", "I said hello", "say hello to fred" };
     BadValues = new object[] { "goodbye", "What the hell?", string.Empty, null };
     Description = "String containing \"hello\"";
 }
예제 #4
0
 public void SetUp()
 {
     theConstraint        = new SubstringConstraint("hello").IgnoreCase;
     expectedDescription  = "String containing \"hello\", ignoring case";
     stringRepresentation = "<substring \"hello\">";
 }
예제 #5
0
 public void SetUp()
 {
     theConstraint = new SubstringConstraint("hello").IgnoreCase;
     expectedDescription = "String containing \"hello\", ignoring case";
     stringRepresentation = "<substring \"hello\">";
 }
예제 #6
0
 public void SetUp()
 {
     TheConstraint        = new SubstringConstraint("hello");
     ExpectedDescription  = "String containing \"hello\"";
     StringRepresentation = "<substring \"hello\">";
 }