This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
from fce284723 ASTokenFormatter: fix unicode and ascii escape sequences
getting lost when formatting string literals
new 3b5e99fd7 ASTokenFormatter: better error message when block stack
isn't empty
new 44d760ba7 ASTokenFormatter: fix formatting with config constants like
COMPILE:JS
new 415133ece formatter: more tests
new 11b9ba9b6 ASTokenFormatter: add missing handling of config constants
gating definitions, like classes, interfaces, fields/properties, or methods
new 6944fdceb formatter: object literal inside parentheses, and more tests
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/royale/formatter/ASTokenFormatter.java | 120 +++-
.../apache/royale/formatter/TestArrayLiteral.java | 24 +
.../royale/formatter/TestClassDeclaration.java | 189 ++++-
...stSwitchStatement.java => TestConfigConst.java} | 768 +++++++++++----------
.../royale/formatter/TestDoWhileStatement.java | 206 +++++-
.../royale/formatter/TestElseIfStatement.java | 299 +++++++-
.../apache/royale/formatter/TestElseStatement.java | 288 +++++++-
.../royale/formatter/TestForEachStatement.java | 189 ++++-
.../royale/formatter/TestForInStatement.java | 188 ++++-
.../apache/royale/formatter/TestForStatement.java | 189 ++++-
.../royale/formatter/TestFunctionDeclaration.java | 189 ++++-
.../apache/royale/formatter/TestIfStatement.java | 191 ++++-
.../royale/formatter/TestInterfaceDeclaration.java | 189 ++++-
.../royale/formatter/TestMethodDeclaration.java | 234 ++++++-
.../apache/royale/formatter/TestObjectLiteral.java | 33 +-
.../royale/formatter/TestPackageDeclaration.java | 188 ++++-
...stReturnStatement.java => TestParentheses.java} | 60 +-
.../royale/formatter/TestSwitchStatement.java | 159 ++++-
.../royale/formatter/TestTryCatchStatement.java | 336 ++++++++-
.../royale/formatter/TestWhileStatement.java | 190 ++++-
20 files changed, 3732 insertions(+), 497 deletions(-)
copy
formatter/src/test/java/org/apache/royale/formatter/{TestSwitchStatement.java
=> TestConfigConst.java} (58%)
copy
formatter/src/test/java/org/apache/royale/formatter/{TestReturnStatement.java
=> TestParentheses.java} (72%)