public void ConstructorTest1()
        {
            string            ns     = "";
            TypeNamespaceInfo target = new TypeNamespaceInfo(ns);

            Assert.Inconclusive("TypeNamespaceInfoUnitTest.ConstructorTest1 not implemented.");
        }
        public void ParentTest()
        {
            TypeNamespaceInfo target = new TypeNamespaceInfo("");
            TypeNamespaceInfo actual = target.Parent;

            Assert.IsNull(actual);
            Assert.Inconclusive("TypeNamespaceInfoUnitTest.ParentTest not implemented.");
        }
Пример #3
0
        public void ConstructorTest4()
        {
            TypeInfo          typeInfo = typeof(string).GetTypeInfo();
            TypeNamespaceInfo parent   = new TypeNamespaceInfo("System");
            TypeNameInfo      target   = new TypeNameInfo(typeInfo, parent);

            Assert.Inconclusive("TypeNameInfoUnitTest.ConstructorTest4 not implemented.");
        }
        public void GetFullNameTest()
        {
            string            expected = "";
            TypeNamespaceInfo target   = new TypeNamespaceInfo(expected);
            string            actual   = target.GetFullName();

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("TypeNamespaceInfoUnitTest.GetFullNameTest not implemented.");
        }
        public void EqualsTest3()
        {
            TypeNamespaceInfo target = new TypeNamespaceInfo("");
            object            other  = null;
            bool expected            = false;
            bool actual = target.Equals(other);

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("TypeNamespaceInfoUnitTest.EqualsTest3 not implemented.");
        }
        public void CompareToTest2()
        {
            TypeNamespaceInfo target = new TypeNamespaceInfo("");
            string            other  = null;
            int expected             = 1;
            int actual = target.CompareTo(other);

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("TypeNamespaceInfoUnitTest.CompareToTest2 not implemented.");
        }
        public void GetHashCodeTest()
        {
            string            ns     = "";
            TypeNamespaceInfo target = new TypeNamespaceInfo(ns);
            int expected             = ns.GetHashCode();
            int actual = target.GetHashCode();

            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("TypeNamespaceInfoUnitTest.GetHashCodeTest not implemented.");
        }
        public void IConvertibleTest()
        {
            string       expected = "";
            IConvertible target   = new TypeNamespaceInfo(expected);
            Type         type     = typeof(string);
            object       actual   = target.ToType(type, null);

            Assert.IsNotNull(actual);
            Assert.IsInstanceOfType(actual, type);
            Assert.AreEqual(expected, (string)actual);
            Assert.Inconclusive("TypeNamespaceInfoUnitTest.IConvertibleTest not implemented.");
        }