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

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

Issue 69343013: [VS AddIn] Fix default library paths. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 1 month 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 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
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
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 }
OLDNEW
« no previous file with comments | « visual_studio/NativeClientVSAddIn/UnitTests/CompileTest.cs ('k') | visual_studio/NativeClientVSAddIn/create_package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698