| OLD | NEW |
| 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 | 4 |
| 5 namespace UnitTests | 5 namespace UnitTests |
| 6 { | 6 { |
| 7 using System; | 7 using System; |
| 8 | 8 |
| 9 using EnvDTE; | 9 using EnvDTE; |
| 10 using EnvDTE80; | 10 using EnvDTE80; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 /// </summary> | 103 /// </summary> |
| 104 [TestMethod] | 104 [TestMethod] |
| 105 public void CheckNaClCompile() | 105 public void CheckNaClCompile() |
| 106 { | 106 { |
| 107 string naclPlatform = NativeClientVSAddIn.Strings.NaCl64PlatformName; | 107 string naclPlatform = NativeClientVSAddIn.Strings.NaCl64PlatformName; |
| 108 TryCompile(naclSolutionEmptyInitialization, "Debug", naclPlatform); | 108 TryCompile(naclSolutionEmptyInitialization, "Debug", naclPlatform); |
| 109 TryCompile(naclSolutionEmptyInitialization, "Release", naclPlatform); | 109 TryCompile(naclSolutionEmptyInitialization, "Release", naclPlatform); |
| 110 } | 110 } |
| 111 | 111 |
| 112 /// <summary> | 112 /// <summary> |
| 113 /// Test method to check that the NaCl platform compiles a test project. |
| 114 /// </summary> |
| 115 [TestMethod] |
| 116 public void CheckPNaClCompile() |
| 117 { |
| 118 string naclPlatform = NativeClientVSAddIn.Strings.PNaClPlatformName; |
| 119 TryCompile(naclSolutionEmptyInitialization, "Debug", naclPlatform); |
| 120 TryCompile(naclSolutionEmptyInitialization, "Release", naclPlatform); |
| 121 } |
| 122 |
| 123 /// <summary> |
| 113 /// Test method to check that the Pepper platform compiles a test project. | 124 /// Test method to check that the Pepper platform compiles a test project. |
| 114 /// </summary> | 125 /// </summary> |
| 115 [TestMethod] | 126 [TestMethod] |
| 116 public void CheckPepperCompile() | 127 public void CheckPepperCompile() |
| 117 { | 128 { |
| 118 string pepperPlatform = NativeClientVSAddIn.Strings.PepperPlatformName; | 129 string pepperPlatform = NativeClientVSAddIn.Strings.PepperPlatformName; |
| 119 TryCompile(naclSolutionEmptyInitialization, "Debug", pepperPlatform); | 130 TryCompile(naclSolutionEmptyInitialization, "Debug", pepperPlatform); |
| 120 TryCompile(naclSolutionEmptyInitialization, "Release", pepperPlatform); | 131 TryCompile(naclSolutionEmptyInitialization, "Release", pepperPlatform); |
| 121 } | 132 } |
| 122 | 133 |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 debug_, | 584 debug_, |
| 574 pageName, | 585 pageName, |
| 575 propertyName); | 586 propertyName); |
| 576 TestUtilities.AssertPropertyIsNotNullOrEmpty( | 587 TestUtilities.AssertPropertyIsNotNullOrEmpty( |
| 577 release_, | 588 release_, |
| 578 pageName, | 589 pageName, |
| 579 propertyName); | 590 propertyName); |
| 580 } | 591 } |
| 581 } | 592 } |
| 582 } | 593 } |
| OLD | NEW |