summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Detect alias for CASE statements (targets issue46).Andi Albrecht2011-09-291-0/+5
|
* Make keyword detection more restrict (fixes issue47).Andi Albrecht2011-09-291-0/+4
| | | | | Keywords most likely don't follow dots. Maybe there are other exclusions too, but for now let's just go with this one.
* Merged.Andi Albrecht2011-09-271-0/+69
|\
| * Replace assertListEqual by assertEqual for backwards compatibility.Andi Albrecht2011-09-041-7/+7
| | | | | | | | | | There's no need to call assertListEqual, assertEqual() in Python >= 2.7 automatically chooses the right equality function for us.
| * Move pipeline test to tests/ directory.Andi Albrecht2011-09-041-0/+69
| |
* | Choose first token during identifier grouping when both names/symbols and ↵Andi Albrecht2011-09-271-1/+6
|/ | | | functions are found (fixes issue45).
* Minor fixes to make the py3k version work again.Andi Albrecht2011-07-291-1/+2
|
* Add parsing of MS Access column names with braces (fixes issue27).Andi Albrecht2011-07-291-0/+7
|
* Detection of placeholders in paramterized queries (fixes issue22).Andi Albrecht2011-07-251-0/+20
|
* Make sure that stand-alone comments are parsed correctly (fixes issue26).Andi Albrecht2011-07-251-0/+18
|
* Releax keyword detection, when keywords are used as function names (fixes ↵Andi Albrecht2011-07-241-0/+7
| | | | issue36).
* Split statements with IF as functions correctly (fixes issue33).Andi Albrecht2011-07-241-0/+7
|
* Detect function aliases better.Andi Albrecht2011-07-241-0/+4
|
* Make sure that identifier lists in subselects with alias are grouped correctly.Andi Albrecht2011-07-231-0/+32
|
* Avoid parsing of names as keywords (fixes issue39).Andi Albrecht2011-07-201-0/+10
|
* Fix removal of comments when strip_comments is True (fixes issue38).Andi Albrecht2011-06-101-0/+7
|
* Don't group trailing whitepsace in WHERE clauses (fixes issue35).Andi Albrecht2011-04-131-2/+10
|
* Move regression tests.Andi Albrecht2011-03-174-37/+22
|
* Ignore case in token.match() for all keyword types (fixes issue34).Andi Albrecht2011-03-171-0/+14
|
* Fix formatting issue with extended CASE statements.Andi Albrecht2011-02-281-0/+8
|
* Improve float parsing (thanks, Kris).Andi Albrecht2011-01-261-0/+14
|
* Fix a Py3K regression.Andi Albrecht2010-12-091-1/+1
|
* Ignore identifiers in double-quotes when changing identifier case (fixes ↵Andi Albrecht2010-11-211-1/+1
| | | | issue21).
* Ignore AND after BETWEEN when reindenting statements (fixes issue14).Andi Albrecht2010-11-211-0/+8
|
* Group extended identifiers (fixes issue15).Andi Albrecht2010-11-211-0/+8
|
* Match single line comments at end of string.Andi Albrecht2010-11-141-0/+10
| | | | The bug was reported for CrunchyFrog: http://code.google.com/p/crunchyfrog/issues/detail?id=88
* Fix typo: Comparsion -> Comparison.Andi Albrecht2010-07-041-4/+4
|
* Clean up imports.Andi Albrecht2010-07-042-33/+33
| | | | | Removed wildcard imports, mainly to keep pyflakes quiet. But this change lifted some wrong imports and class usage.
* Improve statement detection for DECLARE statements outside ↵Andi Albrecht2010-06-231-0/+7
| | | | | | | | function/procedure definitions. The parser didn't recognized DECLARE statements outside function/procedure definitions correctly and assumed that a non-separating semicolon follows.
* Improve detection of escaped single quotes (fixes issue13, reported by ↵Andi Albrecht2010-06-171-0/+16
| | | | Martin Brochhaus, patch by bluemaro with test case by Dan Carley).
* Move regression test to separate directory.Andi Albrecht2010-06-173-13/+29
|
* Fix an issue with trailing whitespaces (reported by Kris).Andi Albrecht2010-02-181-0/+4
|
* Fix test case for CASE reindent.Andreas Albrecht2010-01-111-3/+4
|
* Fix return code when running unittests.Andreas Albrecht2010-01-111-2/+7
|
* Prevent WHERE grouper from consuming closing parenthesis (fixes issue9, ↵Andi Albrecht2009-09-122-1/+21
| | | | reported by estama).
* Improve detection of identifier aliases (fixes issue8).Andi Albrecht2009-07-131-0/+7
|
* Query token ancestry.Andi Albrecht2009-07-121-0/+24
|
* Add formatting test case for complex identifier lists.Andi Albrecht2009-07-121-0/+10
|
* Detect functions if they are used as identifiers.Andi Albrecht2009-07-121-1/+9
|
* Distinguish between operators that are part of a comparsion and others.Andi Albrecht2009-07-121-2/+4
|
* Fix incorrect detection of keyword fragments in names (fixes issue7, ↵Andi Albrecht2009-06-241-0/+21
| | | | reported and initial patch by andyboyko).
* Only add full path to test module if it isn't already in sys.path.Andi Albrecht2009-06-211-1/+3
|
* Conditional hotshot import.Andi Albrecht2009-06-081-1/+1
|
* Grouping of function/procedure calls.Andi Albrecht2009-05-271-1/+8
|
* Fixed grouping of semicolons within assignments.Andi Albrecht2009-05-141-7/+9
|
* Make sure that operators in comparsions are not handled too lazy.Andi Albrecht2009-05-141-0/+7
|
* Prepared test case, will be finished soon ;-)Andi Albrecht2009-05-111-0/+8
|
* * Python and PHP output filter now add a trailing whitespace.Andi Albrecht2009-05-062-0/+50
| | | | * More test coverage.
* Code cleanup and test coverage.Andi Albrecht2009-05-062-0/+58
|
* * Added profile option to run_tests.py.Andi Albrecht2009-05-061-3/+17
| | | | * Use sets in Token.match.