[svn]
r6950: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests:
Content/QuickTip.n Tests.n
VladD2
svnadmin at nemerle.org
Sun Nov 19 05:28:41 CET 2006
Log:
Change tests.
Author: VladD2
Date: Sun Nov 19 05:28:38 2006
New Revision: 6950
Modified:
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip.n
vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Content/QuickTip.n Sun Nov 19 05:28:38 2006
@@ -7,6 +7,7 @@
{
public struct XStruct {}
public interface XInterface {}
+ public class BaseClass1 {}
public variant XVariant
{
| First
@@ -14,7 +15,7 @@
| Third { x : XStruct/*QuickTip:0:XStruct*/; }
}
- public class c1 : XInterface/*QuickTip:0:XInterface*/
+ public class c1 : BaseClass1, XInterface/*QuickTip:0:XInterface*/
{
_field/*QuickTip:0:_field*/ : SCG.Stack/*QuickTip:0:Stack*/[list/*QuickTip:0:list*/[XStruct/*QuickTip:0:XStruct*/]] = SCG.Stack/*QuickTip:0:Stack*/();
@@ -43,6 +44,5 @@
{
get { (0, [("str", XStruct()/*QuickTip:-2:XStruct*/)]) }
}
-
}
}
\ No newline at end of file
Modified: vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n
==============================================================================
--- vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n (original)
+++ vs-plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Tests/Tests.n Sun Nov 19 05:28:38 2006
@@ -561,6 +561,11 @@
def col = m.Index + int.Parse(m.Groups[2].Value);
def expected = m.Groups[3].Value;
+ when (expected == "XInterface")
+ {
+ assert(true);
+ }
+
def result = _project.GetQuickTipInfo(file, i+1, col);
when (result == null)
{
More information about the svn
mailing list