Commit Graph

246 Commits

Author SHA1 Message Date
4aa933b31a test: ensure we don't allow path traversal with win 2019-07-18 07:42:34 -04:00
342661cbaa fix: correct license header on "DuplicateDexTest" 2019-07-14 07:30:41 -04:00
9edcc78ee5 style: clean test file 2019-07-14 07:29:32 -04:00
d79724549c Added new option to skip non classes[0-9]*.dex files 2019-07-14 07:17:20 -04:00
25a1cb02ef fix: License 2019 update 2019-07-13 12:19:41 -04:00
5f43a1fbca style: cleanup formatting 2019-06-01 09:27:41 -04:00
cfd50acd1d Add unit tests
- add APK file containing a simple app that tries to use coroutines every 2 seconds, and would fail with earlier versions of APKTool
- add unit test for decoding the app
2019-05-30 22:12:57 +04:30
25a65186a9 test: add "android:appCategory=game" into AndroidManifest.xml
- refs: #2055
2019-05-07 18:12:53 -04:00
3037024022 test: add 32,767 byte string for aapt2
- https://issuetracker.google.com/issues/73456167
2019-04-26 14:11:41 -04:00
4030e94cb3 test: aapt2 test for raw qmg file 2019-04-26 11:14:51 -04:00
95fe0f3f02 test: assert SDK_Q works with insane test value (10,000) 2019-04-24 18:46:48 -04:00
bc7302a52b test: assert that vertical/horizontal divs are added if missing 2019-02-17 13:07:32 -05:00
72368fc0d4 bug: reproduce the bug were array resources are decoded as style bag 2019-01-29 10:06:32 +01:00
cfea3e0831 build: initial attempt at getting travis windows support
build: force windows onto the bash environment

build: update permission (+x) of clean-test file

build: "bat" instead of "exe" extension

build: attempt to support long-path names on windows

build: another attempt at long filepaths on windows

build: force +x on scripts prior to execution

build: exit with return code of last command

build: dump out current path

build: dump out current path - part 2

fix: remove 5 chars from path to drop down from 260 windows max path

build: correct gradlew.bat path and remove unneeded lines

fix: remove long path global configuration

fix: restore PATH setting for windows env

build: PATH resets between scripts, fix for windows
2019-01-09 17:43:40 -05:00
c833a32a6e style: syntax changes for review 2019-01-04 18:05:51 -05:00
39faff0a21 test: allow aapt2 xsd test to run 2019-01-04 18:00:33 -05:00
a5cfe41a8f test: add test for aapt1/aapt2
- ignore aapt2 due to failure
2019-01-04 17:45:51 -05:00
af4a506567 fix: add aapt1/aapt2 xsd file 2019-01-04 17:45:36 -05:00
0dfa6c4656 test: add test to ensure empty ids.xml are generated for aapt1/aapt2 2019-01-03 16:56:25 -05:00
bec8778d7a tests: update platformBuild* values to inherit from AndroidManifest 2018-12-18 18:07:40 -05:00
859b7c6d3f test: updates aapt2 tests to handle the new "compileSdk" attributes 2018-09-02 09:55:49 -04:00
7a481f68e0 test: updates aapt1 tests to handle the new "compileSdk" attributes 2018-09-02 09:39:07 -04:00
b49bba19e4 test: don't enforce attribute order or compare attributes that don't exist 2018-09-02 09:37:59 -04:00
b7d33cb623 style: update license headers that are missing 2018 2018-08-23 16:14:24 -04:00
abdd536a18 test: add aapt1/aapt2 tests for "0byte" files 2018-07-20 15:21:44 -04:00
4bda4674f9 test: use correct "new" variable for tests 2018-07-20 15:20:39 -04:00
eecfc18c82 fix: add another example aapt1 version string 2018-07-02 11:37:55 -04:00
39ab6b636b test: add "$" leading resource test 2018-06-14 16:30:16 -04:00
06aa8db942 test: navigation resource test added 2018-06-12 08:22:10 -04:00
3879b90f76 test: add test for various aapt2 version strings 2018-04-19 17:10:10 -04:00
ba9b532283 test: add a test to confirm that mp3 file is stored (not compressed) 2018-04-12 12:00:38 -04:00
a073bad32d Revert "tests: update test to use new "noCompressAssets" property"
This reverts commit 653472d006.
2018-04-06 14:58:56 -04:00
923ae6e9b8 Revert "tests: refactor tests to use assertEquals instead of hacky assertTrue"
This reverts commit d6e3d013e7.
2018-04-06 14:58:48 -04:00
d6e3d013e7 tests: refactor tests to use assertEquals instead of hacky assertTrue 2018-04-05 17:07:55 -04:00
653472d006 tests: update test to use new "noCompressAssets" property 2018-04-05 17:07:55 -04:00
e679d71615 test: rename all resources towards new location 2018-04-03 07:24:00 -04:00
de730ff774 test: move all resources outside of brut/apktool folder 2018-04-03 07:23:32 -04:00
1713495ea7 aapt2: move test resources to math structure of tests 2018-03-05 11:00:47 -05:00
a693f316e0 aapt2: add test to confirm pkgId of 0x80 2018-03-05 10:29:58 -05:00
722870e6b9 aapt2: don't init XMLUnit if not using the full xml diff 2018-03-05 10:29:44 -05:00
8ae5d529cb aapt2: patch yml files to have proper forcedPackageId param 2018-03-05 10:29:20 -05:00
646eb54102 aapt2: refactor testsuite
- split from aapt1/aapt2 (those that do building)
 - tests that just test decode (no aapt) split
 - categories for androlib/encdoers/util for various others
2018-02-28 15:11:39 -05:00
09148902ef aapt2: start of tests for aapt2 2018-02-28 13:27:13 -05:00
dc9d1866a5 test: rewrite test suite to use BaseTest extending 2018-02-22 11:22:41 -05:00
593b357ed1 support test for lib/libs folder 2018-02-22 11:22:41 -05:00
828ba8aef3 aapt2: kill off aapt1 testsuite, rebuild from scratch 2018-02-22 11:22:40 -05:00
9e5df69d17 aapt2: remove unneeded newline 2018-02-22 11:22:40 -05:00
f57c73d421 aapt2: copy "BuildAndDecodeTest" to aapt2 for temporary testing 2018-02-22 11:22:40 -05:00
34a2d03b31 Support for applications with an empty resources.arsc file
- fixes #1730
2018-02-19 06:45:48 -05:00
9fc1ede991 License 2018 update 2018-02-16 08:26:53 -05:00