Commits

Olemis Lang committed ed8a05c

GViz QL : Add 'sort' attribute in GVizOrderByClause

gvizql.py Total tests : 62 , Failures : 10 , Errors : 9

  • Participants
  • Parent commits ca328ae
  • Branches gviz_ql

Comments (0)

Files changed (1)

File trac-dev/gviz/tracgviz/testing/test_gvizql.py

       *****
       * Parsing
       *****
-      NotSupported  :(
+      [(u'dept', True)]
+      [u'dept']
+      [u'dept', u'lunchTime']
+      *****
+      * Result
+      *****
+      GVizUnsupportedQueryOp  :  Unable to evaluate GROUP BY clause. Either the whole clause or an specific feature is not supported yet.
+
       """,
   'Parsing ORDER BY (complex)' : r"""
       >>> parse("  select dept , max(salary)   group by dept "
       *****
       * Parsing
       *****
-      NotSupported  :(
+      [(u'max(salary)', True)]
+      [u'dept']
+      [u'dept', u'max(salary)']
+      *****
+      * Result
+      *****
+      GVizUnsupportedQueryOp  :  Unable to evaluate GROUP BY clause. Either the whole clause or an specific feature is not supported yet.
+
 
       >>> parse("  select dept , min(lunchTime)   group by dept "
       ...       "   order by max(salary)", 'sort', 'aggregate', 'cols')
       *****
       * Parsing
       *****
-      NotSupported  :(
+      [(u'max(salary)', True)]
+      [u'dept']
+      [u'dept', u'min(lunchTime)']
+      *****
+      * Result
+      *****
+      GVizUnsupportedQueryOp  :  Unable to evaluate GROUP BY clause. Either the whole clause or an specific feature is not supported yet.
+
       """,
   'Parsing LIMIT' : r"""
       >>> parse("limit 4", 'cnt')