| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 page = "CL"; | 364 page = "CL"; |
| 365 TestUtilities.AssertPropertyEquals( | 365 TestUtilities.AssertPropertyEquals( |
| 366 debug_, page, "GenerateDebuggingInformation", "true", false); | 366 debug_, page, "GenerateDebuggingInformation", "true", false); |
| 367 TestUtilities.AssertPropertyEquals( | 367 TestUtilities.AssertPropertyEquals( |
| 368 release_, page, "GenerateDebuggingInformation", "false", false); | 368 release_, page, "GenerateDebuggingInformation", "false", false); |
| 369 | 369 |
| 370 AllConfigsAssertPropertyEquals(page, "Warnings", "NormalWarnings", true); | 370 AllConfigsAssertPropertyEquals(page, "Warnings", "NormalWarnings", true); |
| 371 AllConfigsAssertPropertyEquals(page, "WarningsAsErrors", "false", true); | 371 AllConfigsAssertPropertyEquals(page, "WarningsAsErrors", "false", true); |
| 372 AllConfigsAssertPropertyEquals(page, "ConfigurationType", "$(Configuration
Type)", true); | 372 AllConfigsAssertPropertyEquals(page, "ConfigurationType", "$(Configuration
Type)", true); |
| 373 AllConfigsAssertPropertyEquals(page, "UserHeaderDependenciesOnly", "true",
true); | 373 AllConfigsAssertPropertyEquals(page, "UserHeaderDependenciesOnly", "true",
true); |
| 374 AllConfigsAssertPropertyEquals(page, "OutputCommandLine", "true", false); | 374 AllConfigsAssertPropertyEquals(page, "OutputCommandLine", "false", false); |
| 375 | 375 |
| 376 // C/C++ Optimization | 376 // C/C++ Optimization |
| 377 TestUtilities.AssertPropertyEquals(debug_, page, "OptimizationLevel", "O0"
, false); | 377 TestUtilities.AssertPropertyEquals(debug_, page, "OptimizationLevel", "O0"
, false); |
| 378 TestUtilities.AssertPropertyEquals(release_, page, "OptimizationLevel", "O
3", false); | 378 TestUtilities.AssertPropertyEquals(release_, page, "OptimizationLevel", "O
3", false); |
| 379 | 379 |
| 380 // C/C++ Preprocessor | 380 // C/C++ Preprocessor |
| 381 AllConfigsAssertPropertyContains(page, "PreprocessorDefinitions", "NACL",
false); | 381 AllConfigsAssertPropertyContains(page, "PreprocessorDefinitions", "NACL",
false); |
| 382 | 382 |
| 383 // C/C++ Code Generation | 383 // C/C++ Code Generation |
| 384 AllConfigsAssertPropertyEquals(page, "ExceptionHandling", "true", false); | 384 AllConfigsAssertPropertyEquals(page, "ExceptionHandling", "true", false); |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 debug_, | 513 debug_, |
| 514 pageName, | 514 pageName, |
| 515 propertyName); | 515 propertyName); |
| 516 TestUtilities.AssertPropertyIsNotNullOrEmpty( | 516 TestUtilities.AssertPropertyIsNotNullOrEmpty( |
| 517 release_, | 517 release_, |
| 518 pageName, | 518 pageName, |
| 519 propertyName); | 519 propertyName); |
| 520 } | 520 } |
| 521 } | 521 } |
| 522 } | 522 } |
| OLD | NEW |