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

Side by Side Diff: visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs

Issue 14122017: [VS Addin] Add visual studio 2012 support (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 using System; 4 using System;
5 using System.Text; 5 using System.Text;
6 using System.Collections.Generic; 6 using System.Collections.Generic;
7 using EnvDTE; 7 using EnvDTE;
8 using EnvDTE80; 8 using EnvDTE80;
9 using Microsoft.VisualStudio.TestTools.UnitTesting; 9 using Microsoft.VisualStudio.TestTools.UnitTesting;
10 using Microsoft.VisualStudio.VCProjectEngine; 10 using Microsoft.VisualStudio.VCProjectEngine;
11 using NaCl.Build.CPPTasks; 11 using NaCl.Build.CPPTasks;
12 using NativeClientVSAddIn; 12 using NativeClientVSAddIn;
13 13
14 namespace UnitTests 14 namespace UnitTests
15 { 15 {
16 [TestClass] 16 [TestClass]
17 public class ComileTest : BaseCompileTest 17 public class ComileTest : BaseCompileTest
18 { 18 {
19 private static string SolutionBaseName_ = "CompileTest"; 19 private static string SolutionBaseName_ = "CompileTest";
20 20
21 [ClassInitialize] 21 [ClassInitialize]
22 public new static void ClassSetUp(TestContext testContext) 22 public static void ClassSetUp(TestContext testContext)
23 { 23 {
24 BaseCompileTest.ClassSetUp(testContext, SolutionBaseName_); 24 BaseCompileTest.ClassSetUp(testContext, SolutionBaseName_);
25 } 25 }
26 26
27 /// <summary> 27 /// <summary>
28 /// This is run after each test to clean up things created in TestSetup( ). 28 /// This is run after each test to clean up things created in TestSetup( ).
29 /// </summary> 29 /// </summary>
30 [TestCleanup] 30 [TestCleanup]
31 public void ClassTearDown() 31 public void ClassTearDown()
32 { 32 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 string root = System.Environment.GetEnvironmentVariable("NACL_SDK_RO OT"); 74 string root = System.Environment.GetEnvironmentVariable("NACL_SDK_RO OT");
75 if (!SDKUtilities.SupportsPNaCl(root)) 75 if (!SDKUtilities.SupportsPNaCl(root))
76 { 76 {
77 Assert.Inconclusive(); 77 Assert.Inconclusive();
78 } 78 }
79 CheckCompile(Strings.PNaClPlatformName, false); 79 CheckCompile(Strings.PNaClPlatformName, false);
80 } 80 }
81 81
82 } 82 }
83 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698