Dragan 12 years ago
parent
commit
ea5ffdf22e
  1. 7742
      data/resources/StringResources.resx
  2. BIN
      packages/Machine.Specifications.0.4.9.0/Machine.Specifications.0.4.9.0.nupkg
  3. BIN
      packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.TDNetRunner.dll
  4. BIN
      packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.TDNetRunner.pdb
  5. BIN
      packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.dll
  6. 5
      packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.dll.tdnet
  7. BIN
      packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.pdb
  8. BIN
      packages/Machine.Specifications.0.4.9.0/tools/CommandLine.dll
  9. 347
      packages/Machine.Specifications.0.4.9.0/tools/CommandLine.xml
  10. 6
      packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.4.1.bat
  11. 6
      packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.4.5.bat
  12. 6
      packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.0 - VS2008.bat
  13. 6
      packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.0 - VS2010.bat
  14. 6
      packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.1 - VS2008.bat
  15. 6
      packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.1 - VS2010.bat
  16. 16
      packages/Machine.Specifications.0.4.9.0/tools/InstallTDNetRunner.bat
  17. 16
      packages/Machine.Specifications.0.4.9.0/tools/InstallTDNetRunnerSilent.bat
  18. 54
      packages/Machine.Specifications.0.4.9.0/tools/License.txt
  19. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.GallioAdapter.3.1.dll
  20. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.GallioAdapter.3.1.pdb
  21. 43
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.GallioAdapter.plugin
  22. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.1.dll
  23. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.1.pdb
  24. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.5.dll
  25. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.5.pdb
  26. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.0.dll
  27. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.0.pdb
  28. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.1.dll
  29. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.1.pdb
  30. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.Reporting.Templates.dll
  31. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.Reporting.dll
  32. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.Reporting.pdb
  33. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.SeleniumSupport.dll
  34. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.SeleniumSupport.pdb
  35. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.TDNetRunner.dll
  36. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.TDNetRunner.pdb
  37. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.WatinSupport.dll
  38. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.WatinSupport.pdb
  39. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.dll
  40. 5
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.dll.tdnet
  41. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.pdb
  42. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Newtonsoft.Json.dll
  43. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Spark.dll
  44. BIN
      packages/Machine.Specifications.0.4.9.0/tools/Spark.pdb
  45. BIN
      packages/Machine.Specifications.0.4.9.0/tools/TestDriven.Framework.dll
  46. BIN
      packages/Machine.Specifications.0.4.9.0/tools/ThoughtWorks.Selenium.Core.dll
  47. BIN
      packages/Machine.Specifications.0.4.9.0/tools/ThoughtWorks.Selenium.Core.pdb
  48. BIN
      packages/Machine.Specifications.0.4.9.0/tools/WatiN.Core.dll
  49. 7
      packages/Machine.Specifications.0.4.9.0/tools/install.ps1
  50. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec-clr4.exe
  51. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec-clr4.pdb
  52. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec-x86-clr4.exe
  53. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec-x86-clr4.pdb
  54. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec-x86.exe
  55. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec-x86.pdb
  56. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec.exe
  57. BIN
      packages/Machine.Specifications.0.4.9.0/tools/mspec.pdb
  58. 220
      src/AddIns/Analysis/UnitTesting/Src/TestClassCollection.cs
  59. 159
      src/AddIns/Analysis/UnitTesting/Src/TestMemberCollection.cs
  60. 400
      src/Libraries/NewNRefactory/ICSharpCode.NRefactory/Editor/ReadOnlyDocument.cs
  61. 281
      src/Main/Base/Project/Src/Editor/ReadOnlyDocument.cs
  62. 152
      src/Main/StartUp/Project/SharpDevelop.exe.config

7742
data/resources/StringResources.resx

File diff suppressed because it is too large Load Diff

BIN
packages/Machine.Specifications.0.4.9.0/Machine.Specifications.0.4.9.0.nupkg vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.TDNetRunner.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.TDNetRunner.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.dll vendored

Binary file not shown.

5
packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.dll.tdnet vendored

@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
<TestRunner>
<FriendlyName>Machine.Specifications 0.4.9-1dd8ea3</FriendlyName>
<AssemblyPath>Machine.Specifications.TDNetRunner.dll</AssemblyPath>
<TypeName>Machine.Specifications.TDNetRunner.SpecificationRunner</TypeName>
</TestRunner>

BIN
packages/Machine.Specifications.0.4.9.0/lib/Machine.Specifications.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/CommandLine.dll vendored

Binary file not shown.

347
packages/Machine.Specifications.0.4.9.0/tools/CommandLine.xml vendored

