I was just trying to create an TestFX test where I changed the a preference (such as which is the most recent repo), but doing it without breaking my experience as a regular Elegit user. The tests already ignore the user's normal preferences, but adding a preference before Elegit starts is hard. For that matter, the prefs in Elefit are kind of a mess; they're supposed to be associated with a class, but it's somewhat all over the map which class we're using. Clean this up, and generate a TextFX test that changes a preference before it starts.
The commit where I have the test I started to write is 1852ec9.
I completed this as part of helping the tests to run in parallel. All tests (so long as they call the right initialization code) now store their preferences in a sandbox.
I was just trying to create an TestFX test where I changed the a preference (such as which is the most recent repo), but doing it without breaking my experience as a regular Elegit user. The tests already ignore the user's normal preferences, but adding a preference before Elegit starts is hard. For that matter, the prefs in Elefit are kind of a mess; they're supposed to be associated with a class, but it's somewhat all over the map which class we're using. Clean this up, and generate a TextFX test that changes a preference before it starts.
The commit where I have the test I started to write is 1852ec9.