server/test/unittest_ssplanner.py
changeset 47 54087a269bdd
parent 0 b97547f5f1fa
child 1398 5fe84a5f7035
equal deleted inserted replaced
46:0155942b5c56 47:54087a269bdd
    19 
    19 
    20     def test_ordered_ambigous_sol(self):
    20     def test_ordered_ambigous_sol(self):
    21         self._test('Any XN ORDERBY XN WHERE X name XN',
    21         self._test('Any XN ORDERBY XN WHERE X name XN',
    22                    [('OneFetchStep', [('Any XN ORDERBY XN WHERE X name XN',
    22                    [('OneFetchStep', [('Any XN ORDERBY XN WHERE X name XN',
    23                                        [{'X': 'Basket', 'XN': 'String'},
    23                                        [{'X': 'Basket', 'XN': 'String'},
       
    24                                         {'X': 'ECache', 'XN': 'String'},
    24                                         {'X': 'EConstraintType', 'XN': 'String'},
    25                                         {'X': 'EConstraintType', 'XN': 'String'},
    25                                         {'X': 'EEType', 'XN': 'String'},
    26                                         {'X': 'EEType', 'XN': 'String'},
    26                                         {'X': 'EGroup', 'XN': 'String'},
    27                                         {'X': 'EGroup', 'XN': 'String'},
    27                                         {'X': 'EPermission', 'XN': 'String'},
    28                                         {'X': 'EPermission', 'XN': 'String'},
    28                                         {'X': 'ERType', 'XN': 'String'},
    29                                         {'X': 'ERType', 'XN': 'String'},
    37     
    38     
    38     def test_groupeded_ambigous_sol(self):
    39     def test_groupeded_ambigous_sol(self):
    39         self._test('Any XN,COUNT(X) GROUPBY XN WHERE X name XN',
    40         self._test('Any XN,COUNT(X) GROUPBY XN WHERE X name XN',
    40                    [('OneFetchStep', [('Any XN,COUNT(X) GROUPBY XN WHERE X name XN',
    41                    [('OneFetchStep', [('Any XN,COUNT(X) GROUPBY XN WHERE X name XN',
    41                                        [{'X': 'Basket', 'XN': 'String'},
    42                                        [{'X': 'Basket', 'XN': 'String'},
       
    43                                         {'X': 'ECache', 'XN': 'String'},
    42                                         {'X': 'EConstraintType', 'XN': 'String'},
    44                                         {'X': 'EConstraintType', 'XN': 'String'},
    43                                         {'X': 'EEType', 'XN': 'String'},
    45                                         {'X': 'EEType', 'XN': 'String'},
    44                                         {'X': 'EGroup', 'XN': 'String'},
    46                                         {'X': 'EGroup', 'XN': 'String'},
    45                                         {'X': 'EPermission', 'XN': 'String'},
    47                                         {'X': 'EPermission', 'XN': 'String'},
    46                                         {'X': 'ERType', 'XN': 'String'},
    48                                         {'X': 'ERType', 'XN': 'String'},