summaryrefslogtreecommitdiffstats
path: root/jack-tests/src/com/android/jack/test
Commit message (Collapse)AuthorAgeFilesLines
* Add addMetaDir(File) in JackBasedToolchainJean-Marie Henaff2015-06-184-1/+33
| | | | | | | Bug: 21722784 (cherry picked from commit 459a4a32942aec2634967cd54cace98452d478f2) Change-Id: Ia19cd3687da55af6f62299f17100ddabebae86c7
* Rename addResource() to document it expects a directoryJean-Marie Henaff2015-06-181-2/+2
| | | | | | (cherry picked from commit b9afd7d44558114893933c2d9168607030ff7ae4) Change-Id: If366d939c72dd167b4aff315033fe74fc9741804
* Adapt FileAccessErrorTest to support CaseInsensitiveFSBenoit Lamarche2015-06-171-3/+3
| | | | | | | | | | | 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-171-32/+47
| | | | | | | Bug: 21486756 (cherry picked from commit 2b27649753700cc3ab6194afc51f8192c472d241) Change-Id: I69da6542c52940f13b6304675e8324386bb4228f
* Adapt ResourceTests to support CaseInsesitiveFSBenoit Lamarche2015-06-171-2/+2
| | | | | | Bug: 21486756 Change-Id: I3f0e0b7d6a2511b08129bff4bc34a0ba54aead4e (cherry picked from commit 973a373d8fc030c0ea3e8f6113caa29be3776454)
* Adapt ClasspathTests to use InputJackLibraryBenoit Lamarche2015-05-291-0/+10
| | | | | | (cherry picked from commit 860b271f80ccbd6d283fe671444a9c89c0ff892d) Change-Id: Icdbad809fdfdfdacaa5c63c9b7812846fd7390c7
* Adapt incremental tests to use InputJackLibaryBenoit Lamarche2015-05-291-35/+37
| | | | | | (cherry picked from commit 097b5d6e807b250847ec9ff27f4a7ac7a336620f) Change-Id: I954bb80fe35fcc59043665400dd8331e2153427b
* Modify Api01Config and Jack to support multiple Jarjar config filesJean-Marie Henaff2015-05-128-19/+28
| | | | | | | | Bug: 20913411 (cherry picked from commit 517dec6fa299a3755f38681b3fcea387c84873f0) Change-Id: If9c1e8f827e8ed3fd68c4999a8700608a95ce7c9
* 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
* | Explicitely ignore some tests with Jill test toolchainJean-Marie Henaff2015-04-291-1/+12
| | | | | | | | | | Bug: 20157629 Change-Id: I91bfcf55377cfdabaa0f52eede4e41cf5748d7c5
* | Remove use of SchedLib utility class from test frameworkJean-Marie Henaff2015-04-281-3/+3
|/ | | | Change-Id: Ie8abe5be6dbd2e8ec61fb3bde40144ab3b041762
* Fix mapping comparison order in shrob testsJean-Marie Henaff2015-04-278-18/+20
| | | | | | | | | | - 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
* Definitely remove setShrobFlags method from test frameworkJean-Marie Henaff2015-04-232-12/+0
| | | | Change-Id: Ib5713ece24bb803b525b2e9e188422a807d12787
* Modify AbstractTestTools api to detect error at compile timeJean-Marie Henaff2015-04-161-7/+6
| | | | | | Do for reference toolchain what's already been done for candidate toolchain. Change-Id: I375cf829e24040cdcad1b4f79c8c436915ffd38a
* Modify AbstractTestTools api to detect error at compile timemikaelpeltier2015-04-091-5/+5
| | | | Change-Id: Id88be0584579d551e40d95704320dcf0ede87610
* Fix bad redirection into test toolchainmikaelpeltier2015-04-093-16/+16
| | | | Change-Id: Ibb281abf5d0c8c348094a923b708de8f7fe32267
* Accept more tests to run with cli-based ToolchainsJean-Marie Henaff2015-03-172-2/+34
| | | | | | | About 200 tests were skipped with those toolchains. Try to reduce this number. Change-Id: I7713638275ca5fa1569dd141c367a683e9c330ae
* Load default libraries from jack.jarYohann Roussel2015-03-173-1/+2
| | | | | | | | For now the only default library contains the jack annotations. The default libraries can be ignored by "--no-default-libraries". Bug: 17803510 Change-Id: I0eb0c1a535e1d4ff808c744ba7c1924e4dd4aee6
* Support spaces in runtime.list property of test configurationJean-Marie Henaff2015-03-121-2/+6
| | | | Change-Id: I19d1c47d79306646d6352a51762656982e30d117
* Rework Jack API, add better control over versioningJean-Philippe Lesot2015-03-112-49/+56
| | | | Change-Id: I1afa95dae0177c19891c3669a672bd5481191dba
* Move all classes of DexComparator project into comparator packagemikaelpeltier2015-03-1112-31/+45
| | | | | | - Replace also occured by occurred into all toolchains Change-Id: I47e8fba64573509ea8372cfc5ddfae5639036c7a
* Merge "Instantiate JackConfing in same ClassLoader for API test Toolchain" ↵Jean-Marie Henaff2015-03-101-8/+12
|\ | | | | | | into ub-jack
| * Instantiate JackConfing in same ClassLoader for API test ToolchainJean-Marie Henaff2015-03-101-8/+12
| | | | | | | | Change-Id: Ib9a4b90a2706d408c961a60d3149d3ab0ad69b83
* | Merge "Jack support for annotation processor." into ub-jackYohann Roussel2015-03-108-39/+103
|\ \ | |/ |/|
| * Jack support for annotation processor.Yohann Roussel2015-03-108-39/+103
| | | | | | | | | | | | | | Does not include any support for including class files generated by annotation processors. Change-Id: Id4006301d588875f822ff84fa90db10fd616ab00
* | Create jack-api-src.zipJean-Marie Henaff2015-03-101-2/+1
|/ | | | | | Also remove example from jack-api.jar. Change-Id: I4cfb569cada64cfd03f1413994f68969e7af8ab3
* Implement Api01Configmikaelpeltier2015-03-091-5/+46
| | | | Change-Id: I455d060994c59fecf5dbad2a1b4ff0905cb7df61
* Revert "Revert "Start using jack-api for jack API based test toolchains""Jean-Marie Hénaff2015-03-097-322/+355
| | | | | | This reverts commit b43732ee3d9f9ffcd7595ab657e4c683a1751b3a. Change-Id: Id9fbfcd8f7aebca1136bfcbbf9e37359dc42a19d
* Add property for reporter streammikaelpeltier2015-03-092-1/+10
| | | | | | Bug: 18546725 Change-Id: Ie91b463bfb494f9608c4ea68316ac086bda64058
* Revert "Start using jack-api for jack API based test toolchains"Jean-Marie Hénaff2015-03-067-355/+313
| | | | | | This reverts commit d235ed6f21b7b21aefb4b066b0c64acfa2bbb229. Change-Id: Idceeda07056275eb887d42a5aa75b624024554e0
* Start using jack-api for jack API based test toolchainsJean-Marie Henaff2015-03-067-313/+355
| | | | | | Implementation is still to be done. Change-Id: I010ab9f00f4c00275982d4abfcbf6c94248f3fb4
* Separate Jack.run() between Jack.check() and Jack.run()Benoit Lamarche2015-03-031-4/+4
| | | | | | Also add Api01ConfigImpl. Change-Id: Id71e368072fde3dc61722cbce7fc18618f3ff8aa
* Remove JackBasedToolchain.addEcjArgsYohann Roussel2015-03-033-19/+0
| | | | Change-Id: I3e262be2f9f91dc29688bb8bb3255322087879c9
* Separate input options from ecj optionsYohann Roussel2015-03-021-3/+5
| | | | Change-Id: I60feeca57f9b88c8813cc3048733210fecf44484
* Remove some Findbugs warnings in test framework sourcesJean-Marie Henaff2015-02-242-2/+7
| | | | Change-Id: I0c0c039b5bc235bff5972f4f8e8f96e3faf7c83b
* Fix LegacyJillToolchain in jack-testsJean-Marie Henaff2015-02-189-63/+307
| | | | Change-Id: Ib9d9f88e1edc231be58125bca9ac71b7af88990f
* Fix LegacyToolChain with ecj and source list filesJean-Marie Henaff2015-02-181-4/+1
| | | | Change-Id: I28242ab9507055c6688e2a1b8fc1d5d99dfff252
* Remove default bootclasspath in legacy compilers for testsJean-Marie Henaff2015-02-163-6/+12
| | | | | | Classpath is explicitely passed by each test. Change-Id: Id492cd9b515ed489291fb3a6e0a3693704774208
* Merge "Add support for source list files with jackApiToolchain" into ub-jackJean-Marie Henaff2015-02-091-3/+22
|\
| * Add support for source list files with jackApiToolchainJean-Marie Henaff2015-02-091-3/+22
| | | | | | | | Change-Id: I782b7092be31db745bce4f5ea5e88b59a6d2e15f
* | CheckStyle passJean-Marie Henaff2015-02-092-2/+2
| | | | | | | | Change-Id: Iad1d4b81fcaca5375dc769b45f22a2b4cb2cc816
* | Add a test that fails with --incremental-folder, --import and --multi-dexmikaelpeltier2015-02-061-2/+9
|/ | | | | Bug: 19291536 Change-Id: I38b3c3c0715d6513c0cf796df3eba7bdd4b2e468
* Merge "Change handling of classpath in compilation in test framework" into ↵Jean-Marie Henaff2015-02-0410-65/+100
|\ | | | | | | ub-jack
| * Change handling of classpath in compilation in test frameworkJean-Marie Henaff2015-02-0310-65/+100
| | | | | | | | | | | | | | Make classpath an optional parameter. This change leads to simpler calls to compilation methods. Change-Id: Ia8a5e1bf13bfe9690a838784922622d3f3f148d7
* | Fix misnamed variable in Dalvik host test runnerJean-Marie Henaff2015-02-031-2/+5
|/ | | | Change-Id: Iac239bf84051b824079a8712a9e2c48b74a94976
* Remove usused prebuiltsJean-Marie Henaff2015-02-021-2/+3
| | | | Change-Id: Ief06b1255a3e5954eaeb2c378e8ac98b2b66d7d9
* Merge "Enable assertions in Ant test tasks and force sanity checks" into ub-jackJean-Marie Henaff2015-02-023-0/+18
|\
| * Enable assertions in Ant test tasks and force sanity checksJean-Marie Henaff2015-02-023-0/+18
| | | | | | | | Change-Id: Iac9ce0334d21c727a6086bb0c0a1dc426b0ac82b
* | Fix redirection in DeviceRunnerJean-Marie Henaff2015-01-301-25/+34
|/ | | | | | | | | | | | Redirection requested by user is only active for the test which is executed, and not all the device setup commands. Thus tests that rely on output comparison are more likely to work since not polluted by extra output. I also fixed a path issue due the change done in test properties for jack.home. Change-Id: I2c7d758946d03ac3efa7db08566bd37ae98b373e