Exemplo n.º 1
0
        public void getVistaName()
        {
            Assert.AreEqual("", VistaUtils.getVistaName(""));

            Assert.AreEqual("", VistaUtils.getVistaName(null));

            Assert.AreEqual("", VistaUtils.getVistaName("joe shmoe"));

            Assert.AreEqual("", VistaUtils.getVistaName("shmoe,joe,bob"));

            Assert.AreEqual("SHMOE,JOE", VistaUtils.getVistaName("shmoe,joe"));

            Assert.AreEqual("", VistaUtils.getVistaName("2shmoe,joe"));
        }