Example #1
0
 public void IsNotValueType(object actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeValueType(), message, args);
 }
Example #2
0
 public void False(bool condition, string message, params object[] args)
 {
     That(condition, Matchers.BeFalse(), message, args);
 }
Example #3
0
 ITestMatcher <bool> ITestMatcherFactory <bool> .CreateMatcher(TestContext testContext)
 {
     return(Matchers.BeFalse());
 }
Example #4
0
 public void Between <T>(T low, T high, T actual)
 {
     That(actual, Matchers.BeBetween(low, high));
 }
Example #5
0
 public void Between <T>(T low, T high, T actual, IComparer <T> comparer)
 {
     That(actual, Matchers.BeBetween <T>(low, high, comparer));
 }
Example #6
0
 public void Between(string low, string high, string actual, StringComparison comparison, string message, params object[] args)
 {
     That(actual, Matchers.BeBetween(low, high, comparison), message, args);
 }
Example #7
0
 public static void Between(this IExpectation <string> e, string low, string high, StringComparison comparison, string message, params object[] args)
 {
     e.Like(Matchers.BeBetween(low, high, comparison), message, (object[])args);
 }
Example #8
0
 public static void SetEqualTo(this IExpectation <IEnumerable <string> > e, IEnumerable <string> expected, StringComparison comparison, string message, params object[] args)
 {
     e.As <IEnumerable <string> >().Like(Matchers.BeSetEqualTo(expected, comparison), message, (object[])args);
 }
Example #9
0
 public void GreaterThan <T>(T expected, T actual, IComparer <T> comparer)
 {
     That(actual, Matchers.BeGreaterThan(expected, comparer));
 }
Example #10
0
 public void NotSetEqual <TSource>(IEnumerable <TSource> expected, IEnumerable <TSource> actual, IEqualityComparer <TSource> comparer)
 {
     NotThat(actual, Matchers.BeSetEqualTo(expected, comparer));
 }
Example #11
0
 public void NotSetEqual <TSource>(IEnumerable <TSource> expected, IEnumerable <TSource> actual, IEqualityComparer <TSource> comparer, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeSetEqualTo(expected, comparer), message, args);
 }
Example #12
0
 public void NotEmpty(IEnumerable instance, string message, params object[] args)
 {
     NotThat(instance, Matchers.BeEmpty(), message, args);
 }
Example #13
0
 public void NotEmpty(IEnumerable instance)
 {
     NotThat(instance, Matchers.BeEmpty());
 }
Example #14
0
 public static void ValueType <T>(this IExpectation <T> e)
 {
     e.As <object>().Like(Matchers.BeValueType());
 }
Example #15
0
 public void Between <T>(string low, string high, string actual, StringComparison comparison)
 {
     That(actual, Matchers.BeBetween(low, high, comparison));
 }
Example #16
0
 public void GreaterThan <T>(T expected, T actual, Comparison <T> comparison)
 {
     That(actual, Matchers.BeGreaterThan(expected, comparison));
 }
Example #17
0
 public void Between <T>(T low, T high, T actual, IComparer <T> comparer, string message, params object[] args)
 {
     That(actual, Matchers.BeBetween <T>(low, high, comparer), message, args);
 }
Example #18
0
 public void GreaterThan <T>(T expected, T actual, Comparison <T> comparison, string message, params object[] args)
 {
     That(actual, Matchers.BeGreaterThan(expected, comparison), message, args);
 }
Example #19
0
 public void NotBetween <T>(T low, T high, T actual, Comparison <T> comparison, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeBetween(low, high, comparison), message, (object[])args);
 }
 public static void MemberwiseEqualTo <T>(this IExpectation <T> e, object expected, string message, params object[] args)
 {
     e.As <object>().Like(Matchers.BeMemberwiseEqualTo(expected));
 }
Example #21
0
 public static void Between <T>(this IExpectation <T> e, T low, T high, IComparer <T> comparer, string message, params object[] args)
 {
     e.Like(Matchers.BeBetween(low, high, comparer), message, (object[])args);
 }
 public static void MemberwiseEqualTo <T>(this IExpectation <T> e, IEnumerable <KeyValuePair <string, object> > expected, string message, params object[] args)
 {
     e.As <object>().Like(Matchers.BeMemberwiseEqualTo(expected));
 }
Example #23
0
 public void Between <T>(T low, T high, T actual, Comparison <T> comparison)
 {
     That(actual, Matchers.BeBetween <T>(low, high, comparison));
 }
 public void NotMemberwiseEqual <T>(T expected, T actual)
 {
     NotThat(actual, Matchers.BeMemberwiseEqualTo(expected));
 }
Example #25
0
 public void False(bool condition)
 {
     That(condition, Matchers.BeFalse());
 }
 public void NotMemberwiseEqual <T>(T expected, T actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeMemberwiseEqualTo(expected), message, args);
 }
Example #27
0
 public static void False(this IExpectation <bool> e, string message, params object[] args)
 {
     e.Like(Matchers.BeFalse(), message, (object[])args);
 }
 public void MemberwiseEqual(IEnumerable <KeyValuePair <string, object> > expected, object actual, string message, params object[] args)
 {
     That(actual, Matchers.BeMemberwiseEqualTo(expected), message, args);
 }
Example #29
0
 public static void EqualToDownloadContents(this IExpectation <string> e, Uri source, string message, params object[] args)
 {
     e.Like(Matchers.EqualDownloadContents(source), message, (object[])args);
 }
Example #30
0
 public void IsNotValueType(object actual)
 {
     NotThat(actual, Matchers.BeValueType());
 }