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\"";
 }
 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";
 }
 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\"";
 }
Exemple #4
0
 public void SetUp()
 {
     theConstraint        = new SubstringConstraint("hello").IgnoreCase;
     expectedDescription  = "String containing \"hello\", ignoring case";
     stringRepresentation = "<substring \"hello\">";
 }
 public void SetUp()
 {
     theConstraint = new SubstringConstraint("hello").IgnoreCase;
     expectedDescription = "String containing \"hello\", ignoring case";
     stringRepresentation = "<substring \"hello\">";
 }
Exemple #6
0
 public void SetUp()
 {
     TheConstraint        = new SubstringConstraint("hello");
     ExpectedDescription  = "String containing \"hello\"";
     StringRepresentation = "<substring \"hello\">";
 }