示例#1
0
 @Test
 @Category({P1, FAST, UNIT})
 @Description(
     "Test incomplete VJET itype should parse non-null jst. "
         + "Also it should have bare minimum information baout vjet type")
 public void testProcessIType() {
   CompilationUnitDeclaration ast = prepareAst("iTypeTranslatorTestFile.txt", null);
   IJstType jstType = SyntaxTreeFactory2.createJST(ast, new TranslateCtx());
   assertNotNull(jstType);
   assertTrue(jstType.isInterface());
 }
 protected boolean typeTypeCheck(IJstType jstType) {
   if (jstType.isInterface() || jstType.isOType()) {
     return false;
   }
   return true;
 }