Beispiel #1
0
        public void ClassWithMultidimensionalArray_HasPropertyBagGenerated()
        {
            var propertyBag = PropertyBagStore.GetPropertyBag(typeof(ClassWithMultidimensionalArray)) as ContainerPropertyBag <ClassWithMultidimensionalArray>;

            Assert.That(propertyBag, Is.Not.Null);
            var container = new ClassWithMultidimensionalArray();

            Assert.That(propertyBag.GetProperties(ref container).Count(), Is.EqualTo(0));
        }
        public void ClassWithMultidimensionalArray_HasPropertyBagGenerated()
        {
            var propertyBag = PropertyBagStore.GetPropertyBag(typeof(ClassWithMultidimensionalArray)) as ContainerPropertyBag <ClassWithMultidimensionalArray>;

            Assert.That(propertyBag, Is.Not.Null);
            var container = new ClassWithMultidimensionalArray();

            // @TODO ILPP should support this case
            // Assert.That(propertyBag.GetProperties(ref container).Count(), Is.EqualTo(1));

            Assert.Pass(); // Test is inconclusive on CI
        }