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

Issue 10836143: Refactored the VS add-in (Closed)

Created:
8 years, 4 months ago by tysand
Modified:
8 years, 4 months ago
Reviewers:
noelallen1
CC:
binji
Visibility:
Public.

Description

Refactored the VS add-in Overall we've split the old PluginDebuggerHelper into the Web server, and Debugger components and the debugger component is now a class hierarchy, where a new debugger type can be derived from PluginDebuggerBase. We've also added PropertyManager to standardize reading properties from the property pages. Fixed a bug where having spaces in paths broke things for install script. Fixed unit tests and style for refactoring. Refactored the add-in. Split PluginDebuggerHelper into the WebServer, PropertyManager, PluginDebugger(Base, GDB, VS). Unit tests do not match yet. BUG=136414 Committed: https://code.google.com/p/nativeclient-sdk/source/detail?r=1408

Patch Set 1 #

Total comments: 6

Patch Set 2 : Minor fixes and comment improvements #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2402 lines, -1325 lines) Patch
M visual_studio/NativeClientVSAddIn/InstallerResources/install.bat View 1 chunk +1 line, -1 line 0 comments Download
M visual_studio/NativeClientVSAddIn/InstallerResources/install.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Connect.cs View 7 chunks +64 lines, -17 lines 0 comments Download
A + visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/DevelopNativeClientVSAddIn.AddIn View 1 Binary file 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/NativeClientVSAddIn.csproj View 1 2 chunks +5 lines, -6 lines 0 comments Download
D visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/NativeClientVSAddIn - For Testing.AddIn View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PluginDebuggerBase.cs View 1 chunk +220 lines, -0 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PluginDebuggerGDB.cs View 1 1 chunk +216 lines, -0 lines 0 comments Download
D visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PluginDebuggerHelper.cs View 1 chunk +0 lines, -592 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PluginDebuggerVS.cs View 1 1 chunk +66 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/ProcessInfo.cs View 1 1 chunk +12 lines, -11 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PropertyManager.cs View 1 1 chunk +397 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Settings.StyleCop View 1 chunk +5 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Strings.resx View 3 chunks +3 lines, -6 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Strings.Designer.cs View 3 chunks +9 lines, -18 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/Utility.cs View 1 chunk +19 lines, -0 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/WebServer.cs View 1 1 chunk +142 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/StyleCopModifications.txt View 1 chunk +1 line, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/UnitTests/MockProcessSearcher.cs View 1 chunk +0 lines, -2 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/UnitTests/MockPropertyManager.cs View 1 1 chunk +117 lines, -0 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/UnitTests/PluginDebuggerGDBTest.cs View 1 chunk +398 lines, -0 lines 0 comments Download
D visual_studio/NativeClientVSAddIn/UnitTests/PluginDebuggerHelperTest.cs View 1 chunk +0 lines, -645 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/UnitTests/PluginDebuggerVSTest.cs View 1 chunk +286 lines, -0 lines 0 comments Download
A visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs View 1 chunk +237 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/UnitTests/Settings.StyleCop View 1 chunk +5 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/UnitTests/TestUtilities.cs View 1 3 chunks +51 lines, -21 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/UnitTests/UnitTests.csproj View 1 chunk +5 lines, -1 line 0 comments Download
A visual_studio/NativeClientVSAddIn/UnitTests/WebServerTest.cs View 1 1 chunk +132 lines, -0 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/build.bat View 1 chunk +1 line, -1 line 0 comments Download
M visual_studio/NativeClientVSAddIn/check_test_results.py View 1 1 chunk +8 lines, -3 lines 0 comments Download
M visual_studio/NativeClientVSAddIn/developer_deploy.bat View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tysand
8 years, 4 months ago (2012-08-07 23:00:11 UTC) #1
noelallen1
Just a few nits so far, still need to look at test files. http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PropertyManager.cs File ...
8 years, 4 months ago (2012-08-08 00:22:15 UTC) #2
tysand
http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PropertyManager.cs File visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PropertyManager.cs (right): http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PropertyManager.cs#newcode238 visual_studio/NativeClientVSAddIn/NativeClientVSAddIn/PropertyManager.cs:238: ProjectPlatform = ProjectPlatformType.Other; On 2012/08/08 00:22:15, noelallen1 wrote: > ...
8 years, 4 months ago (2012-08-08 04:15:58 UTC) #3
noelallen1
One other nit otherwise LGTM http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs File visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs (right): http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs#newcode100 visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs:100: string expectedSDKRootDir = Does ...
8 years, 4 months ago (2012-08-08 18:33:00 UTC) #4
tysand
8 years, 4 months ago (2012-08-08 20:55:02 UTC) #5
http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAd...
File visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs (right):

http://codereview.chromium.org/10836143/diff/1/visual_studio/NativeClientVSAd...
visual_studio/NativeClientVSAddIn/UnitTests/PropertyManagerTest.cs:100: string
expectedSDKRootDir =
This is an assumption of the test that NACL_SDK_ROOT is set.  We also require
users to have that set during installation, but this test is not assuming a
specific user path, just that what is read matches what is set on the test
machine.
On 2012/08/08 18:33:00, noelallen1 wrote:
> Does the environment variable need to be set?  The user could put in the path
> themselves...   It's okay if this is a test requirement but just wanted to
make
> sure there's no assumption for the end user.

Powered by Google App Engine
This is Rietveld 408576698