Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2013-12-13 13:43:38 +0400
committerLluis Sanchez <lluis@xamarin.com>2013-12-13 13:43:38 +0400
commit78cc05b4ae9f6dca18d417990d70e238a30dceff (patch)
tree638c72eaa080100927a7f92193b2adec6d420e32 /main/tests
parentaea1543696edc11a347dbf61fdbaeeef914f6f25 (diff)
More hardcoded add-in version removal
Diffstat (limited to 'main/tests')
-rw-r--r--main/tests/TestRunner/AddinInfo.cs14
-rw-r--r--main/tests/TestRunner/MonoDevelop.TestRunner.addin.xml18
-rw-r--r--main/tests/TestRunner/TestRunner.csproj5
3 files changed, 19 insertions, 18 deletions
diff --git a/main/tests/TestRunner/AddinInfo.cs b/main/tests/TestRunner/AddinInfo.cs
new file mode 100644
index 0000000000..3f432f5738
--- /dev/null
+++ b/main/tests/TestRunner/AddinInfo.cs
@@ -0,0 +1,14 @@
+
+using System;
+using Mono.Addins;
+using Mono.Addins.Description;
+
+[assembly:Addin ("TestRunner",
+ Namespace = "MonoDevelop",
+ Version = MonoDevelop.BuildInfo.Version,
+ Category = "MonoDevelop Core")]
+
+[assembly:AddinName ("Test Runner")]
+[assembly:AddinDescription ("Test runner for the MonoDevelop unit tests")]
+
+[assembly:AddinDependency ("Core", MonoDevelop.BuildInfo.Version)]
diff --git a/main/tests/TestRunner/MonoDevelop.TestRunner.addin.xml b/main/tests/TestRunner/MonoDevelop.TestRunner.addin.xml
index 7c7c9cd9e0..f2b1a0acd2 100644
--- a/main/tests/TestRunner/MonoDevelop.TestRunner.addin.xml
+++ b/main/tests/TestRunner/MonoDevelop.TestRunner.addin.xml
@@ -1,19 +1,7 @@
-<Addin id = "TestRunner"
- namespace = "MonoDevelop"
- name = "Test Runner"
- copyright = "MIT/X11"
- url = "http://www.monodevelop.com"
- description = "Test runner for the MonoDevelop unit tests"
- category = "MonoDevelop Core"
- isroot = "false"
- version = "4.2.3"
- compatVersion = "4.0">
+<ExtensionModel>
- <Dependencies>
- <Addin id="Core" version="4.2.3"/>
- </Dependencies>
-
<Extension path = "/MonoDevelop/Core/Applications">
<Application id = "run-md-tests" class = "MonoDevelop.Tests.TestRunner.Runer" description = "Runs the MonoDevelop unit test suite"/>
</Extension>
-</Addin>
+
+</ExtensionModel>
diff --git a/main/tests/TestRunner/TestRunner.csproj b/main/tests/TestRunner/TestRunner.csproj
index 71f50a6f9e..2101e9a64a 100644
--- a/main/tests/TestRunner/TestRunner.csproj
+++ b/main/tests/TestRunner/TestRunner.csproj
@@ -30,9 +30,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
- <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
- <Private>False</Private>
- </Reference>
+ <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="System.Core" />
<Reference Include="nunit-console-runner">
<HintPath>..\..\external\mdtestharness\lib\nunit-console-runner.dll</HintPath>
@@ -50,6 +48,7 @@
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Runner.cs" />
+ <Compile Include="AddinInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>