Commit Graph

88 Commits

Author SHA1 Message Date
Antony Male 0ba6061e59 Move BootstrapperBase's autoLaunch to Start 2014-05-21 12:22:13 +01:00
Antony Male ac7c504d94 Write tests for the updated BoolToVisibilityConverter 2014-05-21 12:04:19 +01:00
Antony Male a2aa1e43b7 Allow MessageBox users to override text on individual buttons on a per-case basis 2014-05-21 11:48:48 +01:00
Antony Male 99f79d1e29 Add more unit tests for MessageBox, and convert to use more system types 2014-05-20 21:24:29 +01:00
Antony Male 2093d9c3cb Start writing unit tests for the MessageBox stuff 2014-05-20 21:24:28 +01:00
Antony Male 5823437a28 Support design-time application running 2014-05-16 09:46:16 +01:00
Antony Male 6b2c8d9583 Fix WindowManager tests 2014-05-13 17:57:15 +01:00
Antony Male bac99ab647 Refactor ValidatingModelBase slightly to support easier overriding 2014-05-13 17:56:54 +01:00
Antony Male b89c61a91e Move View into the Xaml namespace, so it's accessible through https://github.com/canton7/Stylet 2014-05-11 20:02:21 +01:00
Antony Male 0b75df35ef Rename Execute methods 2014-05-11 19:59:23 +01:00
Antony Male fc4a7fb61c Push coverage up to 99.7% 2014-05-10 20:11:02 +01:00
Antony Male a39bcfbadb Use Dispatcher instead of SynchronizationContext for synchronization.
It looks like the SynchronizationContext can now change on the same thread
(see http://msdn.microsoft.com/en-us/library/system.windows.basecompatibilitypreferences.reusedispatchersynchronizationcontextinstance%28v=vs.110%29.aspx)
meaning that we can no longer do a reference comparison between SynchronizationContext.Current
and the captured SynchronizationConext to check whether a dispatch is required.
It turns out we shouldn't have been doing this anyway.... So switch to using a Dispatcher,
which does support this stuff.

Additionally, Execute now uses an IDispatcher, which means the implementation can be switched
again in the future. It also makes unit testing easier....
2014-05-09 15:46:03 +01:00
Antony Male 4a527c75d6 Push code coverage up to 98.7%, including integration tests 2014-05-09 14:40:40 +01:00
Antony Male a96ec2a6e4 Add tests for CommandAction and EventAction 2014-05-09 13:59:38 +01:00
Antony Male 55b23a61ed Couple lines more coverage 2014-05-08 17:44:04 +01:00
Antony Male 1e76531e36 Add test code coverage for ValidatingModelBase 2014-05-08 17:37:33 +01:00
Antony Male d56f3b5c26 Rename IValidatorAdapter back to IModelValidator, as the latter is more description of its end use 2014-05-08 13:52:53 +01:00
Antony Male fe13725062 More unit tests, more code coverage 2014-05-07 17:48:00 +01:00
Antony Male fe377e3955 Provide a decent error if unbound generic type used as an abstract factory, and fill in more coverage 2014-05-07 16:22:51 +01:00
Antony Male 6d3a222249 Fix StyletIoC bug w/ singleton unbound generics, and improve coverage further 2014-05-07 16:11:15 +01:00
Antony Male 43fe090fa9 Add more unit tests 2014-05-07 13:20:36 +01:00
Antony Male d648b264d1 Improve unit test code coverage further 2014-05-07 08:37:48 +01:00
Antony Male 5cc0ee96d2 Fix some rakefile issues 2014-05-06 18:30:04 +01:00
Antony Male 4fa4133248 Improve unit test code coverage some more 2014-05-06 17:42:55 +01:00
Antony Male 3ecb0c38c8 Improve test coverage slightly 2014-05-06 13:11:51 +01:00
Antony Male 48e7de53a6 Fix some namespacing issues 2014-05-06 12:38:38 +01:00
Antony Male 77f1804724 Improve some error messages given by StyletIoC 2014-05-03 10:39:41 +01:00
Antony Male 44f1631a27 Fix bugs when using the StyletIoC syntax 'Bind(typeof(IInterface<>)).ToAllImplementations()' 2014-05-01 17:44:22 +01:00
Antony Male 4711e3fefa Fix tests involving changes to Execute 2014-04-24 12:58:09 +01:00
Antony Male 9e96e8c052 Rename Conductor<T>.Collections to Conductor<T>.Collection, and move Conductor<T>.Collections.Nagivation to Conductor<T>.StackNavigation 2014-04-24 08:11:21 +01:00
Antony Male f7210b8aa9 Rename IPropertyChangedBinding -> IEventBinding 2014-04-23 17:45:26 +01:00
Antony Male afe8b9c20f Remove tests which were no longer relevant, since Bind/BindWeak refactor 2014-04-23 17:44:55 +01:00
Antony Male c8e5ef3715 We can't use NotifyCollectionChangedAction.Add or Remove with a list of items, apparently 2014-04-23 17:41:20 +01:00
Antony Male 6eb9c6dbef Replace BindWeak with a WeakEventManager, and let Screen have an instance 2014-04-17 10:11:53 +01:00
Antony Male 6a1e8e688e Finish off having conductors with collections respond property to that collection being manipulated 2014-04-15 12:22:05 +01:00
Antony Male 0d3538c932 Document ViewManager a bit 2014-04-10 13:14:17 +01:00
Antony Male 4e887447d3 Add some unit tests for the navigating conductor 2014-04-07 12:41:35 +01:00
Antony Male 8106e6a3ac Start on unit testing WindowManager, but there's not a lot I can do since Window is so hard to mock 2014-04-03 12:57:42 +01:00
Antony Male 3b287e55e3 Finish off the screen unit tests 2014-04-03 12:36:35 +01:00
Antony Male 20509d9c77 Start writing unit tests for Screen 2014-04-02 13:25:27 +01:00
Antony Male 3e102ea274 Work on screens: tidying, bug-fixing 2014-03-26 13:16:26 +00:00
Antony Male 0f6994721a Attempt to change Deactivate(true) to Close()
Probably needs a bit more testing and verifying, but the tests pass
2014-03-26 08:36:19 +00:00
Antony Male 31c9844c47 Add more conductor tests, and tests for Execute, PropertyChangedBase 2014-03-25 13:20:31 +00:00
Antony Male fc156247b0 Ensure that FactoryCreators also build up the result 2014-03-23 18:13:01 +00:00
Antony Male 364111afbc Change copyright from Sagentia -> Antony Male 2014-03-23 15:08:04 +00:00
Antony Male 695a1a345e Fix namespace 2014-03-15 14:52:57 +00:00
Antony Male 0aef92ac49 Add some tests for Conductor.Collections.OneActive, but still needs some more 2014-03-15 14:51:52 +00:00
Antony Male 06fa5b646d Move xaml stuff to Xaml folder 2014-03-15 14:11:27 +00:00
Antony Male 907c59acf1 Add documentation to the conductors 2014-03-15 14:09:38 +00:00
Antony Male b279305958 Add tests for Conductor.Collections.AllActive 2014-03-15 13:50:17 +00:00