Antony Male
ef52b7ef12
Update MSBuild.SDK.Extras, and remove warning suppressions
2021-01-21 20:05:01 +00:00
Antony Male
26d905c6f0
Explicitly target net5.0-windows
...
Things worked when referenced from a net5.0-windows project anyway, but might as
well keep with the times
2020-11-28 12:18:14 +00:00
Antony Male
b3064171c1
Fix up the failing unit tests
2019-09-22 17:12:54 +01:00
Antony Male
3c7639bdc8
Turns out it is possible to have a single csproj targetting both core and framework
...
<EnableDefaultItems>false</EnableDefaultItems> along with
<Compile Include="**\*.cs" Exclude="obj\**" /> and <None Remove="**\*.cs" />
is needed, though.
2019-09-22 17:12:54 +01:00
Antony Male
f7ec7a255a
WIP towards getting unit tests working
2019-09-22 17:12:53 +01:00
Antony Male
f4e6e3ecf5
Split Stylet and IntegrationTests projects into Framework and Core
...
Annoyingly we need to have two separate projects in two separate directories,
since Framework WPF projects aren't supported in sdk-style csprojs. The
Framework and Core projects also stamp over each others' bin and obj
directories, even if you set IntermediateFilePath, hence the need to put
them in entirely separate places
2019-09-22 17:12:53 +01:00
Antony Male
10c8fa4f3a
Move to automatic nuget package restore
2016-07-09 12:15:32 +01:00
Antony Male
bd18b94e82
Start getting towards something that works...
2015-10-03 17:06:11 +01:00
Antony Male
fc7f164c53
Remove unnecessary usings in unit tests
2015-09-23 21:46:36 +01:00
Antony Male
44cff93967
Update NuGet packages
2015-09-09 12:43:31 +01:00
Antony Male
c1b842342b
Add NUnit VS test runner NuGet package
2015-09-08 22:03:33 +01:00
Antony Male
b98226b29f
Use a DependencyProperty in CommandAction/EventAction to watch ActionTarget for changes
...
Seems to work much better. Could probably remove quite a bit of code though
a sensible base class
2015-02-24 12:38:53 +00:00
Antony Male
c024a2dfd8
Write unit tests for DependencyPropertyChangeNotifier
2015-02-22 22:06:40 +00:00
Antony Male
f36de34bb2
Execute.Dispatcher can never be null, and dispatches synchronously by default
...
The previous behaviour was to raise an exception unless Execute.Dispatcher
had been explicitly defined. This was to detect cases where the user hadn't
set up Execute correctly, and treat them as errors rather than simply going
ahead with some possibly-unexpected behaviour.
However, since BootstrapperBase sets Execute.Dispatcher automatically, it's
highly unlikely that itwould ever not be set when it needed to be. Exceptions
are design mode and unit tests, both of which want (or can cope with) a
synchronous dispatcher.
Hence the behaviour change. Execute.Dispatcher is a synchronous dispatcher
by default, but is overridden to one that uses Application.Current.Dispatcher
by the bootstrapper if we're in a real application.
2015-01-04 21:30:34 +00:00
Antony Male
9ee23f1469
Remove Execute.TestExecuteSynchronously, in favour of a synchronous IDispatcher implementation
2015-01-04 13:10:37 +00:00
Antony Male
a48eda896f
Remove LambdaComparer and LambdaEqualityComparer - they have no business in an MVVM framework
2014-12-04 13:29:08 +00:00
Antony Male
a421fc6922
Remove AssemblySource, relying instead on a List<Assembly> on BootstrapperBase
2014-11-30 15:19:13 +00:00
Antony Male
0f93eb1832
Remove the IoC class in its entirety - it's not needed any more, and it's a bad idea
2014-11-30 14:23:56 +00:00
Antony Male
d6452c6517
Strip out child container stuff
...
I've forked the IoC container to SlimIoC, so this is going to be simplified a bit
2014-10-22 20:33:47 +01:00
Antony Male
be22da44d0
Add Modules to StyletIoC
2014-09-14 12:19:48 +01:00
Antony Male
05f509fd47
Add ability to register instances
2014-09-12 13:11:39 +01:00
Antony Male
ad8ba84ee8
First attempt at func factories. Passes almost all tests
2014-09-10 21:14:38 +01:00
Antony Male
3246f5db29
Add some unit tests
2014-09-10 12:49:28 +01:00
Antony Male
db08349c02
Add unit tests for ApplicationLoader, and fix Bootstrapper tests
2014-08-02 17:50:18 +01:00
Antony Male
bc9362eeee
Change DebugLogger to TraceLogger, which logs even in Release builds
2014-07-30 15:22:29 +01:00
Antony Male
7952d15e83
Rename ILogger and LogManager to not conflict with NLog
2014-07-26 18:17:49 +01:00
Antony Male
4ed753e89e
Bring unit test code coverage back to par
2014-07-25 13:11:51 +01:00
Antony Male
17d280a898
Rename LambdaComparer to LambdaEqualityComparer, and create actual LambdaComparer
2014-06-06 13:14:20 +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
fc4a7fb61c
Push coverage up to 99.7%
2014-05-10 20:11:02 +01:00
Antony Male
a96ec2a6e4
Add tests for CommandAction and EventAction
2014-05-09 13:59:38 +01:00
Antony Male
1e76531e36
Add test code coverage for ValidatingModelBase
2014-05-08 17:37:33 +01:00
Antony Male
fe13725062
More unit tests, more code coverage
2014-05-07 17:48:00 +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
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
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
20509d9c77
Start writing unit tests for Screen
2014-04-02 13:25:27 +01: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
0aef92ac49
Add some tests for Conductor.Collections.OneActive, but still needs some more
2014-03-15 14:51:52 +00:00
Antony Male
b279305958
Add tests for Conductor.Collections.AllActive
2014-03-15 13:50:17 +00:00
Antony Male
e68fbb12cc
Remove the cache of factories
...
It would only have been hit if someone did .ToAbstractFactory() on the same
type, twice, which would have caused a multiple registrations error further
down the line, anyway
2014-03-15 11:20:10 +00:00
Antony Male
d4e563efab
Very early start on ConducotOneActiveTests
2014-03-13 13:22:52 +00:00
Antony Male
7ef6d6521a
Start writing unit tests for Conductor
2014-03-12 22:01:59 +00:00
Antony Male
aa395d9cb5
Start writing unit tests for BootstrapperBase
2014-03-12 13:10:25 +00:00
Antony Male
3592a75723
Add unit tests for ActionExtension
2014-03-12 12:54:22 +00:00