Exemple #1
0
        public void GetTargetPathOfShortcutFileTest()
        {
            string lnkFilePath = AFile.GetFullPathOfShortcutFile(@"\startupItemTest", UNITTEST_DIRECTORY_APATH);
            string expected    = @"C:\";
            string actual      = AFile.GetTargetPathOfShortcutFile(lnkFilePath);

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
 public void GetFullPathOfShortcutFileTest4(string startupName, string Apath, string expected)
 {
     Assert.AreEqual(expected, AFile.GetFullPathOfShortcutFile(startupName, Apath));
 }