itaybia
087142d4cf
fix wrong HTML start/end tags in strings.xml ( #2631 )
...
* fix wrong HTML start/end tags in strings.xml
2021-08-30 21:15:23 -04:00
Cody Lund
8d59882e5f
Fix: numeric string meta-data value corruption ( #2612 )
...
* Fix: handle numeric strings in manifest meta-data value
* fix regex
* scoped solution
* improve comment
Co-authored-by: Cody Lund <colund@microsoft.com>
2021-08-17 07:01:08 -04:00
Connor Tumbleson
468ead8f10
test: add testcase for static field values
2021-03-28 07:44:16 -04:00
Connor Tumbleson
785cb4f89d
test: add High Brightness Symbol into tests for feature test against #2299
2020-12-11 07:06:14 -05:00
Connor Tumbleson
6bd1ab603b
test: add triple dex test to aapt1
2020-11-27 10:51:54 -05:00
Connor Tumbleson
5658c959b4
test: add triple dex test on aapt2
2020-11-27 10:51:54 -05:00
Connor Tumbleson
231ce72483
test: add more tests for #2386
2020-11-27 09:22:41 -05:00
Connor Tumbleson
d6f84df00b
fix: leading 0s not supported in aapt anymore
2020-11-27 09:22:41 -05:00
Comnir
ecbcfb437e
match test apk name with the relevant issue.
2020-06-09 07:08:22 -04:00
Comnir
306959a6fb
fix the usage of debug flag (-d) when using aapt2
...
- when using aapt and debug flag, we remove the 'debuggable' attribute from AndroidManifest and aapt adds it back. (see issue 1621)
- when using aapt2 and debug flag, we add and set the value of 'debuggable' attribute ourselves.
2020-06-09 07:08:22 -04:00
Peter Retzlaff
05f81f9dd0
Change zero-byte-file tests so they test the correct behavior.
...
* The empty test file needs to be STORED in the testapp, so put it on
the initial doNotCompress list.
* It needs to have a file extension that matches the NO_COMPRESS_PATTERN.
* assertNotSame tests for object equality, which doesn't work for String
comparisons.
2020-06-09 07:05:43 -04:00
Daniel Malmqvist
dc312a5336
Fixes issue with decoding apk containing a zero byte 9patch
2019-09-19 13:34:06 +02:00
Daniel Malmqvist
d79724549c
Added new option to skip non classes[0-9]*.dex files
2019-07-14 07:17:20 -04:00
Adib Faramarzi
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
Connor Tumbleson
25a65186a9
test: add "android:appCategory=game
" into AndroidManifest.xml
...
- refs: #2055
2019-05-07 18:12:53 -04:00
Connor Tumbleson
3037024022
test: add 32,767 byte string for aapt2
...
- https://issuetracker.google.com/issues/73456167
2019-04-26 14:11:41 -04:00
Connor Tumbleson
4030e94cb3
test: aapt2 test for raw qmg file
2019-04-26 11:14:51 -04:00
Connor Tumbleson
bc7302a52b
test: assert that vertical/horizontal divs are added if missing
2019-02-17 13:07:32 -05:00
Vincent Barthelemy
72368fc0d4
bug: reproduce the bug were array resources are decoded as style bag
2019-01-29 10:06:32 +01:00
Connor Tumbleson
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
Connor Tumbleson
c833a32a6e
style: syntax changes for review
2019-01-04 18:05:51 -05:00
Connor Tumbleson
af4a506567
fix: add aapt1/aapt2 xsd file
2019-01-04 17:45:36 -05:00
Connor Tumbleson
0dfa6c4656
test: add test to ensure empty ids.xml are generated for aapt1/aapt2
2019-01-03 16:56:25 -05:00
Connor Tumbleson
859b7c6d3f
test: updates aapt2 tests to handle the new "compileSdk" attributes
2018-09-02 09:55:49 -04:00
Connor Tumbleson
7a481f68e0
test: updates aapt1 tests to handle the new "compileSdk" attributes
2018-09-02 09:39:07 -04:00
Connor Tumbleson
abdd536a18
test: add aapt1/aapt2 tests for "0byte" files
2018-07-20 15:21:44 -04:00
Connor Tumbleson
39ab6b636b
test: add "$" leading resource test
2018-06-14 16:30:16 -04:00
Connor Tumbleson
06aa8db942
test: navigation resource test added
2018-06-12 08:22:10 -04:00
Connor Tumbleson
ba9b532283
test: add a test to confirm that mp3 file is stored (not compressed)
2018-04-12 12:00:38 -04:00
Connor Tumbleson
de730ff774
test: move all resources outside of brut/apktool folder
2018-04-03 07:23:32 -04:00
Connor Tumbleson
1713495ea7
aapt2: move test resources to math structure of tests
2018-03-05 11:00:47 -05:00
Connor Tumbleson
a693f316e0
aapt2: add test to confirm pkgId of 0x80
2018-03-05 10:29:58 -05:00
Connor Tumbleson
8ae5d529cb
aapt2: patch yml files to have proper forcedPackageId param
2018-03-05 10:29:20 -05:00
Connor Tumbleson
09148902ef
aapt2: start of tests for aapt2
2018-02-28 13:27:13 -05:00
Connor Tumbleson
593b357ed1
support test for lib/libs folder
2018-02-22 11:22:41 -05:00
Connor Tumbleson
828ba8aef3
aapt2: kill off aapt1 testsuite, rebuild from scratch
2018-02-22 11:22:40 -05:00
Connor Tumbleson
f57c73d421
aapt2: copy "BuildAndDecodeTest" to aapt2 for temporary testing
2018-02-22 11:22:40 -05:00
Connor Tumbleson
34a2d03b31
Support for applications with an empty resources.arsc file
...
- fixes #1730
2018-02-19 06:45:48 -05:00
Connor Tumbleson
bca474272e
Support for rebuilding root depth kotlin folder
...
- refs: #1703
2018-02-07 09:42:56 -05:00
Connor Tumbleson
895af9c975
refactor test
2017-12-14 14:07:32 -05:00
Connor Tumbleson
2838d292a0
new test apk
2017-12-14 10:55:35 -05:00
Connor Tumbleson
7d22fc66b5
Initial testing of private namespace
...
- added sample (removed attribute names)
2017-12-14 10:55:35 -05:00
Connor Tumbleson
d46ba2fb82
add small test for #1157
2017-12-13 14:41:36 -05:00
Connor Tumbleson
23486830a9
Passing test for #1587
...
- fixes #1587
- refs: 0fa6418553
2017-12-07 17:10:30 -05:00
Connor Tumbleson
d414bbd3b4
add unit-tests for 1680
2017-12-07 16:38:38 -05:00
Connor Tumbleson
ee2b7206f1
Add test for #1674
2017-11-29 07:43:45 -05:00
Connor Tumbleson
f0f87c844e
Adds ability to skip asset files
...
- fixes #1605
- prevents rebuild
2017-09-19 15:51:04 -04:00
Connor Tumbleson
a0ae7eaea8
Skip any file attempting to use relative paths
...
- fixes #1589
2017-09-03 18:12:57 -04:00
Connor Tumbleson
67b2325136
add font test
2017-08-24 22:49:43 -04:00
Connor Tumbleson
800394cf30
new qualifiers require v26 naming
2017-08-23 17:53:33 -04:00