summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update todo items for pull requestrb-parse-create-tableVictor Uriarte2016-06-061-2/+3
|
* Encapsulate and relocate create_table_infoVictor Uriarte2016-06-061-1/+1
|
* Add function to parse column names and types in CREATE TABLE statementsAndreas Sommer2016-06-061-0/+218
|
* Format `pr` to pass flake8 and update functions usedVictor Uriarte2016-06-062-19/+27
|
* Add filter `Spaces around Operators`Adam Greenhall2016-06-062-0/+38
|
* Test: Subquery Ident-lists grouping alias bugAdam Greenhall2016-06-061-0/+10
| | | | Not being grouped correctly when aliased
* Fix Case statements AlignmentAdam Greenhall2016-06-061-0/+30
|
* Fix/Test JoinsAdam Greenhall2016-06-061-0/+26
|
* Fix/Test Limit statementsAdam Greenhall2016-06-061-0/+2
|
* Test: Window functionsAdam Greenhall2016-06-061-0/+16
|
* Fix/Test `Group-By`Adam Greenhall2016-06-061-0/+54
|
* Test: Case statementsaneeshk2016-06-061-0/+28
|
* Start work on Aligned-reindentAdam Greenhall2016-06-061-0/+32
|
* Allow tokenlists to skip over commentsVictor Uriarte2016-06-041-1/+1
| | | | Rename ignore_cm to skip_cm for consistency
* Remove undocumented featuresVictor Uriarte2016-06-043-308/+0
| | | | | | These features/function/classes were added for AntiORM. Quick look-up didn't show any usage outside of AntiORM. Closes #246
* Refactor tests\utils.pyVictor Uriarte2016-06-041-16/+11
| | | | | `io.open(...)` is preferred method over `codecs.open(...)` removed unused or single use variables
* Update test to current lexer functionsVictor Uriarte2016-06-041-9/+4
|
* Fix test that wasn't evaluatingVictor Uriarte2016-06-041-3/+3
| | | | | | | AssertTrue wasn't comparing the value, just checking if value was not False Fix and changed AssertTrue to Assert_ to match style used else throught tests
* Merge pull request #248 from fimmtiu/add-wrap-after-optionAndi Albrecht2016-06-031-0/+12
|\ | | | | Add --wrap_after option for wrapping identifier lists.
| * Add --wrap_after option for wrapping identifier lists.Dennis Taylor2016-06-021-0/+12
| |
* | Merge pull request #243 from vmuriart/refactor_lexer.pyAndi Albrecht2016-06-031-7/+0
|\ \ | | | | | | Refactor lexer.py
| * | Remove undocumented ws handlers from lexer.pyVictor Uriarte2016-05-291-7/+0
| |/ | | | | | | | | Removing nl before tokenizing breaks comments (stripnl/stripall) Remove tab-expansion.
* | Fix flake8 stylingVictor Uriarte2016-05-292-5/+2
|/
* Merge pull request #236 from koljonen/using_directly_followed_by_parenthesisAndi Albrecht2016-05-281-0/+7
|\ | | | | Recognize USING as a keyword in 'USING(', not just in 'USING ('
| * Recognize USING as a keyword in 'USING(', not just in 'USING ('koljonen2016-05-141-0/+7
| | | | | | | | These were previously caught by (r'[^\W\d_]\w*(?=[.(])', tokens.Name), so I added a special regex just above that one.
* | Another small type in the documentationDag Wieers2016-05-261-1/+1
| |
* | separate identifier grouping into its componentsVictor Uriarte2016-05-101-3/+3
| | | | | | | | | | leaving sql.Operations in for future PR small behavior changed for invalid identifier
* | fix test to run locallyVictor Uriarte2016-05-101-1/+2
|/
* Improve identifier parsing when identifier is a literal combined with order ↵Andi Albrecht2016-04-061-0/+6
| | | | keyword (fixes #101).
* Code cleanupAndi Albrecht2016-04-061-3/+4
|
* Fix #230 (function comparison grouping)saaj2016-04-051-0/+23
|
* Ensure get_type() works for queries that use WITH.Andrew Tipton2016-03-021-4/+10
|
* Add failing test for issue #227.Andrew Tipton2016-03-021-0/+7
|
* Add test case for issue 214, update changelog and authors.Andi Albrecht2015-12-141-0/+5
|
* Fix version check when casting TokenList to string (fixes #212).Andi Albrecht2015-12-081-0/+11
|
* Code cleanup in tests.Andi Albrecht2015-10-266-36/+38
|
* Fix tab expansion for Python 3.Andi Albrecht2015-10-261-2/+0
|
* Use compat module for single Python 2/3 code base.Andi Albrecht2015-10-267-45/+42
| | | | This change includes minor fixes and code cleanup too.
* Handle END IF correctly when splitting statements (fixes #194).Andi Albrecht2015-07-281-0/+13
|
* Ignore comments at beginning of statement when calling Statement.get_type ↵Andi Albrecht2015-07-261-0/+6
| | | | (fixes #186).
* Recognize MSSQL temp tables and distinguish from MySQL comments (fixes #192).Andi Albrecht2015-07-261-0/+10
|
* Don't treat DECLARE within BEGIN blocks as relevant to split level (fixes #193).Andi Albrecht2015-07-261-1/+12
|
* Improve detection of aliased identifiers (fixes #185).Andi Albrecht2015-04-191-0/+5
|
* Never interpret IN keyword as function name (fixes #183).Andi Albrecht2015-04-121-1/+7
|
* Support comments starting with '#' character (fixes #178).Andi Albrecht2015-03-161-0/+10
|
* Add a bunch of square bracket testsDarik Gamble2015-03-041-26/+46
|
* Allow identifiers to start with an underscore (fixes #175).Andi Albrecht2015-03-011-0/+9
|
* Recognize escaped backslashes within stringscasey2015-02-261-0/+4
| | | | | Previously if a single quoted string ended with an escaped backslash, parsing would not consider the string to be terminated.
* Merge pull request #171 from darikg/alias_bugfixAndi Albrecht2015-02-211-5/+46
|\ | | | | Fix #167
| * Add a bunch of extra tests for assigning aliases without the AS keywordDarik Gamble2015-02-091-0/+40
| |