Exemplo n.º 1
0
 public void IsNotValueType(object actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeValueType(), message, args);
 }
Exemplo n.º 2
0
 public void False(bool condition, string message, params object[] args)
 {
     That(condition, Matchers.BeFalse(), message, args);
 }
Exemplo n.º 3
0
 ITestMatcher <bool> ITestMatcherFactory <bool> .CreateMatcher(TestContext testContext)
 {
     return(Matchers.BeFalse());
 }
Exemplo n.º 4
0
 public void Between <T>(T low, T high, T actual)
 {
     That(actual, Matchers.BeBetween(low, high));
 }
Exemplo n.º 5
0
 public void Between <T>(T low, T high, T actual, IComparer <T> comparer)
 {
     That(actual, Matchers.BeBetween <T>(low, high, comparer));
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 9
0
 public void GreaterThan <T>(T expected, T actual, IComparer <T> comparer)
 {
     That(actual, Matchers.BeGreaterThan(expected, comparer));
 }
Exemplo n.º 10
0
 public void NotSetEqual <TSource>(IEnumerable <TSource> expected, IEnumerable <TSource> actual, IEqualityComparer <TSource> comparer)
 {
     NotThat(actual, Matchers.BeSetEqualTo(expected, comparer));
 }
Exemplo n.º 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);
 }
Exemplo n.º 12
0
 public void NotEmpty(IEnumerable instance, string message, params object[] args)
 {
     NotThat(instance, Matchers.BeEmpty(), message, args);
 }
Exemplo n.º 13
0
 public void NotEmpty(IEnumerable instance)
 {
     NotThat(instance, Matchers.BeEmpty());
 }
Exemplo n.º 14
0
 public static void ValueType <T>(this IExpectation <T> e)
 {
     e.As <object>().Like(Matchers.BeValueType());
 }
Exemplo n.º 15
0
 public void Between <T>(string low, string high, string actual, StringComparison comparison)
 {
     That(actual, Matchers.BeBetween(low, high, comparison));
 }
Exemplo n.º 16
0
 public void GreaterThan <T>(T expected, T actual, Comparison <T> comparison)
 {
     That(actual, Matchers.BeGreaterThan(expected, comparison));
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
Exemplo n.º 20
0
 public static void MemberwiseEqualTo <T>(this IExpectation <T> e, object expected, string message, params object[] args)
 {
     e.As <object>().Like(Matchers.BeMemberwiseEqualTo(expected));
 }
Exemplo n.º 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);
 }
Exemplo n.º 22
0
 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));
 }
Exemplo n.º 23
0
 public void Between <T>(T low, T high, T actual, Comparison <T> comparison)
 {
     That(actual, Matchers.BeBetween <T>(low, high, comparison));
 }
Exemplo n.º 24
0
 public void NotMemberwiseEqual <T>(T expected, T actual)
 {
     NotThat(actual, Matchers.BeMemberwiseEqualTo(expected));
 }
Exemplo n.º 25
0
 public void False(bool condition)
 {
     That(condition, Matchers.BeFalse());
 }
Exemplo n.º 26
0
 public void NotMemberwiseEqual <T>(T expected, T actual, string message, params object[] args)
 {
     NotThat(actual, Matchers.BeMemberwiseEqualTo(expected), message, args);
 }
Exemplo n.º 27
0
 public static void False(this IExpectation <bool> e, string message, params object[] args)
 {
     e.Like(Matchers.BeFalse(), message, (object[])args);
 }
Exemplo n.º 28
0
 public void MemberwiseEqual(IEnumerable <KeyValuePair <string, object> > expected, object actual, string message, params object[] args)
 {
     That(actual, Matchers.BeMemberwiseEqualTo(expected), message, args);
 }
Exemplo n.º 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);
 }
Exemplo n.º 30
0
 public void IsNotValueType(object actual)
 {
     NotThat(actual, Matchers.BeValueType());
 }