summaryrefslogtreecommitdiffstats
path: root/jack-tests/tests/com/android/jack/switchstatement
Commit message (Collapse)AuthorAgeFilesLines
* Remove assertion status from Jack sanity checksJean-Marie Henaff2015-06-241-4/+1
| | | | | | | | | - adds a property to set when invoking ant to disable assertion (-Dtests.disable-assertions=true) - remove assertion status modification done in tests (cherry picked from commit 9fcbabb82e5292b7df75ea396eddd34ea8a1558c) Change-Id: Ibfc41fc8b0e7e47c597d3f92e420dfb151681396
* Allow to use two enums with the same simple name into a classmikaelpeltier2015-04-075-0/+140
| | | | | | | | | | | | - To support partial recompilation with enum used into a switch statement, Jack generates a field and a method allowing to get a mapping between an enum field and an integer that will be used into a switch statement. This generated code must not take only the simple name of enumeration as discriminant, since several enum can have the same name. Thus, it is better to use his fully qualified name. Bug: 19639131 Change-Id: I2dbeef61e24e0e7b7250d3f0cfcbb619bd6e7829
* Change handling of classpath in compilation in test frameworkJean-Marie Henaff2015-02-031-4/+4
| | | | | | | Make classpath an optional parameter. This change leads to simpler calls to compilation methods. Change-Id: Ia8a5e1bf13bfe9690a838784922622d3f3f148d7
* Use new JUnit based test frameworkJean-Marie Henaff2014-12-021-0/+205
| | | | | | Bug: 18547020 Change-Id: I5d02ebdecbf79bea035ae8a042d50a06aa7c2a62
* Create used variable even if they are defined into dead codemikaelpeltier2014-09-153-1/+70
| | | | | Bug: 7398661 Change-Id: I3b4f965608ea438d3a0c97718533fc6e52b77253
* Initial Jack import.Yohann Roussel2014-03-2017-0/+1141
Change-Id: I953cf0a520195a7187d791b2885848ad0d5a9b43