1 19 20 package org.netbeans.modules.java.editor.completion; 21 22 26 public class JavaCompletionProviderElementCreatingTest extends CompletionTestBase { 27 28 public JavaCompletionProviderElementCreatingTest(String testName) { 29 super(testName); 30 } 31 32 public void testUnimplementedMethod() throws Exception { 33 performTest("UnimplementedMethod", 115, "", "UnimplementedMethod.pass"); 34 } 35 36 public void testOverrideAbstractList() throws Exception { 37 performTest("OverrideAbstractList", 146, "", "OverrideAbstractList.pass"); 38 } 39 40 public void testOverrideAbstractListWithPrefix() throws Exception { 41 performTest("OverrideAbstractList", 146, "to", "OverrideAbstractListWithPrefix.pass", "toSt.*override", "OverrideAbstractListWithPrefix.pass2"); 42 } 43 44 public void testOverrideFinalize() throws Exception { 45 performTest("OverrideAbstractList", 146, "fin", "OverrideFinalize.pass", "finali.*override", "OverrideFinalize.pass2"); 46 } 47 48 public void testOverrideAbstractList2a() throws Exception { 49 performTest("OverrideAbstractList2", 169, "ad", "OverrideAbstractList2a.pass", "add.*override", "OverrideAbstractList2a.pass2"); 50 } 51 52 public void testOverrideAbstractList2b() throws Exception { 53 performTest("OverrideAbstractList2", 169, "ge", "OverrideAbstractList2b.pass", "ge.*implement", "OverrideAbstractList2b.pass2"); 54 } 55 56 public void testOverrideAbstractList3a() throws Exception { 57 performTest("OverrideAbstractList3", 156, "ad", "OverrideAbstractList3a.pass", "add.*override", "OverrideAbstractList3a.pass2"); 58 } 59 60 public void testOverrideAbstractList3b() throws Exception { 61 performTest("OverrideAbstractList3", 156, "ge", "OverrideAbstractList3b.pass", "ge.*implement", "OverrideAbstractList3b.pass2"); 62 } 63 64 public void testOverrideTypedException1() throws Exception { 65 performTest("OverrideTypedException", 237, "tes", "OverrideTypedException1.pass", "tes.*override", "OverrideTypedException1.pass2"); 66 } 67 68 public void testOverrideTypedException2() throws Exception { 69 performTest("OverrideTypedException", 351, "tes", "OverrideTypedException2.pass", "tes.*override", "OverrideTypedException2.pass2"); 70 } 71 72 public void testOverrideInInnerClass() throws Exception { 73 performTest("OverrideInInnerClass", 217, "pai", "OverrideInInnerClass.pass", "paint\\(.*override", "OverrideInInnerClass.pass2"); 74 } 75 76 public void testOverrideInInnerClassUnresolvable() throws Exception { 77 performTest("OverrideInInnerClassUnresolvable", 213, "pai", "empty.pass"); 78 } 79 80 public void testCreateConstructorTest() throws Exception { 81 performTest("CreateConstructorTest", 266, "", "CreateConstructorTest.pass"); 82 } 83 84 public void testCreateConstructorTestInnerClass() throws Exception { 85 performTest("CreateConstructorTest", 451, "", "CreateConstructorTestInnerClass.pass"); 86 } 87 88 public void testCreateConstructorWithConstructors() throws Exception { 89 performTest("CreateConstructorWithConstructors", 487, "", "CreateConstructorWithConstructors.pass"); 90 } 91 92 public void testCreateConstructorWithConstructorsInnerClass() throws Exception { 93 performTest("CreateConstructorWithConstructors", 672, "", "CreateConstructorWithConstructorsInnerClass.pass"); 94 } 95 96 public void testCreateConstructorWithDefaultConstructor() throws Exception { 97 performTest("CreateConstructorWithDefaultConstructor", 365, "", "CreateConstructorWithDefaultConstructor.pass"); 98 } 99 100 public void testCreateConstructorWithDefaultConstructorInnerClass() throws Exception { 101 performTest("CreateConstructorWithDefaultConstructor", 607, "", "CreateConstructorWithDefaultConstructorInnerClass.pass"); 102 } 103 104 public void testCreateConstructorNonDefaultConstructor() throws Exception { 105 performTest("CreateConstructorNonDefaultConstructor", 364, "", "CreateConstructorNonDefaultConstructor.pass"); 106 } 107 108 public void testCreateConstructorNonDefaultConstructorInnerClass() throws Exception { 109 performTest("CreateConstructorNonDefaultConstructor", 632, "", "CreateConstructorNonDefaultConstructorInnerClass.pass"); 110 } 111 } 112 | Popular Tags |