Connor Tumbleson
959b6de063
fix: support COMPACT/OFFSET16 packed resources. ( #3372 )
...
* fix: support COMPACT/OFFSET16
* fix: properly read specNamesId from compact resources
* fix: properly read OFFSET16 in entries
* test: add assertions for compact/offset16 sample
* refactor: extract flags out of private functions
2023-10-06 07:22:02 -04:00
Connor Tumbleson
445da0e658
Move to XMLUnit Legacy ( #3235 )
...
* build: migrate to xmlunit 2.9.1
* feat: opt into xxe protection for test suite
2023-07-30 13:48:26 -04:00
Connor Tumbleson
ab7998439e
"--no-compile-sdk-metadata" tests. ( #3220 )
...
* refactor: move loadDocument() to base
* test: confirm manifest properties are removed/left-alone
* chore: remove unused imports
2023-07-25 07:29:53 -04:00
sv99
a7e2e3e5e1
Extract into ApkInvoker and split into data classes. ( #3124 )
...
* extract AaptInvoker and rename MetaFile to ApkInfo, all decode methods from AndrolibResources moved to the ApkDecoder
* extract ARSCData and FlagsOffset from ARSCDecoder and remove unused imports
* rebase to master
* move decodeManifest and decodeResources to the ResourceDecoder
* remove commented old code
2023-07-03 18:38:52 -04:00
sv99
9c495cae29
Move build functions from Androlib to the ApkBuilder ( #3103 )
2023-06-27 08:25:27 -04:00
Goooler
e25c3636ff
Update docs & licenses to use https
2021-08-26 07:40:32 -04:00
Connor Tumbleson
66b1c30fa0
style: use new form of junit assertions
2021-05-31 06:43:40 -04:00
Connor Tumbleson
3f831c8221
refactor: copyright year should be year started, not current year
2020-04-11 06:33:05 -04:00
Frieder Bluemle
81ca785e02
Fix file header comment format
2020-02-29 17:37:46 -08:00
Connor Tumbleson
25a1cb02ef
fix: License 2019 update
2019-07-13 12:19:41 -04:00
Connor Tumbleson
b49bba19e4
test: don't enforce attribute order or compare attributes that don't exist
2018-09-02 09:37:59 -04:00
Connor Tumbleson
b7d33cb623
style: update license headers that are missing 2018
2018-08-23 16:14:24 -04:00
Connor Tumbleson
923ae6e9b8
Revert "tests: refactor tests to use assertEquals instead of hacky assertTrue"
...
This reverts commit d6e3d013e7
.
2018-04-06 14:58:48 -04:00
Connor Tumbleson
d6e3d013e7
tests: refactor tests to use assertEquals instead of hacky assertTrue
2018-04-05 17:07:55 -04:00
Connor Tumbleson
722870e6b9
aapt2: don't init XMLUnit if not using the full xml diff
2018-03-05 10:29:44 -05:00
Connor Tumbleson
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
Connor Tumbleson
dc9d1866a5
test: rewrite test suite to use BaseTest extending
2018-02-22 11:22:41 -05:00