Esempio n. 1
0
        public void ConstructorTest()
        {
            string description = "Some Attribute Description";

            DescriptionAttribute target = VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor.CreatePrivate(description);

            Assert.IsNotNull(target, "ResourcesDescriptionAttribute instance was not created successfully.");
        }
Esempio n. 2
0
        public void DescriptionAttributeTest()
        {
            string description = "AssemblyName";
            DescriptionAttribute target = VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor.CreatePrivate(description);
            Assert.IsNotNull(target, "ResourcesDescriptionAttribute instance was not created successfully.");

            VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor accessor = new VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor(target);

            Assert.IsNotNull(accessor.Description, "Description property value was uninitialized.");
        }
Esempio n. 3
0
        public void DescriptionAttributeTest()
        {
            string description          = "AssemblyName";
            DescriptionAttribute target = VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor.CreatePrivate(description);

            Assert.IsNotNull(target, "ResourcesDescriptionAttribute instance was not created successfully.");

            VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor accessor = new VisualStudio_Project_Samples_ResourcesDescriptionAttributeAccessor(target);

            Assert.IsNotNull(accessor.Description, "Description property value was uninitialized.");
        }