summaryrefslogtreecommitdiffstats
path: root/jack-tests
Commit message (Collapse)AuthorAgeFilesLines
* Use new JUnit based test frameworkJean-Marie Henaff2014-12-02154-557/+13963
| | | | | | Bug: 18547020 Change-Id: I5d02ebdecbf79bea035ae8a042d50a06aa7c2a62
* Merge "Sources lists name has changed" into ub-jackYohann Roussel2014-11-251-1/+1
|\
| * Sources lists name has changedYohann Roussel2014-11-201-1/+1
| | | | | | | | | | | | Rename references made by tests. Change-Id: I43cab20133ef4ab73f873c6f1e9aa480c45a7c99
* | Force annotated classes in main dexYohann Roussel2014-11-2410-0/+223
| | | | | | | | | | | | | | | | | | | | When compiling for legacy multidex, keeps in main dex all classes annotated (or with a member annotated) by a runtime visible annotation. This is a rough workaround for https://code.google.com/p/android/issues/detail?id=78144 Bug: 18385117 Change-Id: If640a49842e8c7e1b9f9382dbc6f7335dac512ab
* | Do not fail because of bad classpath entryYohann Roussel2014-11-213-0/+21
|/ | | | | | | Just warn unless option for strict classpath is set. Bug: 18369562 Change-Id: I82abef63b78a9291fd6a68081b033a25c9d23e2f
* Jack generates lib version 1.1mikaelpeltier2014-11-1710-2/+3
| | | | | | | | | | - All jayce files are into a folder jayce - All intermediates dex files are into a folder dex - All .jpp files are into a folder jpp - All resource files are into a folder rsc - Disable usage of dex from library when jarjar and obfuscation is enabled Change-Id: Id0f92b4519953a0bc41c76a55700a2c6f6ce5ec3
* Merge "Force rebuilt of jack test targets when jack is changed" into ub-jackYohann Roussel2014-11-131-0/+3
|\
| * Force rebuilt of jack test targets when jack is changedYohann Roussel2014-11-121-0/+3
| | | | | | | | Change-Id: I84472f62c983871044eee3e53abedd079d2a6887
* | Add usage of InputOutputVDir into output librarymikaelpeltier2014-11-131-2/+1
|/ | | | | | | - Rename several properties from jayce to library since they are related to library. Change-Id: Ic6ca21f60b7dd2396ffc7b08d7e2b1a2d3b46f49
* Fix test-jack-incremental testmikaelpeltier2014-11-051-8/+8
| | | | | | - The test was broken due to a bad command line Change-Id: Ie6c73b1e8ecc0281722ebec49c625e4528619727
* Adapt mm test-jack-long to lmp-mr1Yohann Roussel2014-10-271-1/+1
| | | | Change-Id: I3c054e5091779827863ac625a99230ba2987f47d
* Adapt build to Change in Jack command lineYohann Roussel2014-10-258-11/+11
| | | | | | Also restore 2 undocumented options used by build of vm-test-tf Change-Id: I87284ca4122045f45be9702a1fd8985acda78b4c
* Adapt jack tests build rule to build systemYohann Roussel2014-10-2414-405/+358
| | | | Change-Id: I184c70f79d1410bcd1b66be3cef60815ec995659
* Fix annotation/test006Yohann Roussel2014-10-231-32/+0
| | | | | | | Non public method Class.getSignatureAttribute was removed: removed the tests depending on it. Change-Id: I32f67c2f1a9c915d6320ea772dfa6e79c1891e64
* Package jack annotationsYohann Roussel2014-10-231-0/+8
| | | | Change-Id: I5a82855cc73c1b58fd961266575e50ac214a0fa4
* Adapt to lmp changesYohann Roussel2014-10-231-1/+1
| | | | | | | | | | | | | Build has changed, Libcore targets were renamed. This allows to build the images or to mm in toolchain/jack but not to run test-jack. Conflicts: junit4/Android.mk Change-Id: Idcf3076569c2712560d59165d664b9c9a4e15a1b
* Move stream suckers to SchedLibBenoit Lamarche2014-10-214-322/+4
| | | | | | | This will allow for them to be used in the VFS. Also, they were duplicated. Change-Id: I15f146c7b3ff3a6740b23bf2f24c6eee55791ce5
* Add project dependency on jack-tests to DxJean-Marie Henaff2014-10-161-0/+1
| | | | | | | | | This project does not directly depends on Dx but Eclipse Luna raises an error because it depends on Jack which depends on Dx. This patch also modify build.xml so as to raise a compilation error if a direct reference to dx is done in jack-tests. Change-Id: Id1fb21e53b841d97aefb6422db170e9db0d7e16a
* Fix merging problem due to TYPEDEX_DIR renamingmikaelpeltier2014-10-162-2/+2
| | | | Change-Id: I9897c68dfa1ca642d7baa9c6a9dd11db5dd7e60a
* WIP Use JUnit for jack-tests.Jean-Marie Henaff2014-10-1476-1/+7743
| | | | | | (cherry picked from commit 452cbd7d69db557ecdbbd20875a669752cf2d9d7) Change-Id: I96a34b90c9525fa4403f6f940d6fcdf4656722ab
* Revert "Change jack files extension from .jack to .jayce"Jean-Marie Hénaff2014-10-101-7/+7
| | | | | | This reverts commit 812f071d491be0c0b3bc3b4654b01428018fe77f. Change-Id: I0e22d6a66b355cea067ca7723cda88fed8c87e65
* Change jack files extension from .jack to .jayceJean-Marie Henaff2014-10-081-7/+7
| | | | Change-Id: Id517fe37307b7bec0a0199c9d5b2b0c098624a4f
* Add shrink tests about enum anonymous sub classYohann Roussel2014-09-239-0/+75
| | | | Change-Id: I0231826ff13b48a2a289198e621a7d8caed0eec6
* PackageRenamer should also rename Generic signatureYohann Roussel2014-09-184-1/+38
| | | | | | And other strings. So this just ensure that String refining is done before package renaming. Change-Id: Id6a22fc6175697016ddf2494e87d9b949e9aaf7e
* Merge "Fix visibility bridges flags." into ub-jackYohann Roussel2014-09-183-0/+89
|\
| * Fix visibility bridges flags.Yohann Roussel2014-09-183-0/+89
| | | | | | | | | | | | Visibility bridges should not inherit of all flags of the target method. Change-Id: Id8bf8b14be2d5ba04c899bea9fc6541513ffe2f4
* | Create used variable even if they are defined into dead codemikaelpeltier2014-09-154-3/+72
| | | | | | | | | | Bug: 7398661 Change-Id: I3b4f965608ea438d3a0c97718533fc6e52b77253
* | Merge "Fix number literal conversion in array initializers" into ub-jackYohann Roussel2014-09-121-0/+58
|\ \
| * | Fix number literal conversion in array initializersYohann Roussel2014-09-121-0/+58
| |/ | | | | | | Change-Id: I6bcf8a270c45fbb9c06cf062742c75694817fdb4
* | Merge "Fix illegal code generation of TryWithResourcesTransformer" into ub-jackMikael Peltier2014-09-112-0/+29
|\ \ | |/ |/|
| * Fix illegal code generation of TryWithResourcesTransformerYohann Roussel2014-09-112-0/+29
| | | | | | | | | | | | | | | | | | | | - Add a test for try with resources that exhibit illegal code generation. - Add generation of throw instruction to have correct java code at compile time. Bug: 17389106 Change-Id: I451adb03917b5908faf2a7730990c474009706d2
* | Merge "A test for phantom lookup conflicting with defined type." into ub-jackYohann Roussel2014-09-094-1/+74
|\ \
| * | A test for phantom lookup conflicting with defined type.Yohann Roussel2014-09-094-1/+74
| | | | | | | | | | | | Change-Id: I264614217ba3b4351a86acac8db50351bfc9d1f8
* | | Merge "Add support for unboxing Object in explicit cast." into ub-jackYohann Roussel2014-09-091-2/+1
|\ \ \
| * | | Add support for unboxing Object in explicit cast.Yohann Roussel2014-09-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ie add support for (int)(Object) new Integer(1) which is legal since java 1.7. Bug: 17371016 Change-Id: If3e0fe5862d2c01de8bd027b175440549289d4e3
* | | | Merge "A test about class with missing inner in the classpath." into ub-jackYohann Roussel2014-09-092-0/+57
|\ \ \ \ | |_|/ / |/| | |
| * | | A test about class with missing inner in the classpath.Yohann Roussel2014-09-042-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An inner class class was deleted from the classpath but only the Enclosing class is referenced so there should be no problem compiling. Change-Id: I124c429015dd811df721e9260c349506b17af830
* | | | JArrrayLiteral should always be given a modifiable List.Yohann Roussel2014-09-053-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 17364025 Change-Id: Ifb326f703f3dc860d85ef36df0c0f8f68b57835b
* | | | Merge "A test unboxing an Object to int." into ub-jackYohann Roussel2014-09-054-1/+77
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| |
| * | A test unboxing an Object to int.Yohann Roussel2014-09-054-1/+77
| |/ | | | | | | | | | | This is legal as of java7 but not yet supported by jack. Change-Id: If23bc190f7c4fc9e4c12b1bc9c01773a934d199c
* | Fix Preprocessor and Multidex testsBenoit Lamarche2014-09-042-0/+63
|/ | | | Change-Id: If62d7b07b5a57132f2d63ad7cc101c24aeb82172
* Emit multidex.Yohann Roussel2014-09-02123-0/+323152
| | | | Change-Id: Id1e494a60635c0694c8f6b985d1a0e1248d6db03
* Fix PreProcessor grammarBenoit Lamarche2014-09-011-1/+1
| | | | | | Also fixes a preprocessor file in a test. Change-Id: Ic90aa96dfcf9eb3570baa8c32960c964486cc020
* Merge "MultiDex tracing." into ub-jackBenoit Lamarche2014-08-281-0/+3
|\
| * MultiDex tracing.Yohann Roussel2014-08-281-0/+3
| | | | | | | | Change-Id: I3c875ef53b8255191999e859350c2f9ea7d846f4
* | Address comments in PreProcessor grammarBenoit Lamarche2014-08-284-7/+7
|/ | | | Change-Id: If237db7d074315c280c1ffa6cfcb89772f0eb41f
* Fix PreProcessor names and configurationBenoit Lamarche2014-08-2710-46/+46
| | | | Change-Id: I4cd34c2b72a3accd41e01a4bd906004a44306f6f
* Add initial annotation adder support.Yohann Roussel2014-08-279-0/+231
| | | | | | | Supports only a reduced set of the syntax sufficient for providing multidex tracing configuration. Change-Id: Ibebadbf548f4efe6f5d5e147dad171e887308d6b
* Fix bad assertionmikaelpeltier2014-08-262-2/+2
| | | | | | | - Update a shrob test to be compliant with the mapping format defined into applyMapping method of MappingApplier. Change-Id: Ic45a70f207812884f7653d2eb76124a3a735d74c
* -o option is no longer a file but a foldermikaelpeltier2014-07-292-11/+13
| | | | Change-Id: I46702a101e0d42015943e34e91008cd9a18331c6