Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: experimental/visual_studio_plugin/src/NaClVsx.Package/NaClVsx.Package_IntegrationTestProject/PackageTest.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/src/NaClVsx.Package/NaClVsx.Package_IntegrationTestProject/PackageTest.cs
diff --git a/experimental/visual_studio_plugin/src/NaClVsx.Package/NaClVsx.Package_IntegrationTestProject/PackageTest.cs b/experimental/visual_studio_plugin/src/NaClVsx.Package/NaClVsx.Package_IntegrationTestProject/PackageTest.cs
deleted file mode 100644
index 8fc5bdf8d1a9c70dcc3660d8a248a39bf9f4e0a9..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/NaClVsx.Package/NaClVsx.Package_IntegrationTestProject/PackageTest.cs
+++ /dev/null
@@ -1,59 +0,0 @@
- /*
- * Copyright 2009 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
- */
-using System;
-using Google.NaClVsx;
-using Microsoft.VisualStudio.Shell.Interop;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using Microsoft.VSSDK.Tools.VsIdeTesting;
-
-namespace IntegrationTestProject {
- /// <summary>
- /// Integration test for package validation
- /// </summary>
- [TestClass]
- public class PackageTest {
- /// <summary>
- ///Gets or sets the test context which provides
- ///information about and functionality for the current test run.
- ///</summary>
- public TestContext TestContext { get; set; }
-
- [TestMethod]
- [HostType("VS IDE")]
- public void PackageLoadTest() {
- UIThreadInvoker.Invoke((ThreadInvoker) delegate {
- //Get the Shell Service
- var shellService =
- VsIdeTestHostContext.
- ServiceProvider.
- GetService(
- typeof (SVsShell)) as
- IVsShell;
- Assert.IsNotNull(shellService);
-
- //Validate package load
- IVsPackage package;
- var packageGuid =
- new Guid(
- GuidList.
- kGuidNaClVsxPackagePkgString);
- Assert.IsTrue(0 ==
- shellService.
- LoadPackage(
- ref packageGuid,
- out package));
- Assert.IsNotNull(package,
- "Package failed to load");
- });
- }
-
- #region Nested type: ThreadInvoker
-
- private delegate void ThreadInvoker();
-
- #endregion
- }
-}

Powered by Google App Engine
This is Rietveld 408576698