public void AddAndGetItemColumnName(IDataGeneratorCollection col) { int count = col.Count; col.Add(factory.Binary); Assert.AreEqual(factory.Binary, col[factory.Binary.Column.ColumnName]); }
public void AddAndCheckByDataGenerator(IDataGeneratorCollection col) { int count = col.Count; col.Add(factory.Binary); Assert.IsTrue(col.Contains(factory.Binary)); Assert.AreEqual(count + 1, col.Count); }
public void AddAndRemoveByColumnName(IDataGeneratorCollection col) { int count = col.Count; col.Add(factory.Binary); col.Remove(factory.Binary.Column.ColumnName); Assert.IsTrue(!col.Contains(factory.Binary)); Assert.AreEqual(count, col.Count); }
public void GetItemStringNull(IDataGeneratorCollection col) { string n = null; IDataGenerator dg = col[n]; }
public void GetItemColumnNull(IDataGeneratorCollection col) { DataColumn column = null; IDataGenerator dg = col[column]; }
public void ContainsColumnNameNull(IDataGeneratorCollection col) { string dg = null; col.Contains(dg); }
public void ContainsColumnNull(IDataGeneratorCollection col) { DataColumn dg = null; col.Contains(dg); }
public void ContainsDataGeneratorNull(IDataGeneratorCollection col) { IDataGenerator dg = null; col.Contains(dg); }
public void RemoveColumnNameNull(IDataGeneratorCollection col) { String dg = null; col.Remove(dg); }
public void RemoveColumnNull(IDataGeneratorCollection col) { DataColumn dg = null; col.Remove(dg); }
public void RemoveDataGeneratorNull(IDataGeneratorCollection col) { IDataGenerator dg = null; col.Remove(dg); }
public void AddDuplicate(IDataGeneratorCollection col) { col.Add(factory.Binary); col.Add(factory.Binary); }
public void AddNull(IDataGeneratorCollection col) { col.Add(null); }
public void Clear(IDataGeneratorCollection col) { col.Clear(); Assert.AreEqual(0, col.Count); }