Update of /cvsroot/springnet/Spring.Net.Integration/projects/Spring.Scheduling.Quartz/test/Spring/Spring.Scheduling.Quartz.Tests/Scheduling/Quartz
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv24066
Modified Files:
SchedulerFactoryObjectTest.cs
Log Message:
Support for VS2008 and small fix to check whether quartz properties is null before merging
Index: SchedulerFactoryObjectTest.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net.Integration/projects/Spring.Scheduling.Quartz/test/Spring/Spring.Scheduling.Quartz.Tests/Scheduling/Quartz/SchedulerFactoryObjectTest.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SchedulerFactoryObjectTest.cs 14 Sep 2007 12:56:10 -0000 1.2
--- SchedulerFactoryObjectTest.cs 9 Jun 2008 10:03:50 -0000 1.3
***************
*** 17,20 ****
--- 17,21 ----
using System;
using System.Collections;
+ using System.Reflection;
using System.Threading;
***************
*** 257,260 ****
--- 258,273 ----
}
+ [Test]
+ public void TestInitSchedulerFactory_MinimalDefaults()
+ {
+ TestSchedulerFactory.Mockery.ReplayAll();
+ MethodInfo mi = factory.GetType().GetMethod("InitSchedulerFactory",
+ BindingFlags.Instance | BindingFlags.NonPublic);
+
+ factory.SchedulerName = "testFactoryObject";
+ StdSchedulerFactory factoryToPass = new StdSchedulerFactory();
+ mi.Invoke(factory, new object[] { factoryToPass });
+ }
+
[TearDown]
public void TearDown()
|