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 using System.IO; | 8 using System.IO; |
9 | 9 |
10 using EnvDTE; | 10 using EnvDTE; |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 TestUtilities.AssertPropertyContains(debug_, page, propName, naclFlag, tru
e); | 401 TestUtilities.AssertPropertyContains(debug_, page, propName, naclFlag, tru
e); |
402 TestUtilities.AssertPropertyContains(debug_, page, propName, naclDebugFlag
, true); | 402 TestUtilities.AssertPropertyContains(debug_, page, propName, naclDebugFlag
, true); |
403 TestUtilities.AssertPropertyContains(debug_, page, propName, noSandBoxFlag
, true); | 403 TestUtilities.AssertPropertyContains(debug_, page, propName, noSandBoxFlag
, true); |
404 TestUtilities.AssertPropertyContains(release_, page, propName, dataDir, tr
ue); | 404 TestUtilities.AssertPropertyContains(release_, page, propName, dataDir, tr
ue); |
405 TestUtilities.AssertPropertyContains(release_, page, propName, address, tr
ue); | 405 TestUtilities.AssertPropertyContains(release_, page, propName, address, tr
ue); |
406 TestUtilities.AssertPropertyContains(release_, page, propName, naclFlag, t
rue); | 406 TestUtilities.AssertPropertyContains(release_, page, propName, naclFlag, t
rue); |
407 | 407 |
408 // VC++ Directories | 408 // VC++ Directories |
409 page = "ConfigurationDirectories"; | 409 page = "ConfigurationDirectories"; |
410 AllConfigsAssertPropertyContains(page, "IncludePath", @"$(VSNaClSDKRoot)in
clude;", true); | 410 AllConfigsAssertPropertyContains(page, "IncludePath", @"$(VSNaClSDKRoot)in
clude;", true); |
411 AllConfigsAssertPropertyContains(page, "LibraryPath", @"$(VSNaClSDKRoot)li
b;", true); | 411 AllConfigsAssertPropertyContains(page, "LibraryPath", @"$(VSNaClSDKRoot)li
b\$(ToolchainName)_x86_64\$(Configuration);", true); |
412 | 412 |
413 // C/C++ General | 413 // C/C++ General |
414 page = "CL"; | 414 page = "CL"; |
415 TestUtilities.AssertPropertyEquals( | 415 TestUtilities.AssertPropertyEquals( |
416 debug_, page, "GenerateDebuggingInformation", "true", false); | 416 debug_, page, "GenerateDebuggingInformation", "true", false); |
417 TestUtilities.AssertPropertyEquals( | 417 TestUtilities.AssertPropertyEquals( |
418 release_, page, "GenerateDebuggingInformation", "false", false); | 418 release_, page, "GenerateDebuggingInformation", "false", false); |
419 | 419 |
420 AllConfigsAssertPropertyEquals(page, "Warnings", "NormalWarnings", true); | 420 AllConfigsAssertPropertyEquals(page, "Warnings", "NormalWarnings", true); |
421 AllConfigsAssertPropertyEquals(page, "WarningsAsErrors", "false", true); | 421 AllConfigsAssertPropertyEquals(page, "WarningsAsErrors", "false", true); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 debug_, | 531 debug_, |
532 pageName, | 532 pageName, |
533 propertyName); | 533 propertyName); |
534 TestUtilities.AssertPropertyIsNotNullOrEmpty( | 534 TestUtilities.AssertPropertyIsNotNullOrEmpty( |
535 release_, | 535 release_, |
536 pageName, | 536 pageName, |
537 propertyName); | 537 propertyName); |
538 } | 538 } |
539 } | 539 } |
540 } | 540 } |
OLD | NEW |