summaryrefslogtreecommitdiffstats
path: root/jack-tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove KnownIssue that is not neededmikaelpeltier2015-07-091-2/+0
| | | | | Change-Id: Ic16990736629fbe13f2497058fd26bcf2a02af50 (cherry picked from commit 3a4a34c75f3c83a89e931b72899070c362ec4260)
* Remove unused definition only for synthetic variablesmikaelpeltier2015-07-093-0/+102
| | | | | | | Bug: 18911912 Change-Id: I2530afc929431ccc4229daac5cbd218fc1b499b0 (cherry picked from commit d4f6789ff777d219c3411aec1104df17dba85eba)
* Remove assertion status from Jack sanity checksJean-Marie Henaff2015-06-2490-359/+59
| | | | | | | | | - 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
* Update path of jpp file used by MultiDex testsmikaelpeltier2015-06-191-2/+2
| | | | | Change-Id: Icadfa334cc3152fe5a830199d10ae3c3ea3d41b8 (cherry picked from commit 833cd465bf28f3c89018b2f197c4890083cb3793)
* Merge "Exclude a Phantom test from Jill toolchain" into ub-jack-brestJean-Philippe Lesot2015-06-181-1/+3
|\
| * Exclude a Phantom test from Jill toolchainBenoit Lamarche2015-06-181-1/+3
| | | | | | | | | | | | | | I have recently reenabled this test since it now works, but I should have excluded it from the Jill toolchain like the others. Change-Id: I17da8c68e08ea5e54d0548cdf77fc5e6238f4ef0
* | Fix FileConflictTests, againBenoit Lamarche2015-06-181-8/+3
|/ | | | | | | | | The ResourceImportConflictException message has changed, so some tests are broken. (cherry picked from commit f162d3fef845afdcf63b48316eec5135c2b2368b) Change-Id: Ib7f1fa0c54dffef94bf7ad3e955bd16b16b212da
* Fix long MultiDexTestsBenoit Lamarche2015-06-181-2/+4
| | | | | | | | JPP file has moved. (cherry picked from commit 886e13d068b0d7dd1408743dd6b673c4816b60fe) Change-Id: I8760d31c6c981ebda35ecdcf0011b11600aa250a
* Adapt MultiDexTests to support CaseInsensitiveFSBenoit Lamarche2015-06-182-49/+23
| | | | | | | | Bug: 21486756 (cherry picked from commit 7be6522ac6df670a3c1feafa5cd08652f4854aa8) Change-Id: Ied2da33995a96c6d776616f47c8cf1793a78bc9a
* Add addMetaDir(File) in JackBasedToolchainJean-Marie Henaff2015-06-184-1/+33
| | | | | | | Bug: 21722784 (cherry picked from commit 459a4a32942aec2634967cd54cace98452d478f2) Change-Id: Ia19cd3687da55af6f62299f17100ddabebae86c7
* Adapt WithPhantomTests to support CaseInsensitiveFSBenoit Lamarche2015-06-181-40/+53
| | | | | | | Bug: 21486756 (cherry picked from commit de648be7da54458746b89dd736cd159ee43309a1) Change-Id: Iaa536a6a2fcdc3e35692f355b5b2317f413a54d6
* Rewrite FileConflictTestsBenoit Lamarche2015-06-1810-248/+178
| | | | | | | | | Bug: 18198113 Bug: 21486756 (cherry picked from commit 9029bd42070b288cf939d8a21d6c8d6a8adbc95a) Change-Id: Ie071003c728b63acf676043632b9375158b92d2f
* Rename addResource() to document it expects a directoryJean-Marie Henaff2015-06-186-15/+15
| | | | | | (cherry picked from commit b9afd7d44558114893933c2d9168607030ff7ae4) Change-Id: If366d939c72dd167b4aff315033fe74fc9741804
* Adapt FileAccessErrorTest to support CaseInsensitiveFSBenoit Lamarche2015-06-172-8/+19
| | | | | | | | | | | This is a bit hackish since it uses the Location, but I guess that for a test it'll do. Bug: 21486756 (cherry picked from commit 64e246e3b74e6989a4f930192cc7ed81fd2ed667) Change-Id: Ie301194abc50fcc1db9801e93736579c8d03667c
* Adapt and fix DependenciesTestsBenoit Lamarche2015-06-172-48/+51
| | | | | | | Bug: 21486756 (cherry picked from commit 2b27649753700cc3ab6194afc51f8192c472d241) Change-Id: I69da6542c52940f13b6304675e8324386bb4228f
* Adapt ResourceTests to support CaseInsesitiveFSBenoit Lamarche2015-06-175-101/+150
| | | | | | Bug: 21486756 Change-Id: I3f0e0b7d6a2511b08129bff4bc34a0ba54aead4e (cherry picked from commit 973a373d8fc030c0ea3e8f6113caa29be3776454)
* Temporarly deactivate tests that are broken because of CaseInsensitiveFSBenoit Lamarche2015-05-296-0/+28
| | | | | | | | | They will need to be modified Bug: 21486756 (cherry picked from commit 02859f0c0a29d30e6b8561c7854fd992271c4760) Change-Id: If5c39e4f4e1d3be9772a33493b3cb178412ebe19
* Adapt ClasspathTests to use InputJackLibraryBenoit Lamarche2015-05-292-4/+17
| | | | | | (cherry picked from commit 860b271f80ccbd6d283fe671444a9c89c0ff892d) Change-Id: Icdbad809fdfdfdacaa5c63c9b7812846fd7390c7
* Adapt incremental tests to use InputJackLibaryBenoit Lamarche2015-05-297-67/+61
| | | | | | (cherry picked from commit 097b5d6e807b250847ec9ff27f4a7ac7a336620f) Change-Id: I954bb80fe35fcc59043665400dd8331e2153427b
* Add reference for shrinking test 43mikaelpeltier2015-05-212-38/+9
| | | | | | | | | | - 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-215-0/+118
| | | | | | | | | | - 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)
* Merge "Add complementary test for not simplifier optimization" into ↵mikaelpeltier2015-05-218-57/+459
|\ | | | | | | ub-jack-brest
| * Add complementary test for not simplifier optimizationmikaelpeltier2015-05-218-57/+459
| | | | | | | | | | Change-Id: Ie6918e1b069065b133657d19a60265202837c656 (cherry picked from commit 0d60e80a141b0b23bf2e1a0a4709dd14d1aa47e0)
* | Merge "Do not remove type of 'null' expression otherwise type is lost" into ↵mikaelpeltier2015-05-213-0/+76
|\ \ | | | | | | | | | ub-jack-brest
| * | Do not remove type of 'null' expression otherwise type is lostmikaelpeltier2015-05-213-0/+76
| |/ | | | | | | | | | | Bug: 19508222 Change-Id: I839ee69b454bf74dd93a6dffcb900c56fb68c3de (cherry picked from commit 731bf4c954500229d95fdacf424f7ccad6e5bdcf)
* / NullLiteral is allown to have throw statement as parentmikaelpeltier2015-05-213-0/+75
|/ | | | | | | | - Rework checkValidity of JLiteral to be more precise Bug: 19534642 Change-Id: I0be226832680b99ba66f5b7acda0c7f7097fea82 (cherry picked from commit 51d872af9b65433731804c7933448337494af67e)
* NotSimplifier must take into account floating typesmikaelpeltier2015-05-214-1/+142
| | | | | | | | | | - cmpl-x and cmpg-x do not return the same value for Nan operands. Consequently !(a>b) can not be replace by a<=b when using floating types otherwise the condition will not be evaluated correctly at runtime. Bug: 21212402 Change-Id: Idfd37459b0013e1d0fba274bbc0f9acc103bb605 (cherry picked from commit 0635c13e2a4581dec9e3b3e78c4b6dcd8327a2d7)
* Make multidex type partition deterministYohann Roussel2015-05-185-29/+120
| | | | | | | By sorting types by name before filling the output dex files. Bug: 19505195 Change-Id: Ib7c11bc2b072c422e40188cfce7502e7f23679c8
* Modify Api01Config and Jack to support multiple Jarjar config filesJean-Marie Henaff2015-05-1211-24/+36
| | | | | | | | Bug: 20913411 (cherry picked from commit 517dec6fa299a3755f38681b3fcea387c84873f0) Change-Id: If9c1e8f827e8ed3fd68c4999a8700608a95ce7c9
* Merge "During shrinking generate error if they are unknow types" into ub-jackmikaelpeltier2015-04-293-0/+8
|\
| * During shrinking generate error if they are unknow typesmikaelpeltier2015-04-293-0/+8
| | | | | | | | | | | | | | | | | | | | - 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
* | Remove invalid library STOPSHIPsBenoit Lamarche2015-04-291-3/+9
| | | | | | | | | | | | | | I've added a bug to track the issue instead: Bug: 20685807 Change-Id: I15dd6d9b7a16a86014a4202338639d0b2f8fb1f1
* | Report unnecessaryEnclosingInstanceSpecificationBenoit Lamarche2015-04-291-1/+0
| | | | | | | | Change-Id: Id18cf1f123284d52eb3c5487638d5076fe74e20b
* | Merge "Add createTmpDir method throwing CannotCreateFileException" into ub-jackmikaelpeltier2015-04-291-2/+3
|\ \
| * | Add createTmpDir method throwing CannotCreateFileExceptionmikaelpeltier2015-04-281-2/+3
| | | | | | | | | | | | | | | Bug: 19654122 Change-Id: Ie0a0cb048efa2494a7e225e8de86453e38aaaed5
* | | Implement missing checks in getEmulationPath methodsBenoit Lamarche2015-04-291-3/+0
| |/ |/| | | | | Change-Id: Ib9856f3a0803c0f2bc6c7f5919e6d3f60330ba0a
* | Explicitely ignore some tests with Jill test toolchainJean-Marie Henaff2015-04-299-4/+539
| | | | | | | | | | Bug: 20157629 Change-Id: I91bfcf55377cfdabaa0f52eede4e41cf5748d7c5
* | Merge "Remove use of SchedLib utility class from test framework" into ub-jackJean-Marie Henaff2015-04-291-3/+3
|\ \
| * | Remove use of SchedLib utility class from test frameworkJean-Marie Henaff2015-04-281-3/+3
| | | | | | | | | | | | Change-Id: Ie8abe5be6dbd2e8ec61fb3bde40144ab3b041762
* | | Make FrontEndTests.testConflictingPackage001 deterministYohann Roussel2015-04-281-0/+2
| |/ |/| | | | | | | | | | | | | | | Looks like an Ecj problem is making it report an error or a warning depending on the compiled sources order. This is just a workaround for the test, it does not fixes the reporting problem. Bug: 20151080 Change-Id: Ib3eb99d1ed2e88d774891abbc14083e5696abc12
* | Merge "Add new Shrinking tests" into ub-jackmikaelpeltier2015-04-281-0/+52
|\ \
| * | 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
* | Merge "Revert "During shrinking generate error if they are unknow types"" ↵Mikael Peltier2015-04-284-140/+1
|\ \ | | | | | | | | | into ub-jack
| * | Revert "During shrinking generate error if they are unknow types"Mikael Peltier2015-04-284-140/+1
| | | | | | | | | | | | | | | | | | This reverts commit 88ac57db8ef6442d2a87aacad089104b488052e0. Change-Id: I67a420bcc60bf0ccbea0af30a551e3326d18e420
* | | Fix ClassCastException on useless qualifier errorYohann Roussel2015-04-284-5/+60
|/ / | | | | | | Change-Id: I8442a0e196cc598f6afd7db84173936abb26e87a
* / During shrinking generate error if they are unknow typesmikaelpeltier2015-04-284-1/+140
|/ | | | | | | | | - 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: I4b4b03581141df0e40b1f27ccfc2f3a481b5d069
* Merge "Be more precise in test toolchain request in ClasspathTests" into ub-jackJean-Marie Henaff2015-04-271-1/+1
|\
| * Be more precise in test toolchain request in ClasspathTestsJean-Marie Henaff2015-04-161-1/+1
| | | | | | | | Change-Id: I49d55b32fc84bd4a4527fc6ae6662e67ec943dd2
* | Fix mapping comparison order in shrob testsJean-Marie Henaff2015-04-2719-38/+46
| | | | | | | | | | | | | | | | | | | | - 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
* | Merge "Add listing comparison to ShrinkTests.test21()" into ub-jackJean-Marie Henaff2015-04-271-0/+12
|\ \