aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2017-04-14Refactor navigator poll rate limitingHarry Jeffery
2017-04-14Refactor navigator to new styleHarry Jeffery
2017-04-14Refactor loader to new styleHarry Jeffery
2017-04-12Add generic list containerHarry Jeffery
2016-05-01Make imv_navigator_add() return an integer valueDmitrij D. Czarkoff
In case of error return non-zero value instead of cleaning up navigator. This way main loop may do some more cleanup, or maybe even act differently.
2016-04-26Reimplement '-x' flagDmitrij D. Czarkoff
This change effectively backs out f1737ddd06141afbe99f37af3b5c2d0f1df5fe7a, implementing the same functionality in a simpler and more correct way. Implementation details: * imv_navigator.wrapped - a new field that has value "0" by default; once navigator wraps around the list, this field recieves value "1". * imv_navigator_wrapped(&nav) - a new function that returns non-zero value iff navigator wrapped around the list. Currently just returns value of imv_navigator.wrapped. While at it, expanded "test_navigator_remove" and merged it with "test_navigator_add". Resulting test is called "test_navigator_add_remove". Fixes #94.
2016-04-26Testcase for removal from navigatorDmitrij D. Czarkoff
Test that removing items leads to predictable results. Right now test is fairly incomplete, because it does not cover moving in reversed direction.
2016-04-26Add vim modelinesDmitrij D. Czarkoff
2016-02-21Add test to check for EXIF rotation of JPEG imagesDmitrij D. Czarkoff
2016-01-06Add test for file change detectionDmitrij D. Czarkoff
2016-01-06Fix navigator_add testDmitrij D. Czarkoff
It was not fixed after imv_navigator_poll_changed() function was changed.
2015-12-08Add testing infrastructureHarry Jeffery