Matt Ward
a7e361e83b
Inner classes with a TestFixture attribute are now shown in the Unit Tests and can be tested individually.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3608 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f54b4e40ab
Performance tweaks to code completion:
...
- don't duplicate search for nested classes in referenced project contents
- MemberLookupHelper.GetTypeInheritanceTree: use HashSet instead of List to find duplicate types
- DefaultClass.ClassInheritanceTree: cache the inheritance tree
Fixes SD2-1460 - Extreme delay requesting code completion for PropertyTabsCollection when Linq is imported
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3573 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
ea1c893a4a
Reduce memory consumption of CompilerMessageView. Related to SD2-1450 (Large amounts of output cause OutOfMemoryException).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3516 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
35a582d4f8
Improved support for FxCop 1.36.
...
Fixed some problems in SuppressMessageCommand.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3506 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
0474a93678
Added support for nunit-console-x86.exe so 32-bit unit tests can be run on a 64-bit system.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3475 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
bc4d77b564
r7442@daniel-notebook (orig r3404): daniel | 2008-08-17 17:23:23 +0200
...
Make MessageViewCategory creation thread-safe.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@3414 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3bd1ab5517
SD2-1342: Remove Windows.Forms dependency from ICSharpCode.Core
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3287 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
f60de83676
r7000@daniel-notebook (orig r3258): daniel | 2008-07-30 16:20:03 +0200
...
When removing a project from the solution, remove its configuration entries.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3258 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
c49f7e8045
Add option to build only projects that were modified inside SharpDevelop to improve compilation time.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3253 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
1b1e268cac
The unit tests window was not colouring the tree nodes when running a test when a test fixture had a base class with test methods but no TestFixture attribute (e.g. CecilLayerTests class).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3032 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
98b7690971
Fixed usage of AmbienceService.CurrentAmbience: sometimes the ConversionFlags were not used because the ambience object was recreated.
...
Fixed page up/page down in text editor: confusion between character and pixel coordinates caused caret to move to the wrong column.
Fixed crash when StartProgram or WorkingDirectory were invalid paths.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2990 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
25abcd6849
Fixed code completion bugs: incorrect return type for System.Collections.Generic.Comparer<T>.Default (forum-7270), tooltip not shown for protected method calls when there is a class with the same name as the called method.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2976 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
51434bc3d6
Added Unit Tests option panel available under Tools-Options-Tools. This can be used to specify extra command line arguments to nunit-console (e.g. /nothreadand /noshadow).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2942 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cad71281f0
Fixed forum-7200, forum-7286: Exception when trying to remove lines with breakpoints
...
Improved default selection in "Go to" dialog.
SharpDevelop.Dom: Renamed IDecoration->IEntity, moved common properties in IClass and IMember into IEntity.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2931 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
fe0b68c19d
Make IClass (+ IMember, IParameter, IAttribute, ICompilationUnit .....) immutable.
...
Rewrite partial class support in DefaultProjectContent.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2929 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
6c7f8e0378
Updated to NUnit 2.4.6. The Unit Testing addin now uses the nunit-console's new /run command line parameter introduced in NUnit 2.4.6. This can be used to execute a test method, class or namespace.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2790 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Matt Ward
831239dac5
Updated to NUnit 2.4.5. Removed support for running unit tests against .NET 1.1.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2746 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
43ccda8109
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2730 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
3d8d7af120
Worked on VB->C# converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2657 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
0227db2d23
Move Search&Replace into an AddIn.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2650 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
6425919275
Fixed nunit.framework detection (fixes build)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2641 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
f3528c4d04
Remove skip-messages for projects not compiled when compiling only a single project using F9.
...
Replace ICSharpCode.SharpDevelop.Func<...> with System.Func<...>; use System.Linq.Enumerable instead of the ICSharpCode.SharpDevelop.Linq helper class.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2628 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
82c8dd1a3f
Fixed SD2-1359. Incorrect test fixture tested if the base class has unit test methods when running an individual test from the Unit Test tree.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2580 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
ac2e558736
Fixed broken build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2565 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
50a59336df
Refactored the interface IAttribute to include useful information (type reference to the attribute type + arguments).
...
Begin work on a Xaml language binding.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2564 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
a1d5fdfec4
Updated to NUnit 2.4.1
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2555 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
2c68fb0e71
Fixed code-completion bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2507 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
28a08fba8c
Fixed a problem where if a build fails before the unit test is run then the user was prevented from closing SharpDevelop since the code thought a build was still in progress.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2360 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
7cc6ec8258
Fixed SD2-1024. The user can no longer close SharpDevelop when it is running a build and a message is displayed when this is attempted.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
ed2d73dd0d
SD2-1278. Test method locations are now updated in the test tree as the file is edited. Previously using Goto Definition in the test tree could jump to the wrong line after the file was edited.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2344 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
8f984fe2fd
Fixed merged unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2335 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
78ff251b97
Removed Run All Tests context menu item from Unit Tests window. Code coverage window opened after all tests have been run with code coverage and there were no test failures. No longer using a static NCover runner which was raising events in two RunTestWithCodeCoverageCommand instances (toolbar, context menu) and causing one to try to read a test results file which no longer existed.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2329 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
47dbaf6529
Unit Tests window changes: It now has an All Tests root node when multiple test projects exist in a solution. Added a toolbar button and menu item to run all the tests in the solution independent of the currently selected test. Added a run with code coverage toolbar button.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2321 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
1808336a1c
Merged SD 2.1 rev. 2226:2312 to trunk.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
ea4786654b
Fixed SD2-768 for the Unit Tests tree. The context menu is set for each test tree node so it will open near the node and not in the middle of the window when using the keyboard shortcut Shift+F10.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2312 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
288fa89d45
Fixed build.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2310 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
bb4814b719
Fixed SD2-1219. New namespace, class and method tree nodes added to the Unit Tests tree are now sorted.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2170 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
b1597429a4
Running unit tests will now clear the build output window before building the projects ready for the test run.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2147 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
b69d0fd504
SD2-1241. Fixed two problems in the Unit Tests pad that could occur when opening another solution before the parser has finished parsing the currently open solution. A) The ProjectService.OpenSolution could be null. The unit tests pad now clears the test tree in this case. B) If the project content is null for a project it is not added to the test tree. This can occur if the test tree is in the middle of updating the tree but the parser has cleared the project content as it starts to load another solution.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2145 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
4800ae7268
Fixed SD2-1233. When opening the Unit Tests pad after just opening a solution, before the parser has finished parsing the contained projects, the Unit Tests pad no longer adds projects to the test tree view. Before the parser has finished parsing a project it has no associated project content. Previously this caused the test tree to throw a null reference exception.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2142 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
e3e638b550
Added support for running unit tests against .NET 1.1 when the project is being built against this framework. Fixed SD2-1232 - the temporary test results file is now deleted after a test run has finished.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2135 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
acac08d13e
Fixed SD2-911: 'Classes' pad updates its content incorrectly
...
ParserService does not give the choice whether to raise the ParseInformationUpdated event anymore - the classes pad depends on getting every update notification.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2104 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
e11ef3bdba
Added a namespace filter command line option to nunit-console.exe which can be used to run only those tests in a particular namespace. This filtering is used when the user selects a namespace node in the Unit Tests tree and runs the tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2076 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
5d0fc5b83c
Fixed SD2-1095: Autogenerated code for IEnumerable generic interface does not compile
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2066 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
703d7d4bd7
Fixed failing tests in UnitTesting addin due to project system changes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2056 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
a725d631a5
Fixed SD2-1106: FxCop code analysis not run when building the entire solution
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2051 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
dcaf24c04d
Implemented SD2-1183: Use MSBuild libraries
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2043 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Matt Ward
1ab593a725
Fixed SD2-1203 - Modifying the namespace for a test class leaves empty namespace nodes in the test tree. The TestNamespaceTreeNode was incorrectly determining when it was is empty when the node was not expanded. Added extra tests to improve the code coverage for the TestTreeView, TestClassesCollection and UnitTestApplicationStartHelper classes. Removed the unused UpdateResult method in TestClass.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2041 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Matt Ward
d3660f512f
The Unit testing addin now uses the customised nunit-console.exe to run all unit tests. The TestTreeView no longer uses the NUnit tree view and now determines the unit tests dynamically based on the information retrieved from the parser.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2039 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
31f75600a2
Add ICSharpCode.SharpDevelop.Widgets, move debugging-related classes to ICSharpCode.SharpDevelop.Debugging.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1968 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago