summaryrefslogtreecommitdiffstats
path: root/jack-tests/tests/com/android/jack/shrob/ShrinkTests.java
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
* Add reference for shrinking test 43mikaelpeltier2015-05-211-38/+1
| | | | | | | | | | - Remove usage of ordered-filter and single-threaded mode since they do not allow to trace type in a specific order. The ordered-filter allows only to pass java files to ecj in a lexical order, but after ecj this order is no longer guarantee. Change-Id: I32103e933f863c319aba507c8439662a9e159c8b (cherry picked from commit 0cf14ebc4189e18da422dad7be676c99e3bca6ff)
* Do not forget to trace implementation methodsmikaelpeltier2015-05-211-0/+41
| | | | | | | | | | - Tracing can forget to keep some methods due to tracing order. Trace a method that is a seed need also to trace implementation of this method for all types that are already kept. Bug: 21023926 Change-Id: I0a0df841b0f7441ddba056ad69a1f506db15afb3 (cherry picked from commit df69c567bb1903bdcf1a39be18a0e52c62709de0)
* During shrinking generate error if they are unknow typesmikaelpeltier2015-04-291-0/+3
| | | | | | | | | | - When shrinking all used types must be passed into classpath, without these types into classpath, Jack could shrink class members that it should not. Bug: 20135591 Change-Id: I13a82b4cc47da27fa3f12330df9b630ea6628f48
* Explicitely ignore some tests with Jill test toolchainJean-Marie Henaff2015-04-291-0/+109
| | | | | Bug: 20157629 Change-Id: I91bfcf55377cfdabaa0f52eede4e41cf5748d7c5
* Add new Shrinking testsmikaelpeltier2015-04-281-0/+52
| | | | | | | | - These test was written to show the different behavior between using imported jars or not. The class in lib contains a Class.ForName with an existing class that should be kept when the library is used as an imported library. Change-Id: I306ce629d27c4ee9c47f6203e05fc3fd1d2ee038
* Fix mapping comparison order in shrob testsJean-Marie Henaff2015-04-271-2/+1
| | | | | | | | | | - Some files to be comapred were passed in the wrong order. - Changed order in test framework API to match how it's been done in other Comparators. Bug: 20150139 Change-Id: I999886b15781c1a170d578c1d8b31b6325c783af
* Add listing comparison to ShrinkTests.test21()Jean-Marie Henaff2015-04-231-0/+12
| | | | | | | | | Reference listing was used for ShrinkTests.test21_001() but not for this extra test which splits compilation into 3 steps. Bug: 20151065 Change-Id: I1aedfd4bfc19162b0ffe7f972379ba272addab6b
* Revert "Revert "Start using jack-api for jack API based test toolchains""Jean-Marie Hénaff2015-03-091-9/+9
| | | | | | This reverts commit b43732ee3d9f9ffcd7595ab657e4c683a1751b3a. Change-Id: Id9fbfcd8f7aebca1136bfcbbf9e37359dc42a19d
* Revert "Start using jack-api for jack API based test toolchains"Jean-Marie Hénaff2015-03-061-9/+9
| | | | | | This reverts commit d235ed6f21b7b21aefb4b066b0c64acfa2bbb229. Change-Id: Idceeda07056275eb887d42a5aa75b624024554e0
* Start using jack-api for jack API based test toolchainsJean-Marie Henaff2015-03-061-9/+9
| | | | | | Implementation is still to be done. Change-Id: I010ab9f00f4c00275982d4abfcbf6c94248f3fb4
* Fix LegacyJillToolchain in jack-testsJean-Marie Henaff2015-02-181-0/+2
| | | | Change-Id: Ib9d9f88e1edc231be58125bca9ac71b7af88990f
* Change handling of classpath in compilation in test frameworkJean-Marie Henaff2015-02-031-11/+9
| | | | | | | Make classpath an optional parameter. This change leads to simpler calls to compilation methods. Change-Id: Ia8a5e1bf13bfe9690a838784922622d3f3f148d7
* Tests: use toolchain specific extensions for library namesJean-Marie Henaff2014-12-231-3/+5
| | | | Change-Id: Ia575e793984349a4e64d2a2bbba6bec5abe6a5be
* Use new JUnit based test frameworkJean-Marie Henaff2014-12-021-0/+218
Bug: 18547020 Change-Id: I5d02ebdecbf79bea035ae8a042d50a06aa7c2a62