-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Over at the CASUAL-Dev project I forked libpit--Java- and revised it. When I began working with it, it was barely functional and could not read what it wrote out.
Changes:
Implemented result-based testing
added unknowns
set data lengths to proper size
updated names of variables
updated names of getters and setters
added convenience constructors
add the ability to sign pit files from an original file
Added a new PitFormatException
Implemented testing based on my own changes
Challenges during merge:
The best merge strategy would likely be replacement of existing files.
You will need to change the "package CASUAL.archiving.libpit;" at the top of each file.
To add test code, place the test code anywhere, change the package reference and change the relative reference to "../test/CASUAL/network/CASUALDevIntegration/resources/sch-i535-32gb.pit" to your own package.
Source can be found here: https://code.google.com/p/android-casual/source/browse/#svn%2Ftrunk%2FCASUALcore%2Fsrc%2FCASUAL%2Farchiving%2Flibpit
Test Code can be found here: https://code.google.com/p/android-casual/source/browse/trunk/CASUALcore/test/CASUAL/archiving/libpit/PitDataTest.java
Test Code subject can be found here: https://android-casual.googlecode.com/svn/trunk/CASUALcore/test/CASUAL/network/CASUALDevIntegration/resources/sch-i535-32gb.pit