@ -1,347 +0,0 @@ @@ -1,347 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>CommandLine</name>
</assembly>
<members>
<member name="T:CommandLine.Text.HelpText">
<summary>
Models an help text and collects related informations.
You can assign it in place of a <see cref="T:System.String"/> instance, this is why
this type lacks a method to add lines after the options usage informations;
simple use a <see cref="T:System.Text.StringBuilder"/> or similar solutions.
</summary>
</member>
<member name="M:CommandLine.Text.HelpText.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.HelpText"/> class
specifying heading informations.
</summary>
<param name="heading">A string with heading information or
an instance of <see cref="T:CommandLine.Text.HeadingInfo"/>.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="heading"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.HelpText.AddPreOptionsLine(System.String)">
<summary>
Adds a text line after copyright and before options usage informations.
</summary>
<param name="value">A <see cref="T:System.String"/> instance.</param>
<exception cref="T:System.ArgumentNullException">Thrown when parameter <paramref name="value"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.HelpText.AddOptions(System.Object)">
<summary>
Adds a text block with options usage informations.
</summary>
<param name="options">The instance that collected command line arguments parsed with <see cref="T:CommandLine.Parser"/> class.</param>
<exception cref="T:System.ArgumentNullException">Thrown when parameter <paramref name="options"/> is null.</exception>
</member>
<member name="M:CommandLine.Text.HelpText.AddOptions(System.Object,System.String)">
<summary>
Adds a text block with options usage informations.
</summary>
<param name="options">The instance that collected command line arguments parsed with the <see cref="T:CommandLine.Parser"/> class.</param>
<param name="requiredWord">The word to use when the option is required.</param>
<exception cref="T:System.ArgumentNullException">Thrown when parameter <paramref name="options"/> is null.</exception>
<exception cref="T:System.ArgumentNullException">Thrown when parameter <paramref name="requiredWord"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.HelpText.ToString">
<summary>
Returns the help informations as a <see cref="T:System.String"/>.
</summary>
<returns>The <see cref="T:System.String"/> that contains the help informations.</returns>
</member>
<member name="M:CommandLine.Text.HelpText.op_Implicit(CommandLine.Text.HelpText)~System.String">
<summary>
Converts the help informations to a <see cref="T:System.String"/>.
</summary>
<param name="info">This <see cref="T:CommandLine.Text.HelpText"/> instance.</param>
<returns>The <see cref="T:System.String"/> that contains the help informations.</returns>
</member>
<member name="P:CommandLine.Text.HelpText.Copyright">
<summary>
Sets the copyright information string.
You can directly assign a <see cref="T:CommandLine.Text.CopyrightInfo"/> instance.
</summary>
</member>
<member name="T:CommandLine.OptionAttribute">
<summary>
Models an option specification.
</summary>
</member>
<member name="T:CommandLine.BaseOptionAttribute">
<summary>
Provides base properties for creating an attribute, used to define rules for command line parsing.
</summary>
</member>
<member name="P:CommandLine.BaseOptionAttribute.ShortName">
<summary>
Short name of this command line option. This name is usually a single character.
</summary>
</member>
<member name="P:CommandLine.BaseOptionAttribute.LongName">
<summary>
Long name of this command line option. This name is usually a single english word.
</summary>
</member>
<member name="P:CommandLine.BaseOptionAttribute.Required">
<summary>
True if this command line option is required.
</summary>
</member>
<member name="P:CommandLine.BaseOptionAttribute.HelpText">
<summary>
A short description of this command line option. Usually a sentence summary.
</summary>
</member>
<member name="M:CommandLine.OptionAttribute.#ctor(System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.OptionAttribute"/> class.
</summary>
<param name="shortName">The short name of the option or null if not used.</param>
<param name="longName">The long name of the option or null if not used.</param>
</member>
<member name="T:CommandLine.Text.CopyrightInfo">
<summary>
Models the copyright informations part of an help text.
You can assign it where you assign any <see cref="T:System.String"/> instance.
</summary>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.#ctor">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.CopyrightInfo"/> class.
</summary>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.#ctor(System.String,System.Int32)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.CopyrightInfo"/> class
specifying author and year.
</summary>
<param name="author">The company or person holding the copyright.</param>
<param name="year">The year of coverage of copyright.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="author"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.#ctor(System.String,System.Int32[])">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.CopyrightInfo"/> class
specifying author and years.
</summary>
<param name="author">The company or person holding the copyright.</param>
<param name="years">The years of coverage of copyright.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="author"/> is null or empty string.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">Thrown when parameter <paramref name="years"/> is not supplied.</exception>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.#ctor(System.Boolean,System.String,System.Int32[])">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.CopyrightInfo"/> class
specifying symbol case, author and years.
</summary>
<param name="isSymbolUpper">The case of the copyright symbol.</param>
<param name="author">The company or person holding the copyright.</param>
<param name="years">The years of coverage of copyright.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="author"/> is null or empty string.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">Thrown when parameter <paramref name="years"/> is not supplied.</exception>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.ToString">
<summary>
Returns the copyright informations as a <see cref="T:System.String"/>.
</summary>
<returns>The <see cref="T:System.String"/> that contains the copyright informations.</returns>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.op_Implicit(CommandLine.Text.CopyrightInfo)~System.String">
<summary>
Converts the copyright informations to a <see cref="T:System.String"/>.
</summary>
<param name="info">This <see cref="T:CommandLine.Text.CopyrightInfo"/> instance.</param>
<returns>The <see cref="T:System.String"/> that contains the copyright informations.</returns>
</member>
<member name="M:CommandLine.Text.CopyrightInfo.FormatYears(System.Int32[])">
<summary>
When overridden in a derived class, allows to specify a new algorithm to render copyright years
as a <see cref="T:System.String"/> instance.
</summary>
<param name="years">A <see cref="T:System.Int32"/> array of years.</param>
<returns>A <see cref="T:System.String"/> instance with copyright years.</returns>
</member>
<member name="P:CommandLine.Text.CopyrightInfo.CopyrightWord">
<summary>
When overridden in a derived class, allows to specify a different copyright word.
</summary>
</member>
<member name="T:CommandLine.HelpOptionAttribute">
<summary>
Indicates the instance method that must be invoked when it becomes necessary show your help screen.
The method signature is an instance method with no parameters and <see cref="T:System.String"/>
return value.
</summary>
</member>
<member name="M:CommandLine.HelpOptionAttribute.#ctor">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.HelpOptionAttribute"/> class.
</summary>
</member>
<member name="M:CommandLine.HelpOptionAttribute.#ctor(System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.HelpOptionAttribute"/> class.
Allows you to define short and long option names.
</summary>
<param name="shortName">The short name of the option or null if not used.</param>
<param name="longName">The long name of the option or null if not used.</param>
</member>
<member name="P:CommandLine.HelpOptionAttribute.Required">
<summary>
Returns always false for this kind of option.
This behaviour can't be changed by design; if you try set <see cref="P:CommandLine.HelpOptionAttribute.Required"/>
an <see cref="T:System.InvalidOperationException"/> will be thrown.
</summary>
</member>
<member name="T:CommandLine.OptionListAttribute">
<summary>
Models an option that can accept multiple values.
Must be applied to a field compatible with an <see cref="T:System.Collections.Generic.IList`1"/> interface
of <see cref="T:System.String"/> instances.
</summary>
</member>
<member name="M:CommandLine.OptionListAttribute.#ctor(System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.OptionListAttribute"/> class.
</summary>
<param name="shortName">The short name of the option or null if not used.</param>
<param name="longName">The long name of the option or null if not used.</param>
</member>
<member name="M:CommandLine.OptionListAttribute.#ctor(System.String,System.String,System.Char)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.OptionListAttribute"/> class.
</summary>
<param name="shortName">The short name of the option or null if not used.</param>
<param name="longName">The long name of the option or null if not used.</param>
<param name="separator">Values separator character.</param>
</member>
<member name="P:CommandLine.OptionListAttribute.Separator">
<summary>
Gets or sets the values separator character.
</summary>
</member>
<member name="T:CommandLine.ValueListAttribute">
<summary>
Models a list of command line arguments that are not options.
Must be applied to a field compatible with an <see cref="T:System.Collections.Generic.IList`1"/> interface
of <see cref="T:System.String"/> instances.
</summary>
</member>
<member name="M:CommandLine.ValueListAttribute.#ctor(System.Type)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.ValueListAttribute"/> class.
</summary>
<param name="concreteType">A type that implements <see cref="T:System.Collections.Generic.IList`1"/>.</param>
<exception cref="T:System.ArgumentNullException">Thrown if <paramref name="concreteType"/> is null.</exception>
</member>
<member name="P:CommandLine.ValueListAttribute.MaximumElements">
<summary>
Gets or sets the maximum element allow for the list managed by <see cref="T:CommandLine.ValueListAttribute"/> type.
If lesser than 0, no upper bound is fixed.
If equal to 0, no elements are allowed.
</summary>
</member>
<member name="T:CommandLine.Parser">
<summary>
Provides methods to parse command line arguments. This class cannot be inherited.
</summary>
</member>
<member name="M:CommandLine.Parser.ParseArguments(System.String[],System.Object)">
<summary>
Parses a <see cref="T:System.String"/> array of command line arguments,
setting values read in <paramref name="options"/> parameter instance.
</summary>
<param name="args">A <see cref="T:System.String"/> array of command line arguments.</param>
<param name="options">An instance to receive values.
Parsing rules are defined using <see cref="T:CommandLine.BaseOptionAttribute"/> derived types.</param>
<returns>True if parsing process succeed.</returns>
<exception cref="T:System.ArgumentNullException">Thrown if <paramref name="args"/> is null.</exception>
<exception cref="T:System.ArgumentNullException">Thrown if <paramref name="options"/> is null.</exception>
</member>
<member name="M:CommandLine.Parser.ParseArguments(System.String[],System.Object,System.IO.TextWriter)">
<summary>
Parses a <see cref="T:System.String"/> array of command line arguments,
setting values read in <paramref name="options"/> parameter instance.
This overloads allows you to specify a <see cref="T:System.IO.TextWriter"/>
derived instance for write text messages.
</summary>
<param name="args">A <see cref="T:System.String"/> array of command line arguments.</param>
<param name="options">An instance to receive values.
Parsing rules are defined using <see cref="T:CommandLine.BaseOptionAttribute"/> derived types.</param>
<param name="helpWriter">Any instance derived from <see cref="T:System.IO.TextWriter"/>,
usually <see cref="P:System.Console.Out"/>.</param>
<returns>True if parsing process succeed.</returns>
<exception cref="T:System.ArgumentNullException">Thrown if <paramref name="args"/> is null.</exception>
<exception cref="T:System.ArgumentNullException">Thrown if <paramref name="options"/> is null.</exception>
<exception cref="T:System.ArgumentNullException">Thrown if <paramref name="helpWriter"/> is null.</exception>
</member>
<member name="T:CommandLine.IncompatibleTypesException">
<summary>
Represents the exception that is thrown when an attempt to assign incopatible types.
</summary>
</member>
<member name="T:CommandLine.Text.HeadingInfo">
<summary>
Models the heading informations part of an help text.
You can assign it where you assign any <see cref="T:System.String"/> instance.
</summary>
</member>
<member name="M:CommandLine.Text.HeadingInfo.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.HeadingInfo"/> class
specifying program name.
</summary>
<param name="programName">The name of the program.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="programName"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.HeadingInfo.#ctor(System.String,System.String)">
<summary>
Initializes a new instance of the <see cref="T:CommandLine.Text.HeadingInfo"/> class
specifying program name and version.
</summary>
<param name="programName">The name of the program.</param>
<param name="version">The version of the program.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="programName"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.HeadingInfo.ToString">
<summary>
Returns the heading informations as a <see cref="T:System.String"/>.
</summary>
<returns>The <see cref="T:System.String"/> that contains the heading informations.</returns>
</member>
<member name="M:CommandLine.Text.HeadingInfo.op_Implicit(CommandLine.Text.HeadingInfo)~System.String">
<summary>
Converts the heading informations to a <see cref="T:System.String"/>.
</summary>
<param name="info">This <see cref="T:CommandLine.Text.HeadingInfo"/> instance.</param>
<returns>The <see cref="T:System.String"/> that contains the heading informations.</returns>
</member>
<member name="M:CommandLine.Text.HeadingInfo.WriteMessage(System.String,System.IO.TextWriter)">
<summary>
Writes out a string and a new line using the program name specified in the constructor
and <paramref name="message"/> parameter.
</summary>
<param name="message">The <see cref="T:System.String"/> message to write.</param>
<param name="writer">The target <see cref="T:System.IO.TextWriter"/> derived type.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="message"/> is null or empty string.</exception>
<exception cref="T:System.ArgumentNullException">Thrown when parameter <paramref name="writer"/> is null.</exception>
</member>
<member name="M:CommandLine.Text.HeadingInfo.WriteMessage(System.String)">
<summary>
Writes out a string and a new line using the program name specified in the constructor
and <paramref name="message"/> parameter to standard output stream.
</summary>
<param name="message">The <see cref="T:System.String"/> message to write.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="message"/> is null or empty string.</exception>
</member>
<member name="M:CommandLine.Text.HeadingInfo.WriteError(System.String)">
<summary>
Writes out a string and a new line using the program name specified in the constructor
and <paramref name="message"/> parameter to standard error stream.
</summary>
<param name="message">The <see cref="T:System.String"/> message to write.</param>
<exception cref="T:System.ArgumentException">Thrown when parameter <paramref name="message"/> is null or empty string.</exception>
</member>
</members>
</doc>

