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