public void CreateKnownTypes_Types()
        {
            var coll = new DataPagerFieldCollectionPoker();

            Assert.AreEqual(typeof(NextPreviousPagerField), coll.DoCreateKnownType(0).GetType(), "#A1");
            Assert.AreEqual(typeof(NumericPagerField), coll.DoCreateKnownType(1).GetType(), "#A2");
            Assert.AreEqual(typeof(TemplatePagerField), coll.DoCreateKnownType(2).GetType(), "#A3");
        }
        public void CreateKnownTypes_Arguments()
        {
            var coll = new DataPagerFieldCollectionPoker();

            coll.DoCreateKnownType(3);
        }
Exemplo n.º 3
0
		public void CreateKnownTypes_Arguments ()
		{
			var coll = new DataPagerFieldCollectionPoker ();
			coll.DoCreateKnownType (3);
		}
Exemplo n.º 4
0
		public void CreateKnownTypes_Types ()
		{
			var coll = new DataPagerFieldCollectionPoker ();

			Assert.AreEqual (typeof (NextPreviousPagerField), coll.DoCreateKnownType (0).GetType (), "#A1");
			Assert.AreEqual (typeof (NumericPagerField), coll.DoCreateKnownType (1).GetType (), "#A2");
			Assert.AreEqual (typeof (TemplatePagerField), coll.DoCreateKnownType (2).GetType (), "#A3");
		}