public void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.Structures.Count, Is.EqualTo(2), message, arguments); factory.Verify(this.Structures[0], message, arguments); factory.Verify(this.Structures[1], message, arguments); factory.Verify(this.Classes.Count, Is.EqualTo(2), message, arguments); factory.Verify(this.Classes[0] as ComplexClass, message, arguments); factory.Verify(this.Classes[1], message, arguments); factory.Verify(this.Objects.Count, Is.EqualTo(4), message, arguments); factory.Verify(this.Objects[0] as ComplexClass, message, arguments); factory.Verify(this.Objects[1] as Class, message, arguments); factory.Verify((bool)this.Objects[2], message, arguments); factory.Verify((DateTime)this.Objects[3], message, arguments); factory.Verify(this.Floats.Count, Is.EqualTo(10), message, arguments); for (int i = 0; i < 10; i++) factory.Verify(this.Floats[i], Is.EqualTo(i + 0.1337f), message, arguments); factory.Verify(this.Empty.Count, Is.EqualTo(0), message, arguments); factory.Verify(this.Single.Count, Is.EqualTo(1), message, arguments); factory.Verify(this.Single[0], Is.EqualTo(1337), message, arguments); factory.Verify(this.SingleObject.Count, Is.EqualTo(1), message, arguments); factory.Verify(this.SingleObject[0] as Class, message, arguments); }
public void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.Boolean, message, arguments); factory.Verify(this.Integer, message, arguments); factory.Verify(this.Float, message, arguments); factory.Verify(this.Enumerator, message, arguments); factory.Verify(this.String, message, arguments); }
public virtual void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.Boolean, message, arguments); factory.Verify(this.BooleanNull, Is.Null, message, arguments); factory.Verify(this.Integer, message, arguments); factory.Verify(this.IntegerNull, Is.Null, message, arguments); factory.Verify(this.Float, message, arguments); factory.Verify(this.FloatNull, Is.Null, message, arguments); factory.Verify(this.Enumerator, message, arguments); factory.Verify(this.EnumeratorNull, Is.Null, message, arguments); factory.Verify(this.Structure, message, arguments); factory.Verify(this.StructureNull, Is.Null, message, arguments); }
public void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.Structures[0], message, arguments); factory.Verify(this.Structures[1], message, arguments); factory.Verify(this.Classes[0] as ComplexClass, message, arguments); factory.Verify(this.Classes[1], message, arguments); factory.Verify(this.Objects["complex"] as ComplexClass, message, arguments); factory.Verify(this.Objects["class"] as Class, message, arguments); factory.Verify((bool)this.Objects["boolean"], message, arguments); factory.Verify((DateTime)this.Objects["time"], message, arguments); for (int i = 0; i < 10; i++) factory.Verify(this.Numbers[this.keys[i]], Is.EqualTo(i), message, arguments); factory.Verify(this.Empty, Is.Null, message, arguments); }
public virtual void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.String, message, arguments); }
public virtual void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.Structures.Length, Is.EqualTo(2), message, arguments); factory.Verify(this.Structures[0], message, arguments); factory.Verify(this.Structures[1], message, arguments); factory.Verify(this.Classes.Length, Is.EqualTo(2), message, arguments); factory.Verify(this.Classes[0] as ComplexClass, message, arguments); factory.Verify(this.Classes[1], message, arguments); factory.Verify(this.Objects.Length, Is.EqualTo(4), message, arguments); factory.Verify(this.Objects[0] as ComplexClass, message, arguments); factory.Verify(this.Objects[1] as Class, message, arguments); factory.Verify((bool)this.Objects[2], message, arguments); factory.Verify((DateTime)this.Objects[3], message, arguments); factory.Verify(this.Numbers.Length, Is.EqualTo(10), message, arguments); for (int i = 0; i < 10; i++) factory.Verify(this.Numbers[i], Is.EqualTo(i), message, arguments); factory.Verify(this.Empty, Is.Null, message, arguments); }
public virtual void Verify(IFactory factory, string message, params object[] arguments) { factory.Verify(this.Data.Key, message, arguments); factory.Verify(this.Data.Value, message, arguments); }
public override void Verify(IFactory factory, string message, params object[] arguments) { base.Verify(factory, message, arguments); factory.Verify(this.Structure, message, arguments); factory.Verify(this.Class, message, arguments); }