Esempio n. 1
0
        public void TestStringNullDefaultValue()
        {
            IDataPortal <PropertyInfoRoot> dataPortal = _testDIContext.CreateDataPortal <PropertyInfoRoot>();

            Assert.AreEqual(null, PropertyInfoRoot.StringNullDefaultValueProperty.DefaultValue);
            Assert.AreEqual(null, PropertyInfoRoot.NewPropertyInfoRoot(dataPortal).StringNullDefaultValue);
        }
Esempio n. 2
0
        public void TestDefaultValue()
        {
            IDataPortal <PropertyInfoRoot> dataPortal = _testDIContext.CreateDataPortal <PropertyInfoRoot>();

            Assert.AreEqual("x", PropertyInfoRoot.NameDefaultValueProperty.DefaultValue);
            Assert.AreEqual("x", PropertyInfoRoot.NewPropertyInfoRoot(dataPortal).NameDefaultValue);
        }
Esempio n. 3
0
 public void TestStringNullDefaultValue()
 {
     Assert.AreEqual(null, PropertyInfoRoot.StringNullDefaultValueProperty.DefaultValue);
     Assert.AreEqual(null, PropertyInfoRoot.NewPropertyInfoRoot().StringNullDefaultValue);
 }
Esempio n. 4
0
 public void TestDefaultValue()
 {
     Assert.AreEqual("x", PropertyInfoRoot.NameDefaultValueProperty.DefaultValue);
     Assert.AreEqual("x", PropertyInfoRoot.NewPropertyInfoRoot().NameDefaultValue);
 }