William Ting
6f887a2000
fix unit tests to match new decrease calculation
2013-02-24 23:55:29 -06:00
Xavier Lepaul
b8901586cb
adding option to decrease weight
...
added a new option, -d/--decrease to decrease the weight of a path.
added --increase as an alias to --add for symetry.
2013-02-24 20:52:09 -08:00
William Ting
f41d0fb7b3
Remove database migration code support for v17 and older.
...
The migration code was never working to begin with. Users migrating from v17 or
older will be starting from an empty, new database.
2012-06-23 13:21:24 -10:00
William Ting
f29876b202
Fix #130 : Use temporary directory for unit tests.
2012-06-10 20:50:18 -10:00
William Ting
05026ff54e
break db load into smaller functions, load backup if opening primary db fails
2012-05-28 09:44:09 -10:00
William Ting
b00e0e85e1
Fix #123 , new installations were not initializing database properly.
...
Also added unit test coverage to check database initialization, saving, and
loading. Unit tests also revealed that migration code was not working properly
(starts database from scratch instead of copying existing entries over).
2012-05-28 09:21:31 -10:00
William Ting
867be37543
remove tmp files created from unit tests
2012-05-27 13:35:47 -10:00
William Ting
e62e720765
move config back to global space
2012-05-12 17:00:38 -10:00
William Ting
f25d7ba996
add unit tests, run using: make test
2012-05-12 16:31:58 -10:00