6
packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.4.1.bat vendored

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
mkdir "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins" 2> NUL
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins"
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.4.1.dll "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.4.1.pdb "%APPDATA%\JetBrains\ReSharper\v4.1\vs9.0\Plugins"

6
packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.4.5.bat vendored

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
mkdir "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins" 2> NUL
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins"
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.4.5.dll "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.4.5.pdb "%APPDATA%\JetBrains\ReSharper\v4.5\vs9.0\Plugins"

6
packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.0 - VS2008.bat vendored

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
mkdir "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins" 2> NUL
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins"
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.0.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.0.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs9.0\Plugins"

6
packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.0 - VS2010.bat vendored

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
mkdir "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins" 2> NUL
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins"
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.0.dll "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.0.pdb "%APPDATA%\JetBrains\ReSharper\v5.0\vs10.0\Plugins"

6
packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.1 - VS2008.bat vendored

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
mkdir "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins" 2> NUL
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins"
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.1.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.1.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs9.0\Plugins"

6
packages/Machine.Specifications.0.4.9.0/tools/InstallResharperRunner.5.1 - VS2010.bat vendored

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
mkdir "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins" 2> NUL
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins"
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.1.dll "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins"
copy /y Machine.Specifications.ReSharperRunner.5.1.pdb "%APPDATA%\JetBrains\ReSharper\v5.1\vs10.0\Plugins"

16
packages/Machine.Specifications.0.4.9.0/tools/InstallTDNetRunner.bat vendored

@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
@echo off & if not "%ECHO%"=="" echo %ECHO%
setlocal
set LOCALDIR=%~dp0
echo Windows Registry Editor Version 5.00 > MSpecTDNet.reg
echo [HKEY_CURRENT_USER\Software\MutantDesign\TestDriven.NET\TestRunners\MSpec] >> MSpecTDNet.reg
echo "Application"="" >> MSpecTDNet.reg
echo "AssemblyPath"="%LOCALDIR:\=\\%Machine.Specifications.TDNetRunner.dll" >> MSpecTDNet.reg
echo "TargetFrameworkAssemblyName"="Machine.Specifications" >> MSpecTDNet.reg
echo "TypeName"="Machine.Specifications.TDNetRunner.SpecificationRunner" >> MSpecTDNet.reg
echo @="5" >> MSpecTDNet.reg
regedit MSpecTDNet.reg
del MSpecTDNet.reg

16
packages/Machine.Specifications.0.4.9.0/tools/InstallTDNetRunnerSilent.bat vendored

