Пример #1
0
		public void BlamTestSystemTagIndex()
		{
			bool x64 = IntPtr.Size == 64;

			string k_hce = @"C:\Program Files" + (x64 ? " (x86)" : "") + @"\Microsoft Games\Halo Custom Edition\tags\";
			string k_h2v = @"C:\Program Files" + (x64 ? " (x86)" : "") + @"\Microsoft Games\Halo 2 Map Editor\tags\";

			Assert.IsTrue(System.IO.Directory.Exists(k_hce));
			Assert.IsTrue(System.IO.Directory.Exists(k_h2v));

			var ti = new Managers.TagIndex(BlamVersion.Halo1_CE, k_hce, false);
			ti.Dispose();
			ti = new Managers.TagIndex(BlamVersion.Halo2_PC, k_h2v, false);
			ti.Dispose();
		}
Пример #2
0
        public void BlamTestSystemTagIndex()
        {
            bool x64 = IntPtr.Size == 64;

            string k_hce = @"C:\Program Files" + (x64 ? " (x86)" : "") + @"\Microsoft Games\Halo Custom Edition\tags\";
            string k_h2v = @"C:\Program Files" + (x64 ? " (x86)" : "") + @"\Microsoft Games\Halo 2 Map Editor\tags\";

            Assert.IsTrue(System.IO.Directory.Exists(k_hce));
            Assert.IsTrue(System.IO.Directory.Exists(k_h2v));

            var ti = new Managers.TagIndex(BlamVersion.Halo1_CE, k_hce, false);

            ti.Dispose();
            ti = new Managers.TagIndex(BlamVersion.Halo2_PC, k_h2v, false);
            ti.Dispose();
        }