Ejemplo n.º 1
0
        public void ConvertFrom_SimpleAssemblyName()
        {
            var converter = new AssemblyNameConverter();
            var expected  = typeof(String).Assembly;
            var actual    = converter.ConvertFrom("mscorlib");

            Assert.AreEqual(expected, actual, "The assembly loaded was not the one expected.");
        }
Ejemplo n.º 2
0
        public void ConvertFrom_AssemblyNameEmpty(string value)
        {
            var converter = new AssemblyNameConverter();

            Assert.IsNull(converter.ConvertFrom(value), "Empty/null assembly name should result in a null converted value.");
        }