@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
@echo off & if not "%ECHO%"=="" echo %ECHO%
setlocal
set LOCALDIR=%~dp0
echo Windows Registry Editor Version 5.00 > MSpecTDNet.reg
echo [HKEY_CURRENT_USER\Software\MutantDesign\TestDriven.NET\TestRunners\MSpec] >> MSpecTDNet.reg
echo "Application"="" >> MSpecTDNet.reg
echo "AssemblyPath"="%LOCALDIR:\=\\%Machine.Specifications.TDNetRunner.dll" >> MSpecTDNet.reg
echo "TargetFrameworkAssemblyName"="Machine.Specifications" >> MSpecTDNet.reg
echo "TypeName"="Machine.Specifications.TDNetRunner.SpecificationRunner" >> MSpecTDNet.reg
echo @="5" >> MSpecTDNet.reg
regedit /s MSpecTDNet.reg
del MSpecTDNet.reg

54
packages/Machine.Specifications.0.4.9.0/tools/License.txt vendored

@ -1,54 +0,0 @@ @@ -1,54 +0,0 @@
Copyright (c) 2008 Machine Project
Portions Copyright (c) 2008 Jacob Lewallen, Aaron Jensen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*****************************
Some parts licensed under MS-PL
*****************************
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
1. Definitions
The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
A "contribution" is the original software, or any additions or changes to the software.
A "contributor" is any person that distributes its contribution under this license.
"Licensed patents" are a contributor's patent claims that read directly on its contribution.
2. Grant of Rights
(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
3. Conditions and Limitations
(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.GallioAdapter.3.1.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.GallioAdapter.3.1.pdb vendored

Binary file not shown.

43
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.GallioAdapter.plugin vendored

@ -1,43 +0,0 @@ @@ -1,43 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<plugin pluginId="Gallio.MSpecAdapter"
recommendedInstallationPath="MSpec"
xmlns="http://www.gallio.org/">
<traits>
<name>Machine Specifications Adapter Plugin</name>
<version>0.4.9.0</version>
<description>Provides support for running MSpec within Gallio. Requires the assemblies from MSpec.</description>
</traits>
<dependencies>
<dependency pluginId="Gallio" />
</dependencies>
<files>
<file path="Machine.Specifications.dll" />
<file path="Machine.Specifications.GallioAdapter.plugin" />
<file path="Machine.Specifications.GallioAdapter.3.1.dll" />
<!--<file path="Readme.txt" />-->
</files>
<assemblies>
<assembly fullName="Machine.Specifications.GallioAdapter.3.1, Version=0.4.9.0, Culture=neutral, PublicKeyToken=null"
codeBase="Machine.Specifications.GallioAdapter.3.1.dll"
qualifyPartialName="true" />
<assembly fullName="Machine.Specifications, Version=0.4.9.0, Culture=neutral, PublicKeyToken=5c474de7a495cff1"
codeBase="Machine.Specifications.dll" />
</assemblies>
<components>
<component componentId="Machine.Specifications"
serviceId="Gallio.TestFramework"
componentType="Machine.Specifications.GallioAdapter.MachineSpecificationsFramework, Machine.Specifications.GallioAdapter.3.1">
<traits>
<name>Machine Specifications</name>
<frameworkAssemblies>Machine.Specifications, Version=0.4.9.0</frameworkAssemblies>
<version>0.4.9.0</version>
<fileTypes>Assembly</fileTypes>
</traits>
</component>
</components>
</plugin>

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.1.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.1.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.5.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.4.5.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.0.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.0.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.1.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.ReSharperRunner.5.1.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.Reporting.Templates.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.Reporting.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.Reporting.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.SeleniumSupport.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.SeleniumSupport.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.TDNetRunner.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.TDNetRunner.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.WatinSupport.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.WatinSupport.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.dll vendored

Binary file not shown.

5
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.dll.tdnet vendored

@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
<TestRunner>
<FriendlyName>Machine.Specifications 0.4.9-1dd8ea3</FriendlyName>
<AssemblyPath>Machine.Specifications.TDNetRunner.dll</AssemblyPath>
<TypeName>Machine.Specifications.TDNetRunner.SpecificationRunner</TypeName>
</TestRunner>

BIN
packages/Machine.Specifications.0.4.9.0/tools/Machine.Specifications.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Newtonsoft.Json.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Spark.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/Spark.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/TestDriven.Framework.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/ThoughtWorks.Selenium.Core.dll vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/ThoughtWorks.Selenium.Core.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/WatiN.Core.dll vendored

Binary file not shown.

7
packages/Machine.Specifications.0.4.9.0/tools/install.ps1 vendored

@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
param($installPath, $toolsPath, $package, $project)
$project.Object.References | Where-Object { $_.Name -eq 'Machine.Specifications.TDNetRunner' } | ForEach-Object { $_.Remove() }
if ($false -eq $false)
{
Write-Warning "This is the unsigned version of Machine.Specifications. Use 'Install-Package Machine.Specifications-Signed' to install the signed version."
}

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec-clr4.exe vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec-clr4.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec-x86-clr4.exe vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec-x86-clr4.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec-x86.exe vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec-x86.pdb vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec.exe vendored

Binary file not shown.

BIN
packages/Machine.Specifications.0.4.9.0/tools/mspec.pdb vendored

Binary file not shown.

220
src/AddIns/Analysis/UnitTesting/Src/TestClassCollection.cs

@ -1,220 +0,0 @@ @@ -1,220 +0,0 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using ICSharpCode.Core;
namespace ICSharpCode.UnitTesting
{
public class TestClassCollection : KeyedCollection<string, TestClass>
{
TestResultType testResult = TestResultType.None;
Dictionary<string, TestClass> passedTestClasses = new Dictionary<string, TestClass>();
Dictionary<string, TestClass> failedTestClasses = new Dictionary<string, TestClass>();
Dictionary<string, TestClass> ignoredTestClasses = new Dictionary<string, TestClass>();
/// <summary>
/// Raised when the test result for this collection of
/// classes has changed.
/// </summary>
public event EventHandler ResultChanged;
/// <summary>
/// Raised when a class is added to this collection.
/// </summary>
public event TestClassEventHandler TestClassAdded;
/// <summary>
/// Raised when a class is removed from this collection.
/// </summary>
public event TestClassEventHandler TestClassRemoved;
/// <summary>
/// Gets the overall test results for the collection of
/// test classes.
/// </summary>
public TestResultType Result {
get {
return testResult;
}
}
/// <summary>
/// Sets all the test class test results back to none.
/// </summary>
public void ResetTestResults()
{
passedTestClasses.Clear();
failedTestClasses.Clear();
ignoredTestClasses.Clear();
foreach (TestClass c in this) {
c.ResetTestResults();
}
SetTestResult(TestResultType.None);
}
/// <summary>
/// Updates the test method with the specified test result.
/// </summary>
public void UpdateTestResult(TestResult testResult)
{
TestClass testClass = GetTestClassFromTestMemberName(testResult.Name);
if (testClass != null) {
testClass.UpdateTestResult(testResult);
}
}
/// <summary>
/// Gets the matching test member from this set of classes.
/// </summary>
/// <param name="fullyQualifiedName">The fully qualified
/// method name (e.g. Namespace.ClassName.MethodName).</param>
/// <returns>Null if the method cannot be found.</returns>
public TestMember GetTestMember(string fullyQualifiedName)
{
string className = TestMember.GetQualifiedClassName(fullyQualifiedName);
if (className != null) {
if (Contains(className)) {
TestClass testClass = this[className];
string memberName = TestMember.GetMemberName(fullyQualifiedName);
if (memberName != null) {
return testClass.GetTestMember(memberName);
}
} else {
LoggingService.Debug("TestClass not found: " + className);
}
} else {
LoggingService.Debug("Invalid test member name: " + fullyQualifiedName);
}
return null;
}
protected override string GetKeyForItem(TestClass item)
{
return item.QualifiedName;
}
protected override void InsertItem(int index, TestClass item)
{
item.ResultChanged += TestClassResultChanged;
base.InsertItem(index, item);
TestClassResultChanged(item, new EventArgs());
OnTestClassAdded(item);
}
protected override void RemoveItem(int index)
{
TestClass c = this[index];
c.ResultChanged -= TestClassResultChanged;
base.RemoveItem(index);
OnTestResultNone(c.Name);
OnTestClassRemoved(c);
}
protected void OnTestClassAdded(TestClass testClass)
{
if (TestClassAdded != null) {
TestClassAdded(this, new TestClassEventArgs(testClass));
}
}
protected void OnTestClassRemoved(TestClass testClass)
{
if (TestClassRemoved != null) {
TestClassRemoved(this, new TestClassEventArgs(testClass));
}
}
void TestClassResultChanged(object source, EventArgs e)
{
TestClass c = (TestClass)source;
switch (c.Result) {
case TestResultType.None:
OnTestResultNone(c.QualifiedName);
break;
case TestResultType.Failure:
SetTestResult(TestResultType.Failure);
if (!failedTestClasses.ContainsKey(c.QualifiedName)){
failedTestClasses.Add(c.QualifiedName, c);
}
break;
case TestResultType.Success:
if (!passedTestClasses.ContainsKey(c.QualifiedName)){
passedTestClasses.Add(c.QualifiedName, c);
}
if (passedTestClasses.Count == Count) {
SetTestResult(TestResultType.Success);
} else if (passedTestClasses.Count + ignoredTestClasses.Count == Count) {
SetTestResult(TestResultType.Ignored);
}
break;
case TestResultType.Ignored:
if (!ignoredTestClasses.ContainsKey(c.QualifiedName)){
ignoredTestClasses.Add(c.QualifiedName, c);
}
if (ignoredTestClasses.Count == Count ||
ignoredTestClasses.Count + passedTestClasses.Count == Count) {
SetTestResult(TestResultType.Ignored);
}
break;
}
}
void SetTestResult(TestResultType value)
{
TestResultType previousTestResult = testResult;
testResult = value;
if (testResult != previousTestResult) {
OnResultChanged();
}
}
void OnResultChanged()
{
if (ResultChanged != null) {
ResultChanged(this, new EventArgs());
}
}
/// <summary>
/// Removes the specified test class from the list of
/// failed, passed and ignored tests and updates the
/// test result state of the test class collection.
/// </summary>
void OnTestResultNone(string qualifiedName)
{
passedTestClasses.Remove(qualifiedName);
failedTestClasses.Remove(qualifiedName);
ignoredTestClasses.Remove(qualifiedName);
if (ignoredTestClasses.Count + failedTestClasses.Count == 0) {
SetTestResult(TestResultType.None);
}
}
/// <summary>
/// Gets the test class from the specified test result.
/// </summary>
TestClass GetTestClassFromTestMemberName(string memberName)
{
if (memberName != null) {
string className = TestMember.GetQualifiedClassName(memberName);
if (className != null) {
if (Contains(className)) {
return this[className];
} else {
LoggingService.Debug("TestClass not found: " + className);
return GetTestClassFromTestMemberName(className);
}
} else {
LoggingService.Debug("Invalid TestMember.Name: " + memberName);
}
}
return null;
}
}
}

159
src/AddIns/Analysis/UnitTesting/Src/TestMemberCollection.cs

@ -1,159 +0,0 @@ @@ -1,159 +0,0 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace ICSharpCode.UnitTesting
{
public class TestMemberCollection : KeyedCollection<string, TestMember>
{
TestResultType testResult = TestResultType.None;
Dictionary<string, TestMember> passedTestMembers = new Dictionary<string, TestMember>();
Dictionary<string, TestMember> failedTestMembers = new Dictionary<string, TestMember>();
Dictionary<string, TestMember> ignoredTestMembers = new Dictionary<string, TestMember>();
/// <summary>
/// Raised when the test result for this collection of
/// members has changed.
/// </summary>
public event EventHandler ResultChanged;
/// <summary>
/// Raised when a member is added to this collection.
/// </summary>
public event TestMemberEventHandler TestMemberAdded;
/// <summary>
/// Raised when a member is removed from this collection.
/// </summary>
public event TestMemberEventHandler TestMemberRemoved;
/// <summary>
/// Gets the overall test results for the collection of
/// test members.
/// </summary>
public TestResultType Result {
get { return testResult; }
}
/// <summary>
/// Sets all the test members test results back to none.
/// </summary>
public void ResetTestResults()
{
passedTestMembers.Clear();
failedTestMembers.Clear();
ignoredTestMembers.Clear();
foreach (TestMember member in this) {
member.Result = TestResultType.None;
}
SetTestResult(TestResultType.None);
}
protected override void InsertItem(int index, TestMember item)
{
item.ResultChanged += TestMemberResultChanged;
base.InsertItem(index, item);
TestMemberResultChanged(item, new EventArgs());
OnTestMemberAdded(item);
}
protected override string GetKeyForItem(TestMember item)
{
return item.Name;
}
protected override void RemoveItem(int index)
{
TestMember member = this[index];
member.ResultChanged -= TestMemberResultChanged;
base.RemoveItem(index);
OnTestResultNone(member.Name);
OnTestMemberRemoved(member);
}
protected void OnTestMemberAdded(TestMember testMember)
{
if (TestMemberAdded != null) {
TestMemberAdded(this, new TestMemberEventArgs(testMember));
}
}
protected void OnTestMemberRemoved(TestMember testMember)
{
if (TestMemberRemoved != null) {
TestMemberRemoved(this, new TestMemberEventArgs(testMember));
}
}
void TestMemberResultChanged(object source, EventArgs e)
{
TestMember member = (TestMember)source;
switch (member.Result) {
case TestResultType.None:
OnTestResultNone(member.Name);
break;
case TestResultType.Failure:
SetTestResult(TestResultType.Failure);
if (!failedTestMembers.ContainsKey(member.Name)){
failedTestMembers.Add(member.Name, member);
}
break;
case TestResultType.Success:
if (!passedTestMembers.ContainsKey(member.Name)){
passedTestMembers.Add(member.Name, member);
}
if (passedTestMembers.Count == Count) {
SetTestResult(TestResultType.Success);
} else if (passedTestMembers.Count + ignoredTestMembers.Count == Count) {
SetTestResult(TestResultType.Ignored);
}
break;
case TestResultType.Ignored:
if (!ignoredTestMembers.ContainsKey(member.Name)){
ignoredTestMembers.Add(member.Name, member);
}
if (ignoredTestMembers.Count == Count ||
ignoredTestMembers.Count + passedTestMembers.Count == Count) {
SetTestResult(TestResultType.Ignored);
}
break;
}
}
void SetTestResult(TestResultType value)
{
TestResultType previousTestResult = testResult;
testResult = value;
if (testResult != previousTestResult) {
OnResultChanged();
}
}
void OnResultChanged()
{
if (ResultChanged != null) {
ResultChanged(this, new EventArgs());
}
}
/// <summary>
/// Removes the specified test member from the list of
/// failed, passed and ignored tests and updates the
/// test result state of the test members collection.
/// </summary>
void OnTestResultNone(string name)
{
passedTestMembers.Remove(name);
failedTestMembers.Remove(name);
ignoredTestMembers.Remove(name);
if (ignoredTestMembers.Count + failedTestMembers.Count == 0) {
SetTestResult(TestResultType.None);
}
}
}
}

400
src/Libraries/NewNRefactory/ICSharpCode.NRefactory/Editor/ReadOnlyDocument.cs

@ -1,400 +0,0 @@ @@ -1,400 +0,0 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
// to whom the Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all copies or
// substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
using System;
using System.Collections.Generic;
namespace ICSharpCode.NRefactory.Editor
{
/// <summary>
/// Read-only implementation of <see cref="IDocument"/>.
/// </summary>
[Serializable]
sealed class ReadOnlyDocument : IDocument
{
readonly ITextSource textSource;
int[] lines;
static readonly char[] newline = { '\r', '\n' };
/// <summary>
/// Creates a new ReadOnlyDocument from the given text source.
/// </summary>
public ReadOnlyDocument(ITextSource textSource)
{
if (textSource == null)
throw new ArgumentNullException("textSource");
// ensure that underlying buffer is immutable
this.textSource = textSource.CreateSnapshot();
List<int> lines = new List<int>();
lines.Add(0);
int offset = 0;
int textLength = textSource.TextLength;
while ((offset = textSource.IndexOfAny(newline, offset, textLength - offset)) >= 0) {
offset++;
if (textSource.GetCharAt(offset - 1) == '\r' && offset < textLength && textSource.GetCharAt(offset) == '\n') {
offset++;
}
lines.Add(offset);
}
this.lines = lines.ToArray();
}
/// <summary>
/// Creates a new ReadOnlyDocument from the given string.
/// </summary>
public ReadOnlyDocument(string text)
: this(new StringTextSource(text))
{
}
/// <inheritdoc/>
public IDocumentLine GetLineByNumber(int lineNumber)
{
if (lineNumber < 1 || lineNumber > lines.Length)
throw new ArgumentOutOfRangeException("lineNumber", lineNumber, "Value must be between 1 and " + lines.Length);
return new ReadOnlyDocumentLine(this, lineNumber);
}
sealed class ReadOnlyDocumentLine : IDocumentLine
{
readonly ReadOnlyDocument doc;
readonly int lineNumber;
readonly int offset, endOffset;
public ReadOnlyDocumentLine(ReadOnlyDocument doc, int lineNumber)
{
this.doc = doc;
this.lineNumber = lineNumber;
this.offset = doc.GetStartOffset(lineNumber);
this.endOffset = doc.GetEndOffset(lineNumber);
}
public override int GetHashCode()
{
return doc.GetHashCode() ^ lineNumber;
}
public override bool Equals(object obj)
{
ReadOnlyDocumentLine other = obj as ReadOnlyDocumentLine;
return other != null && doc == other.doc && lineNumber == other.lineNumber;
}
public int Offset {
get { return offset; }
}
public int Length {
get { return endOffset - offset; }
}
public int EndOffset {
get { return endOffset; }
}
public int TotalLength {
get {
return doc.GetTotalEndOffset(lineNumber) - offset;
}
}
public int DelimiterLength {
get {
return doc.GetTotalEndOffset(lineNumber) - endOffset;
}
}
public int LineNumber {
get { return lineNumber; }
}
public IDocumentLine PreviousLine {
get {
if (lineNumber == 1)
return null;
else
return new ReadOnlyDocumentLine(doc, lineNumber - 1);
}
}
public IDocumentLine NextLine {
get {
if (lineNumber == doc.LineCount)
return null;
else
return new ReadOnlyDocumentLine(doc, lineNumber + 1);
}
}
public bool IsDeleted {
get { return false; }
}
}
int GetStartOffset(int lineNumber)
{
return lines[lineNumber-1];
}
int GetTotalEndOffset(int lineNumber)
{
return lineNumber < lines.Length ? lines[lineNumber] : textSource.TextLength;
}
int GetEndOffset(int lineNumber)
{
if (lineNumber == lines.Length)
return textSource.TextLength;
int off = lines[lineNumber] - 1;
if (off > 0 && textSource.GetCharAt(off - 1) == '\r' && textSource.GetCharAt(off) == '\n')
off--;
return off;
}
/// <inheritdoc/>
public IDocumentLine GetLineByOffset(int offset)
{
return GetLineByNumber(GetLineNumberForOffset(offset));
}
int GetLineNumberForOffset(int offset)
{
int r = Array.BinarySearch(lines, offset);
return r < 0 ? ~r : r + 1;
}
/// <inheritdoc/>
public int GetOffset(int line, int column)
{
if (line < 1 || line > lines.Length)
throw new ArgumentOutOfRangeException("line", line, "Value must be between 1 and " + lines.Length);
int lineStart = GetStartOffset(line);
if (column <= 1)
return lineStart;
int lineEnd = GetEndOffset(line);
if (column - 1 >= lineEnd - lineStart)
return lineEnd;
return lineStart + column - 1;
}
/// <inheritdoc/>
public int GetOffset(TextLocation location)
{
return GetOffset(location.Line, location.Column);
}
/// <inheritdoc/>
public TextLocation GetLocation(int offset)
{
if (offset < 0 || offset > textSource.TextLength)
throw new ArgumentOutOfRangeException("offset", offset, "Value must be between 0 and " + textSource.TextLength);
int line = GetLineNumberForOffset(offset);
return new TextLocation(line, offset-GetStartOffset(line)+1);
}
/// <inheritdoc/>
public string Text {
get { return textSource.Text; }
set {
throw new NotSupportedException();
}
}
/// <inheritdoc/>
public int LineCount {
get { return lines.Length; }
}
/// <inheritdoc/>
public ITextSourceVersion Version {
get { return textSource.Version; }
}
/// <inheritdoc/>
public int TextLength {
get { return textSource.TextLength; }
}
event EventHandler<TextChangeEventArgs> IDocument.TextChanging { add {} remove {} }
event EventHandler<TextChangeEventArgs> IDocument.TextChanged { add {} remove {} }
event EventHandler IDocument.ChangeCompleted { add {} remove {} }
void IDocument.Insert(int offset, string text)
{
throw new NotSupportedException();
}
void IDocument.Insert(int offset, string text, AnchorMovementType defaultAnchorMovementType)
{
throw new NotSupportedException();
}
void IDocument.Remove(int offset, int length)
{
throw new NotSupportedException();
}
void IDocument.Replace(int offset, int length, string newText)
{
throw new NotSupportedException();
}
void IDocument.StartUndoableAction()
{
}
void IDocument.EndUndoableAction()
{
}
IDisposable IDocument.OpenUndoGroup()
{
return null;
}
/// <inheritdoc/>
public ITextAnchor CreateAnchor(int offset)
{
return new ReadOnlyDocumentTextAnchor(GetLocation(offset), offset);
}
sealed class ReadOnlyDocumentTextAnchor : ITextAnchor
{
readonly TextLocation location;
readonly int offset;
public ReadOnlyDocumentTextAnchor(TextLocation location, int offset)
{
this.location = location;
this.offset = offset;
}
public event EventHandler Deleted { add {} remove {} }
public TextLocation Location {
get { return location; }
}
public int Offset {
get { return offset; }
}
public AnchorMovementType MovementType { get; set; }
public bool SurviveDeletion { get; set; }
public bool IsDeleted {
get { return false; }
}
public int Line {
get { return location.Line; }
}
public int Column {
get { return location.Column; }
}
}
/// <inheritdoc/>
public ITextSource CreateSnapshot()
{
return textSource; // textBuffer is immutable
}
/// <inheritdoc/>
public ITextSource CreateSnapshot(int offset, int length)
{
return textSource.CreateSnapshot(offset, length);
}
/// <inheritdoc/>
public IDocument CreateDocumentSnapshot()
{
return this; // ReadOnlyDocument is immutable
}
/// <inheritdoc/>
public System.IO.TextReader CreateReader()
{
return textSource.CreateReader();
}
/// <inheritdoc/>
public System.IO.TextReader CreateReader(int offset, int length)
{
return textSource.CreateReader(offset, length);
}
/// <inheritdoc/>
public char GetCharAt(int offset)
{
return textSource.GetCharAt(offset);
}
/// <inheritdoc/>
public string GetText(int offset, int length)
{
return textSource.GetText(offset, length);
}
/// <inheritdoc/>
public string GetText(ISegment segment)
{
return textSource.GetText(segment);
}
/// <inheritdoc/>
public int IndexOf(char c, int startIndex, int count)
{
return textSource.IndexOf(c, startIndex, count);
}
/// <inheritdoc/>
public int IndexOfAny(char[] anyOf, int startIndex, int count)
{
return textSource.IndexOfAny(anyOf, startIndex, count);
}
/// <inheritdoc/>
public int IndexOf(string searchText, int startIndex, int count, StringComparison comparisonType)
{
return textSource.IndexOf(searchText, startIndex, count, comparisonType);
}
/// <inheritdoc/>
public int LastIndexOf(char c, int startIndex, int count)
{
return textSource.LastIndexOf(c, startIndex, count);
}
/// <inheritdoc/>
public int LastIndexOf(string searchText, int startIndex, int count, StringComparison comparisonType)
{
return textSource.LastIndexOf(searchText, startIndex, count, comparisonType);
}
object IServiceProvider.GetService(Type serviceType)
{
return null;
}
}
}

281
src/Main/Base/Project/Src/Editor/ReadOnlyDocument.cs

@ -1,281 +0,0 @@ @@ -1,281 +0,0 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using ICSharpCode.Core;
using ICSharpCode.NRefactory;
namespace ICSharpCode.SharpDevelop.Editor
{
/// <summary>
/// Read-only implementation of IDocument.
/// </summary>
public sealed class ReadOnlyDocument : IDocument
{
ITextBuffer textBuffer;
int[] lines;
public ReadOnlyDocument(ITextBuffer textBuffer)
{
if (textBuffer == null)
throw new ArgumentNullException("textBuffer");
// ensure that underlying buffer is immutable
this.textBuffer = textBuffer.CreateSnapshot();
List<int> lines = new List<int>();
lines.Add(0);
int offset = 0;
string newlineType;
var textSource = DocumentUtilitites.GetTextSource(this.textBuffer);
while ((offset = ICSharpCode.AvalonEdit.Document.TextUtilities.FindNextNewLine(textSource, offset, out newlineType)) >= 0) {
offset += newlineType.Length;
lines.Add(offset);
}
this.lines = lines.ToArray();
}
public IDocumentLine GetLine(int lineNumber)
{
if (lineNumber < 1 || lineNumber > lines.Length)
throw new ArgumentOutOfRangeException("lineNumber", lineNumber, "Value must be between 1 and " + lines.Length);
return new ReadOnlyDocumentLine(this, lineNumber);
}
sealed class ReadOnlyDocumentLine : IDocumentLine
{
readonly ReadOnlyDocument doc;
readonly int lineNumber;
readonly int offset, endOffset;
public ReadOnlyDocumentLine(ReadOnlyDocument doc, int lineNumber)
{
this.doc = doc;
this.lineNumber = lineNumber;
this.offset = doc.GetStartOffset(lineNumber);
this.endOffset = doc.GetEndOffset(lineNumber);
}
public int Offset {
get { return offset; }
}
public int Length {
get { return endOffset - offset; }
}
public int EndOffset {
get { return endOffset; }
}
public int TotalLength {
get {
return doc.GetTotalEndOffset(lineNumber) - offset;
}
}
public int DelimiterLength {
get {
return doc.GetTotalEndOffset(lineNumber) - endOffset;
}
}
public int LineNumber {
get { return lineNumber; }
}
public string Text {
get {
return doc.GetText(this.Offset, this.Length);
}
}
}
int GetStartOffset(int lineNumber)
{
return lines[lineNumber-1];
}
int GetTotalEndOffset(int lineNumber)
{
return lineNumber < lines.Length ? lines[lineNumber] : textBuffer.TextLength;
}
int GetEndOffset(int lineNumber)
{
if (lineNumber == lines.Length)
return textBuffer.TextLength;
int off = lines[lineNumber] - 1;
if (off > 0 && textBuffer.GetCharAt(off - 1) == '\r' && textBuffer.GetCharAt(off) == '\n')
off--;
return off;
}
public IDocumentLine GetLineForOffset(int offset)
{
return GetLine(GetLineNumberForOffset(offset));
}
int GetLineNumberForOffset(int offset)
{
int r = Array.BinarySearch(lines, offset);
return r < 0 ? ~r : r + 1;
}
public int PositionToOffset(int line, int column)
{
if (line < 1 || line > lines.Length)
throw new ArgumentOutOfRangeException("line", line, "Value must be between 1 and " + lines.Length);
int lineStart = GetStartOffset(line);
if (column <= 0)
return lineStart;
int lineEnd = GetEndOffset(line);
if (column >= lineEnd - lineStart)
return lineEnd;
return lineStart + column - 1;
}
public Location OffsetToPosition(int offset)
{
if (offset < 0 || offset > textBuffer.TextLength)
throw new ArgumentOutOfRangeException("offset", offset, "Value must be between 0 and " + textBuffer.TextLength);
int line = GetLineNumberForOffset(offset);
return new Location(offset-GetStartOffset(line)+1, line);
}
public event EventHandler<TextChangeEventArgs> Changing { add {} remove {} }
public event EventHandler<TextChangeEventArgs> Changed { add {} remove {} }
public event EventHandler TextChanged { add {} remove {} }
public string Text {
get { return textBuffer.Text; }
set {
throw new NotSupportedException();
}
}
public int TotalNumberOfLines {
get { return lines.Length; }
}
public ITextBufferVersion Version {
get { return null; }
}
public int TextLength {
get { return textBuffer.TextLength; }
}
void IDocument.Insert(int offset, string text)
{
throw new NotSupportedException();
}
void IDocument.Insert(int offset, string text, AnchorMovementType defaultAnchorMovementType)
{
throw new NotSupportedException();
}
void IDocument.Remove(int offset, int length)
{
throw new NotSupportedException();
}
void IDocument.Replace(int offset, int length, string newText)
{
throw new NotSupportedException();
}
public void StartUndoableAction()
{
}
public void EndUndoableAction()
{
}
public IDisposable OpenUndoGroup()
{
return new CallbackOnDispose(EndUndoableAction);
}
public ITextAnchor CreateAnchor(int offset)
{
return new ReadOnlyDocumentTextAnchor(OffsetToPosition(offset), offset);
}
sealed class ReadOnlyDocumentTextAnchor : ITextAnchor
{
readonly Location location;
readonly int offset;
public ReadOnlyDocumentTextAnchor(Location location, int offset)
{
this.location = location;
this.offset = offset;
}
public event EventHandler Deleted { add {} remove {} }
public Location Location {
get { return location; }
}
public int Offset {
get { return offset; }
}
public AnchorMovementType MovementType { get; set; }
public bool SurviveDeletion { get; set; }
public bool IsDeleted {
get { return false; }
}
public int Line {
get { return location.Line; }
}
public int Column {
get { return location.Column; }
}
}
public ITextBuffer CreateSnapshot()
{
return textBuffer; // textBuffer is immutable
}
public ITextBuffer CreateSnapshot(int offset, int length)
{
return textBuffer.CreateSnapshot(offset, length);
}
public System.IO.TextReader CreateReader()
{
return textBuffer.CreateReader();
}
public System.IO.TextReader CreateReader(int offset, int length)
{
return textBuffer.CreateReader(offset, length);
}
public char GetCharAt(int offset)
{
return textBuffer.GetCharAt(offset);
}
public string GetText(int offset, int length)
{
return textBuffer.GetText(offset, length);
}
public object GetService(Type serviceType)
{
return null;
}
}
}

152
src/Main/StartUp/Project/SharpDevelop.exe.config

@ -1,152 +0,0 @@ @@ -1,152 +0,0 @@
<configuration>
<configSections>
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
</configSections>
<!--
WARNING!
This file is automatically generated and will be overwritten every time SharpDevelop is compiled.
Change the template file "app.template.config" instead!
-->
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
<runtime>
<!-- This option allows running SharpDevelop from network drives -->
<loadFromRemoteSources enabled="true" />
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<!-- The redirects for SharpDevelop allow using old AddIns in newer SharpDevelop versions -->
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.Core" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.Core.WinForms" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.Core.Presentation" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpDevelop" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpDevelop.Dom" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.SharpDevelop.Widgets" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.TextEditor" publicKeyToken="4d61825e8dd49f1a" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.AvalonEdit" publicKeyToken="9cc39be672370310" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="ICSharpCode.NRefactory" publicKeyToken="efe927acf176eea2" culture="neutral"/>
<bindingRedirect oldVersion="4.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="FormsDesigner" publicKeyToken="f829da5c02be14ee" culture="neutral"/>
<bindingRedirect oldVersion="3.0.0.0-4.4.1.0" newVersion="4.4.1.0"/>
</dependentAssembly>
<!-- redirect MSBuild.Framework requests to make old task assemblies work with MSBuild 4.0 -->
<dependentAssembly>
<assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Build.Engine" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="4.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.CompactFramework.Build.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="10.0.0.0"/>
</dependentAssembly>
<probing privatePath="Tools\NUnit"/>
</assemblyBinding>
</runtime>
<appSettings>
<!-- Use this configuration setting to store settings in a directory relative to the location
of SharpDevelop.exe instead of the user's profile directory. -->
<!-- <add key="settingsPath" value="..\Settings" /> -->
<!-- Use this setting to specify a different path for the code completion cache.
The cache contains information about referenced assemblies to speed up loading
the information on future SharpDevelop starts. -->
<!-- <add key="domPersistencePath" value="..\DomCache" /> -->
<!-- Use this setting to disable the code completion cache. Code completion will still be
available, but take longer to load and use more RAM. -->
<!-- <add key="domPersistencePath" value="none" /> -->
</appSettings>
<log4net>
<!-- Writes to the console. The console is only visible in debug builds of SharpDevelop. -->
<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender">
<mapping>
<level value="FATAL" />
<foreColor value="Red, HighIntensity" />
</mapping>
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
</mapping>
<mapping>
<level value="WARN" />
<foreColor value="Yellow" />
</mapping>
<mapping>
<level value="INFO" />
<foreColor value="White" />
</mapping>
<mapping>
<level value="DEBUG" />
<foreColor value="Green" />
</mapping>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level- %message%newline" />
</layout>
</appender>
<!-- Writes to OutputDebugString - use a tool like Sysinternals DebugView to view the log -->
<appender name="DebugAppender" type="log4net.Appender.OutputDebugStringAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%thread] %-5level- %message%newline" />
</layout>
</appender>
<!-- Allows writing to a log file -->
<appender name="FileAppender" type="log4net.Appender.FileAppender">
<file value="SharpDevelopLog.txt" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level- %message%newline" />
</layout>
</appender>
<!--- Keeps the last few log entries and appends them to bug reports when an exception occurs -->
<appender name="Recorder" type="ICSharpCode.SharpDevelop.Sda.LogMessageRecorder, ICSharpCode.SharpDevelop.Sda">
<bufferSize value="25" />
</appender>
<root>
<level value="DEBUG" />
<!-- Here you can configure which log appenders should be used -->
<appender-ref ref="ColoredConsoleAppender" />
<appender-ref ref="Recorder" />
</root>
</log4net>
</configuration>
Loading…
Cancel
Save