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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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); |
385 | 385 |
386 // C/C++ Output Files | 386 // C/C++ Output Files |
387 AllConfigsAssertPropertyEquals(page, "ObjectFileName", @"$(IntDir)%(FileNa
me).o", false); | 387 AllConfigsAssertPropertyEquals(page, "ObjectFileName", @"$(IntDir)", false
); |
388 | 388 |
389 // C/C++ Advanced | 389 // C/C++ Advanced |
390 AllConfigsAssertPropertyEquals(page, "CompileAs", "Default", true); | 390 AllConfigsAssertPropertyEquals(page, "CompileAs", "Default", true); |
391 | 391 |
392 // Linker Input | 392 // Linker Input |
393 page = "Link"; | 393 page = "Link"; |
394 AllConfigsAssertPropertyContains(page, "AdditionalDependencies", "ppapi_cp
p;ppapi", true); | 394 AllConfigsAssertPropertyContains(page, "AdditionalDependencies", "ppapi_cp
p;ppapi", true); |
395 dte_.Solution.Close(); | 395 dte_.Solution.Close(); |
396 } | 396 } |
397 | 397 |
(...skipping 115 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 |