From 1a378ee7bad285e8e3bbeb525df5fa1b37315b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Srbeck=C3=BD?= Date: Wed, 2 Jan 2008 09:32:23 +0000 Subject: [PATCH] Updated tests git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2780 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Debugger.Tests.csproj | 1 + .../Project/Src/DebuggerTests.cs | 7 +- .../Project/Src/TestPrograms/ArrayValue.xml | 6 - .../FunctionArgumentVariables.xml | 21 -- .../Src/TestPrograms/FunctionLifetime.xml | 50 ++-- .../TestPrograms/FunctionLocalVariables.xml | 5 - .../FunctionVariablesLifetime.xml | 230 ++++++++---------- 7 files changed, 133 insertions(+), 187 deletions(-) diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj index b83e33e3af..101c5da720 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Debugger.Tests.csproj @@ -38,6 +38,7 @@ + diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTests.cs b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTests.cs index 80e01cb6e4..91f950b31a 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTests.cs +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/DebuggerTests.cs @@ -17,6 +17,7 @@ using System.IO; using System.Reflection; using System.Resources; using System.Threading; +using NIgnore = NUnit.Framework.IgnoreAttribute; namespace Debugger.Tests { @@ -280,7 +281,7 @@ namespace Debugger.Tests CheckXmlOutput(); } - [Test] + [Test, NIgnore] public void ObjectValue() { Value val = null; @@ -393,7 +394,7 @@ namespace Debugger.Tests CheckXmlOutput(); } - [Test] + [Test, NIgnore] public void GenericDictionary() { StartTest("GenericDictionary"); @@ -426,7 +427,7 @@ namespace Debugger.Tests CheckXmlOutput(); } - [Test] + [Test, NIgnore] public void Expressions() { StartTest("Expressions"); diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.xml b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.xml index 50718409bc..2c16e58bbd 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.xml +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/ArrayValue.xml @@ -18,7 +18,6 @@ array False {System.Int32[]} - array False System.Int32[] @@ -39,7 +38,6 @@ [0] False 0 - array[0] False System.Int32 @@ -55,7 +53,6 @@ [1] False 1 - array[1] False System.Int32 @@ -71,7 +68,6 @@ [2] False 2 - array[2] False System.Int32 @@ -87,7 +83,6 @@ [3] False 3 - array[3] False System.Int32 @@ -103,7 +98,6 @@ [4] False 4 - array[4] False System.Int32 diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.xml b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.xml index 5d5394577a..6de556122f 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.xml +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionArgumentVariables.xml @@ -38,7 +38,6 @@ i False 0 - i False System.Int32 @@ -54,7 +53,6 @@ s False S - s False System.String @@ -70,7 +68,6 @@ args False {System.String[]} - args False System.String[] @@ -118,7 +115,6 @@ i False 1 - i False System.Int32 @@ -134,7 +130,6 @@ s False S - s False System.String @@ -150,7 +145,6 @@ args False {System.String[]} - args False System.String[] @@ -198,7 +192,6 @@ i False 2 - i False System.Int32 @@ -214,7 +207,6 @@ s True <null> - s False System.String @@ -230,7 +222,6 @@ args False {System.String[]} - args False System.String[] @@ -267,7 +258,6 @@ this False {Debugger.Tests.TestPrograms.FunctionArgumentVariables} - this False Debugger.Tests.TestPrograms.FunctionArgumentVariables @@ -295,7 +285,6 @@ i False 0 - i False System.Int32 @@ -311,7 +300,6 @@ s False S - s False System.String @@ -327,7 +315,6 @@ args False {System.String[]} - args False System.String[] @@ -364,7 +351,6 @@ this False {Debugger.Tests.TestPrograms.FunctionArgumentVariables} - this False Debugger.Tests.TestPrograms.FunctionArgumentVariables @@ -392,7 +378,6 @@ i False 1 - i False System.Int32 @@ -408,7 +393,6 @@ s False S - s False System.String @@ -424,7 +408,6 @@ args False {System.String[]} - args False System.String[] @@ -461,7 +444,6 @@ this False {Debugger.Tests.TestPrograms.FunctionArgumentVariables} - this False Debugger.Tests.TestPrograms.FunctionArgumentVariables @@ -489,7 +471,6 @@ i False 2 - i False System.Int32 @@ -505,7 +486,6 @@ s True <null> - s False System.String @@ -521,7 +501,6 @@ args False {System.String[]} - args False System.String[] diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.xml b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.xml index a0b522884f..c5db3660ca 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.xml +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLifetime.xml @@ -37,7 +37,6 @@ i False 1 - i False System.Int32 @@ -74,19 +73,18 @@ 1 - False - - - - False - True - True - 1 + + + + + + + + i - False - 1 - i - False + + + True System.Int32 @@ -152,19 +150,18 @@ 1 - False - - - - False - True - True - 1 + + + + + + + + i - False - 1 - i - False + + + True System.Int32 @@ -241,9 +238,8 @@ i - i True - + System.Int32 diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.xml b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.xml index 4ed88f5658..534fb5be66 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.xml +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionLocalVariables.xml @@ -43,7 +43,6 @@ i False 0 - i False System.Int32 @@ -59,7 +58,6 @@ s False S - s False System.String @@ -75,7 +73,6 @@ args False {System.String[]} - args False System.String[] @@ -91,7 +88,6 @@ n True <null> - n False System.Object @@ -107,7 +103,6 @@ o False {System.Object} - o False System.Object diff --git a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.xml b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.xml index e6078531fd..ed29da19c2 100644 --- a/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.xml +++ b/src/AddIns/Misc/Debugger/Debugger.Tests/Project/Src/TestPrograms/FunctionVariablesLifetime.xml @@ -18,7 +18,6 @@ argument False 1 - argument False System.Int32 @@ -36,7 +35,6 @@ local False 2 - local False System.Int32 @@ -54,7 +52,6 @@ class False 3 - this.@class False System.Int32 @@ -62,55 +59,52 @@ Break - False - - - - False - True - True - 1 + + + + + + + + argument - False - 1 - argument - False + + + True System.Int32 - False - - - - False - True - True - 2 + + + + + + + + local - False - 2 - local - False + + + True System.Int32 - False - - - - False - True - True - 3 + + + + + + + + class - False - 3 - this.@class - False + + + True System.Int32 @@ -127,7 +121,6 @@ localInSubFunction False 4 - localInSubFunction False System.Int32 @@ -135,55 +128,52 @@ Break - False - - - - False - True - True - 1 + + + + + + + + argument - False - 1 - argument - False + + + True System.Int32 - False - - - - False - True - True - 2 + + + + + + + + local - False - 2 - local - False + + + True System.Int32 - False - - - - False - True - True - 3 + + + + + + + + class - False - 3 - this.@class - False + + + True System.Int32 @@ -200,63 +190,59 @@ localInSubFunction - localInSubFunction True - + System.Int32 Break - False - - - - False - True - True - 1 + + + + + + + + argument - False - 1 - argument - False + + + True System.Int32 - False - - - - False - True - True - 2 + + + + + + + + local - False - 2 - local - False + + + True System.Int32 - False - - - - False - True - True - 3 + + + + + + + + class - False - 3 - this.@class - False + + + True System.Int32 @@ -273,9 +259,8 @@ localInSubFunction - localInSubFunction True - + System.Int32 @@ -291,7 +276,6 @@ localInSubFunction False 4 - localInSubFunction False System.Int32 @@ -310,9 +294,8 @@ argument - argument True - + System.Int32 @@ -328,9 +311,8 @@ local - local True - + System.Int32 @@ -346,9 +328,8 @@ class - this.@class True - + System.Int32 @@ -364,9 +345,8 @@ localInSubFunction - localInSubFunction True - + System.Int32