/// <summary>
        /// Creates a new <see cref="IJobStore"/> instance for use with this test class.
        /// </summary>
        /// <returns>A <see cref="IJobStore"/> instance.</returns>
        private static IJobStore CreateJobStore()
        {
            IJobStore store = null;

            if (!String.IsNullOrEmpty(connectionString))
            {
                store = new SqlServerJobStore(connectionString);
                store.Initialize(null);
            }

            return store;
        }
Example #2
0
 public void StandardConstructorCreatesDaoWithExpectedConnectionString()
 {
     SqlServerJobStore jobStore = new SqlServerJobStore(connectionString);
     Assert.AreEqual(connectionString, jobStore.ConnectionString);
 }
Example #3
0
        public void StandardConstructorCreatesDaoWithExpectedConnectionString()
        {
            SqlServerJobStore jobStore = new SqlServerJobStore(connectionString);

            Assert.AreEqual(connectionString, jobStore.ConnectionString);
        }