public void GetTargetPathOfShortcutFileTest() { string lnkFilePath = AFile.GetFullPathOfShortcutFile(@"\startupItemTest", UNITTEST_DIRECTORY_APATH); string expected = @"C:\"; string actual = AFile.GetTargetPathOfShortcutFile(lnkFilePath); Assert.AreEqual(expected, actual); }
public void GetFullPathOfShortcutFileTest4(string startupName, string Apath, string expected) { Assert.AreEqual(expected, AFile.GetFullPathOfShortcutFile(startupName, Apath)); }