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

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <jestedfa@microsoft.com>2019-05-08 19:10:30 +0300
committerJeffrey Stedfast <jestedfa@microsoft.com>2019-05-08 19:10:30 +0300
commit94137e959b3325d7a24b971521b453953141a9bc (patch)
treecadcedd5c5d097dbcf80d2cd8021d446b61d8d2d /UnitTests
parent9ea265a4cc6bed30b7280882caaacc5635e1e50e (diff)
Split the Cor and Sdb unit tests into separate files
Diffstat (limited to 'UnitTests')
-rw-r--r--UnitTests/Mono.Debugging.Tests/Shared/AdvancedEvaluationTests.cs40
-rw-r--r--UnitTests/Mono.Debugging.Tests/Shared/CodeCompletionTests.cs27
-rw-r--r--UnitTests/Mono.Debugging.Tests/Shared/CorAdvancedEvaluationTests.cs48
-rw-r--r--UnitTests/Mono.Debugging.Tests/Shared/CorCodeCompletionTests.cs39
-rw-r--r--UnitTests/Mono.Debugging.Tests/Shared/SdbAdvancedEvaluationTests.cs46
-rw-r--r--UnitTests/Mono.Debugging.Tests/Shared/SdbCodeCompletionTests.cs38
6 files changed, 172 insertions, 66 deletions
diff --git a/UnitTests/Mono.Debugging.Tests/Shared/AdvancedEvaluationTests.cs b/UnitTests/Mono.Debugging.Tests/Shared/AdvancedEvaluationTests.cs
index 579ba7f..3e10809 100644
--- a/UnitTests/Mono.Debugging.Tests/Shared/AdvancedEvaluationTests.cs
+++ b/UnitTests/Mono.Debugging.Tests/Shared/AdvancedEvaluationTests.cs
@@ -29,46 +29,6 @@ using NUnit.Framework;
namespace Mono.Debugging.Tests
{
- namespace Soft
- {
- [TestFixture]
- public class SdbAdvancedEvaluationAllowTargetInvokesTests : AdvancedEvaluationTests
- {
- public SdbAdvancedEvaluationAllowTargetInvokesTests () : base ("Mono.Debugger.Soft", true)
- {
- }
- }
-
- [TestFixture]
- public class SdbAdvancedEvaluationNoTargetInvokesTests : AdvancedEvaluationTests
- {
- public SdbAdvancedEvaluationNoTargetInvokesTests () : base ("Mono.Debugger.Soft", false)
- {
- }
- }
- }
-
- namespace Win32
- {
- [TestFixture]
- [Platform(Include = "Win")]
- public class CorAdvancedEvaluationAllowTargetInvokesTests : AdvancedEvaluationTests
- {
- public CorAdvancedEvaluationAllowTargetInvokesTests () : base ("MonoDevelop.Debugger.Win32", true)
- {
- }
- }
-
- [TestFixture]
- [Platform(Include = "Win")]
- public class CorAdvancedEvaluationNoTargetInvokesTests : AdvancedEvaluationTests
- {
- public CorAdvancedEvaluationNoTargetInvokesTests () : base ("MonoDevelop.Debugger.Win32", false)
- {
- }
- }
- }
-
[TestFixture]
public abstract class AdvancedEvaluationTests : DebugTests
{
diff --git a/UnitTests/Mono.Debugging.Tests/Shared/CodeCompletionTests.cs b/UnitTests/Mono.Debugging.Tests/Shared/CodeCompletionTests.cs
index 3500d7b..01f7992 100644
--- a/UnitTests/Mono.Debugging.Tests/Shared/CodeCompletionTests.cs
+++ b/UnitTests/Mono.Debugging.Tests/Shared/CodeCompletionTests.cs
@@ -23,36 +23,11 @@
// 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 Mono.Debugging.Tests;
-using MonoDevelop.Debugger;
+
using NUnit.Framework;
namespace Mono.Debugging.Tests
{
- namespace Soft
- {
- [TestFixture]
- public class SdbCodeCompletionTests : CodeCompletionTests
- {
- public SdbCodeCompletionTests () : base ("Mono.Debugger.Soft")
- {
- }
- }
- }
-
- namespace Win32
- {
- [TestFixture]
- [Platform (Include = "Win")]
- public class CorCodeCompletionTests : CodeCompletionTests
- {
- public CorCodeCompletionTests () : base ("MonoDevelop.Debugger.Win32")
- {
- }
- }
- }
-
[TestFixture]
public abstract class CodeCompletionTests : DebugTests
{
diff --git a/UnitTests/Mono.Debugging.Tests/Shared/CorAdvancedEvaluationTests.cs b/UnitTests/Mono.Debugging.Tests/Shared/CorAdvancedEvaluationTests.cs
new file mode 100644
index 0000000..479a7b1
--- /dev/null
+++ b/UnitTests/Mono.Debugging.Tests/Shared/CorAdvancedEvaluationTests.cs
@@ -0,0 +1,48 @@
+//
+// CorAdvancedEvaluationTests.cs
+//
+// Author:
+// Jeffrey Stedfast <jestedfa@microsoft.com>
+//
+// Copyright (c) 2019
+//
+// 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 NUnit.Framework;
+
+namespace Mono.Debugging.Tests.Win32
+{
+ [TestFixture]
+ [Platform (Include = "Win")]
+ public class CorAdvancedEvaluationAllowTargetInvokesTests : AdvancedEvaluationTests
+ {
+ public CorAdvancedEvaluationAllowTargetInvokesTests () : base ("MonoDevelop.Debugger.Win32", true)
+ {
+ }
+ }
+
+ [TestFixture]
+ [Platform (Include = "Win")]
+ public class CorAdvancedEvaluationNoTargetInvokesTests : AdvancedEvaluationTests
+ {
+ public CorAdvancedEvaluationNoTargetInvokesTests () : base ("MonoDevelop.Debugger.Win32", false)
+ {
+ }
+ }
+}
diff --git a/UnitTests/Mono.Debugging.Tests/Shared/CorCodeCompletionTests.cs b/UnitTests/Mono.Debugging.Tests/Shared/CorCodeCompletionTests.cs
new file mode 100644
index 0000000..697cca5
--- /dev/null
+++ b/UnitTests/Mono.Debugging.Tests/Shared/CorCodeCompletionTests.cs
@@ -0,0 +1,39 @@
+//
+// CorCodeCompletionTests.cs
+//
+// Author:
+// Jeffrey Stedfast <jestedfa@microsoft.com>
+//
+// Copyright (c) 2019
+//
+// 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 NUnit.Framework;
+
+namespace Mono.Debugging.Tests.Win32
+{
+ [TestFixture]
+ [Platform (Include = "Win")]
+ public class CorCodeCompletionTests : CodeCompletionTests
+ {
+ public CorCodeCompletionTests () : base ("MonoDevelop.Debugger.Win32")
+ {
+ }
+ }
+}
diff --git a/UnitTests/Mono.Debugging.Tests/Shared/SdbAdvancedEvaluationTests.cs b/UnitTests/Mono.Debugging.Tests/Shared/SdbAdvancedEvaluationTests.cs
new file mode 100644
index 0000000..3da7ae9
--- /dev/null
+++ b/UnitTests/Mono.Debugging.Tests/Shared/SdbAdvancedEvaluationTests.cs
@@ -0,0 +1,46 @@
+//
+// SoftAdvancedEvaluationTests.cs
+//
+// Author:
+// Jeffrey Stedfast <jestedfa@microsoft.com>
+//
+// Copyright (c) 2019
+//
+// 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 NUnit.Framework;
+
+namespace Mono.Debugging.Tests.Soft
+{
+ [TestFixture]
+ public class SdbAdvancedEvaluationAllowTargetInvokesTests : AdvancedEvaluationTests
+ {
+ public SdbAdvancedEvaluationAllowTargetInvokesTests () : base ("Mono.Debugger.Soft", true)
+ {
+ }
+ }
+
+ [TestFixture]
+ public class SdbAdvancedEvaluationNoTargetInvokesTests : AdvancedEvaluationTests
+ {
+ public SdbAdvancedEvaluationNoTargetInvokesTests () : base ("Mono.Debugger.Soft", false)
+ {
+ }
+ }
+}
diff --git a/UnitTests/Mono.Debugging.Tests/Shared/SdbCodeCompletionTests.cs b/UnitTests/Mono.Debugging.Tests/Shared/SdbCodeCompletionTests.cs
new file mode 100644
index 0000000..d7f15ec
--- /dev/null
+++ b/UnitTests/Mono.Debugging.Tests/Shared/SdbCodeCompletionTests.cs
@@ -0,0 +1,38 @@
+//
+// SdbCodeCompletionTests.cs
+//
+// Author:
+// Jeffrey Stedfast <jestedfa@microsoft.com>
+//
+// Copyright (c) 2019
+//
+// 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 NUnit.Framework;
+
+namespace Mono.Debugging.Tests.Soft
+{
+ [TestFixture]
+ public class SdbCodeCompletionTests : CodeCompletionTests
+ {
+ public SdbCodeCompletionTests () : base ("Mono.Debugger.Soft")
+ {
+ }
+ }
+}