public abstract class AbstractXbaseContentAssistTest extends org.junit.Assert implements ResourceLoadHelper
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String[] |
CAST_INSTANCEOF |
protected static java.lang.String[] |
CLASS_FEATURES |
protected java.lang.String |
fileExtension |
protected static java.lang.String[] |
KEYWORDS_AND_STATICS |
protected static java.lang.String[] |
STATIC_CLASS_FEATURES |
protected static java.lang.String[] |
STATIC_STRING_FEATURES |
protected static java.lang.String[] |
STRING_FEATURES |
protected static java.lang.String[] |
STRING_OPERATORS |
protected org.eclipse.core.resources.IWorkspace |
workspace |
Constructor and Description |
---|
AbstractXbaseContentAssistTest() |
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
@Inject protected org.eclipse.core.resources.IWorkspace workspace
protected java.lang.String fileExtension
protected static java.lang.String[] KEYWORDS_AND_STATICS
protected static java.lang.String[] STRING_OPERATORS
protected static java.lang.String[] CAST_INSTANCEOF
protected static final java.lang.String[] STRING_FEATURES
protected static final java.lang.String[] STATIC_STRING_FEATURES
protected static final java.lang.String[] CLASS_FEATURES
protected static final java.lang.String[] STATIC_CLASS_FEATURES
public void setUp() throws java.lang.Exception
java.lang.Exception
public void tearDown() throws java.lang.Exception
java.lang.Exception
protected boolean doCleanWorkspace()
protected abstract com.google.inject.Injector getInjector()
public <T> T get(java.lang.Class<T> clazz)
protected XExpression expression(java.lang.String string) throws java.lang.Exception
java.lang.Exception
protected XtextResourceSet getResourceSet()
public XtextResource getResourceFor(java.io.InputStream stream)
getResourceFor
in interface ResourceLoadHelper
@Inject protected void setExtensions(java.lang.String extensions)
public void testEmptyInput() throws java.lang.Exception
java.lang.Exception
protected java.lang.String[] getKeywordsAndStatics()
protected static void addFields(java.lang.Class<?> type, java.util.List<java.lang.String> features, java.util.List<java.lang.String> staticFeatures, java.util.Set<java.lang.String> featuresAsSet, java.util.Set<java.lang.String> staticFeaturesAsSet)
protected static void addMethods(java.lang.Class<?> type, java.util.List<java.lang.String> features, java.util.List<java.lang.String> staticFeatures)
public java.lang.String[] getStringFeatures()
public java.lang.String[] getStaticStringFeatures()
public java.lang.String[] getClassFeatures()
public java.lang.String[] getStaticClassFeatures()
protected java.lang.String[] expect(java.lang.String[]... arrays)
public void testOnStringLiteral_01() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_02() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_03() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_04() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_05() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_06() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_07() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_08() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_09() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_10() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_11() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_12() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_13() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_14() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_15() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_16() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_17() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_18() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_19() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_20() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_21() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_22() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_23() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_24() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_25() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_26() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_27() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_28() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_29() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_30() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_31() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_32() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_33() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_34() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_35() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_36() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_37() throws java.lang.Exception
java.lang.Exception
public void testOnStringLiteral_38() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_01() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_02() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_03() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_04() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_05() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_06() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_07() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_08() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_09() throws java.lang.Exception
java.lang.Exception
public void testAfterBinaryOperation_10() throws java.lang.Exception
java.lang.Exception
public void testStaticFeatures_01() throws java.lang.Exception
java.lang.Exception
public void testStaticFeatures_02() throws java.lang.Exception
java.lang.Exception
public void testNull() throws java.lang.Exception
java.lang.Exception
public void testForLoop_01() throws java.lang.Exception
java.lang.Exception
public void testForLoop_02() throws java.lang.Exception
java.lang.Exception
public void testForLoop_03() throws java.lang.Exception
java.lang.Exception
public void testForLoop_04() throws java.lang.Exception
java.lang.Exception
public void testForLoop_05() throws java.lang.Exception
java.lang.Exception
public void testClosure_01() throws java.lang.Exception
java.lang.Exception
public void testCatchParameter_01() throws java.lang.Exception
java.lang.Exception
public void testCatchParameter_02() throws java.lang.Exception
java.lang.Exception
public void testCamelCase_01() throws java.lang.Exception
java.lang.Exception
public void testCamelCase_02() throws java.lang.Exception
java.lang.Exception
public void testSwitchOnEnum_01() throws java.lang.Exception
java.lang.Exception
public void testSwitchOnEnum_02() throws java.lang.Exception
java.lang.Exception
protected ContentAssistProcessorTestBuilder newBuilder() throws java.lang.Exception
java.lang.Exception