middle-matching-agnostic tests

This commit is contained in:
peter
2012-04-27 19:01:20 +02:00
parent e88584d48b
commit cbf7e5e193
7 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
enum Setup {
NO_CONNECTION,
NONE,
CONNECTION
}

View File

@@ -1,5 +1,5 @@
enum Setup {
NO_CONNECTION,
NONE,
CONNECTION
}

View File

@@ -1,8 +1,8 @@
interface Intf { Intf FOO = null; }
interface Intf2 extends Intf { Intf2 FOO = null; }
interface Intf { Intf XFOO = null; }
interface Intf2 extends Intf { Intf2 XFOO = null; }
public class Bar implements Intf2 {
public static void fpp() {
F<caret>
XF<caret>x
}
}

View File

@@ -1,12 +1,12 @@
import static Super.FOO;
import static Super.XFOO;
class Super {
public static final Super FOO = null;
public static final Super FOX = true;
public static final Super XFOO = null;
public static final Super XFOX = true;
}
class Intermediate {
Super s = FO<caret>
Super s = XFO<caret>
}

View File

@@ -565,7 +565,7 @@ public class ListUtils {
public void testDoubleConstant() throws Throwable {
configure()
assertStringItems("FOO", "Float")
assertStringItems("XFOO")
}
public void testNotOnlyKeywordsInsideSwitch() throws Throwable {
@@ -993,7 +993,7 @@ public class ListUtils {
public void testExpectedTypeMembersVersusStaticImports() throws Throwable {
configure()
assertStringItems('FOO', 'FOX')
assertStringItems('XFOO', 'XFOX')
}
public void testDoubleExpectedTypeFactoryMethod() throws Throwable {

View File

@@ -9,5 +9,5 @@ class Leaf extends Tree {
@Newify([Tree, Leaf])
buildTree() {
Tree(Tree(Leaf(1), Leaf(2)), Le<caret>)
Tree(Tree(Leaf(1), Leaf(2)), Lea<caret>)
}

View File

@@ -1,5 +1,5 @@
class Test {
Tes<caret>
class MyTest {
MyTes<caret>
}
-----
Test
MyTest