| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a problem with the DexClassLoaderTest where oat files from
previous tests were being cached and reused for later tests. Now each
test uses its own directory for loading-test.dex and friends so they
are treated as separate dex files from test to test.
As part of this fix, the helper functions for the tests were
reorganized.
Bug: 21033982
Change-Id: I66d011109259c0c3688b64b083d4ef1ed70feae2
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't create an empty file if test resources are unavailable,
fail instead.
- Only enumerate ".dex" files in the optimized directory - leave
out things like ".flock" files etc.
Partial fix for...
bug: 21033982
Change-Id: Icf00d4d35f23a1927ea034fdf0ab8ea01f16fe0c
|
|
|
|
|
|
|
|
|
|
| |
Because the tests cases are executed in the same runtime and the class
linker may cache generated optimized files, init tests need to use their
own optimized directories (so that they can reliable test the number of
generated files).
Bug: 16806146
Change-Id: I8e784397c0d1e71a5e89eac8adc7796283c0e635
|
|
|
|
|
|
| |
NoClassDefFoundError is the RI behavior.
Change-Id: Ia03b585def9f772aeb17f1cdec4da2d0c807ede3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unpadded array allocations avoid unused bytes following arrays. API conventions
follow those of newNonMovableArray.
Dalvik implementation assume dlmalloc allocation properties, ART implementation
is handled by resizing the array post-allocation:
https://android-review.googlesource.com/83670
Add VMRuntimeTest to check the properties of the array allocation routines.
Change java.lang.reflect.Array.newInstance to compare more probable array types
before less probable ones.
Bug: 13028925.
Change-Id: Icf6bfb1aa5ad4faa062b393082c689b6118a84b5
|
|
|
|
|
|
|
|
|
| |
Vogar will use a different directory if it can't find the directory that
cts uses.
(cherry picked from commit b1bf327890ba2e44f9681f9b5baa3cced6f46a03)
Change-Id: Idb94822c5d7628bd44d86d28ecf271a7dbf0ee9b
|
|
|
|
|
|
|
|
|
|
|
| |
Dalvik has always gotten this wrong in JNI. The JNI test validates this
bogus behavior. When we fix bug 5652725 we should flip this test.
Bug: http://b/5652725
(cherry picked from commit 869d688ff420133d88647c375fd225920ffcecda)
Change-Id: I44b7b53eb9704ddebdae0c824a4fc4234b7fbe03
|
|
|
|
|
|
| |
Change-Id: Ibf2051fae4b5026a4a14fcdc27be71415520d117
(cherry picked from commit cd8016c67b7f215bf374467257ede53197c44423)Conflicts:
|
|
|
|
|
| |
Bug: 5410715
Change-Id: Ifde74c42105e8c408e0073953e5b0bf91ec86414
|
|\
| |
| |
| |
| | |
* commit 'a186c233345c9cc0c7864dc5bd466c4d8413de6c':
I meant assertEquals().
|
| |
| |
| |
| | |
Change-Id: I37c5859dea0bc33eb7271446eddf9548fbbe180a
|
|\ \
| |/
| |
| |
| | |
* commit '6f42688fdc1389ed10d611c51aabc6034174db5a':
Clean up test and expand slightly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In particular:
* Added a test to make sure that optimized dex files are being generated
where expected.
* Made all the helper methods private.
* Removed the "static" declaration from two test methods.
Bug: 3439372
Change-Id: I7d67169304072330f504bb90af3bf4ac09eeb165
|
|\ \
| |/
| |
| |
| | |
* commit 'ec80ed70b9790785bd70b9482ec94e7dea09fd48':
Fix the test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It now uses an explicit "optimized" directory for optimized dex files,
so that there is no danger of trampling an unoptimized dex file during
the course of the test.
Bug: 3439372
Change-Id: Ie45ab5fde5e55dda06cdf5a23831abc80f8aab18
|
|\ \
| |/
| |
| | |
Change-Id: Ic6f0172767d6feedb188d3a5e7488a67702ef8c4
|
| |
| |
| |
| | |
Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
|
|/
|
|
|
|
|
|
|
| |
The test was sporadically failing, because the VM doesn't ever unload
dex files, and the same file would get truncated and rewritten. If
the VM got asked the right question at the right time, it would find
itself staring at a truncated dex file.
Change-Id: Id9f2ea791b6974a40ce6937d6e54137c78dc7f98
|
|
|
|
|
|
|
| |
There are now several tests for each combo in the cross-product of
{dex, jar} x {one file, two files}.
Change-Id: I18057471d51a118af6861b4da7d9e42c9f6fda9e
|
|
|
|
| |
Change-Id: I25e5fccac4c025e35d45d4920d9f2308c658ec53
|
|
|
|
|
|
|
| |
(My last patch demonstrated this deficit in the test, not an actual bug
in resource handling.)
Change-Id: Ia4f6a2e747af870e362a0f41e4e641a4ef488a31
|
|
|
|
|
|
| |
This demonstrates that there is an issue with resource handling.
Change-Id: I2a33b6fd6f2be2e1d1879d539c86ecbb8e5b198c
|
|
|
|
|
|
|
| |
* Added a same-loader resource reading test.
* Rearranged the main test class to be a little clearer.
Change-Id: I7e85685245800dbdf6e3925390840d18e5ae4222
|
|
|
|
|
|
|
| |
It also demonstrates that loading from a raw dex file doesn't yet
work!
Change-Id: I2b0ccd517edd052d374af8d0762c8f1f8734720f
|
|
|
|
|
|
| |
(How do you eat an elephant? One bite at a time.)
Change-Id: Ibf2fd6794e05133642c7426fe4608d2b5a4b7592
|
|
|
|
| |
Change-Id: Ic00cbcdbda15a151b0080e097e74e39ca32d0a32
|
|
To be expanded, soon!
Change-Id: Iecdcc9ff8cc8560c7e3bd9720b2fbe9c1e9ed8a9
|