Antlr updates and embed gunit tests for lexer and parser tests - first tests for CMIS and FTS

- updates before starting MOB-568

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-03-18 15:30:07 +00:00
parent 44805a5075
commit d345c5d850
11 changed files with 1704 additions and 1442 deletions

View File

@@ -1703,7 +1703,15 @@ public class QueryTest extends BaseCMISTest
query = "SELECT D.*, T.* FROM CM_TITLED T JOIN DOCUMENT D ON (D.OBJECTID = T.OBJECTID)";
parse(query);
}
public void testParseIssues() throws RecognitionException
{
String query = "SELECT Name, ObjectId, asdf asdfasdf asdfasdf asdfasdfasdf FROM DOCUMENT";
parse(query);
}
public void testAspectProperties()
{
CMISQueryOptions options = new CMISQueryOptions("SELECT * FROM CM_OWNABLE O", rootNodeRef.getStoreRef());