Bug #3443
Android unit tests broken
Start date:
Due date:
Estimated time:
Affected version:
5.8.4
Resolution:
Fixed
Description
Commit 2ef473be15320a6bed23702f1481ba6b2020eb4a updated utils/IPRange.java to use a libandroidbridge.so helper function parseInetAddressBytes instead of java methods. This breaks some junit tests in IPRangeTest.java and IPRangeSetTest.java because the unit tests don't load the NDK libraries. This in turn causes a "./gradlew build" to fail.
History
#1 Updated by Tobias Brunner over 5 years ago
- Status changed from New to Feedback
Thanks for the report. I pushed a fix to the 3443-android-tests-mock branch. Let me know if that works for you.
#2 Updated by Aaron Brice over 5 years ago
Yes, works great. "./gradlew build" works on a clean tree now.
#3 Updated by Tobias Brunner over 5 years ago
- Tracker changed from Issue to Bug
- Status changed from Feedback to Closed
- Assignee set to Tobias Brunner
- Target version set to 5.9.0
- Resolution set to Fixed
Yes, works great. "./gradlew build" works on a clean tree now.
Great, thanks for testing. I'll include the fixes when I merge the changes for #3364.