Example #1
0
        public void AddAndGetItemColumnName(IDataGeneratorCollection col)
        {
            int count = col.Count;

            col.Add(factory.Binary);
            Assert.AreEqual(factory.Binary, col[factory.Binary.Column.ColumnName]);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
        }
Example #4
0
 public void GetItemStringNull(IDataGeneratorCollection col)
 {
     string         n  = null;
     IDataGenerator dg = col[n];
 }
Example #5
0
 public void GetItemColumnNull(IDataGeneratorCollection col)
 {
     DataColumn     column = null;
     IDataGenerator dg     = col[column];
 }
Example #6
0
        public void ContainsColumnNameNull(IDataGeneratorCollection col)
        {
            string dg = null;

            col.Contains(dg);
        }
Example #7
0
        public void ContainsColumnNull(IDataGeneratorCollection col)
        {
            DataColumn dg = null;

            col.Contains(dg);
        }
Example #8
0
        public void ContainsDataGeneratorNull(IDataGeneratorCollection col)
        {
            IDataGenerator dg = null;

            col.Contains(dg);
        }
Example #9
0
        public void RemoveColumnNameNull(IDataGeneratorCollection col)
        {
            String dg = null;

            col.Remove(dg);
        }
Example #10
0
        public void RemoveColumnNull(IDataGeneratorCollection col)
        {
            DataColumn dg = null;

            col.Remove(dg);
        }
Example #11
0
        public void RemoveDataGeneratorNull(IDataGeneratorCollection col)
        {
            IDataGenerator dg = null;

            col.Remove(dg);
        }
Example #12
0
 public void AddDuplicate(IDataGeneratorCollection col)
 {
     col.Add(factory.Binary);
     col.Add(factory.Binary);
 }
Example #13
0
 public void AddNull(IDataGeneratorCollection col)
 {
     col.Add(null);
 }
Example #14
0
 public void Clear(IDataGeneratorCollection col)
 {
     col.Clear();
     Assert.AreEqual(0, col.Count);
 }