示例#1
0
 public static void MyClassCleanup()
 {
     TestManager.ClearNInjectKernel(kernel);
 }
示例#2
0
        public static void MyClassInitialize(TestContext testContext)
        {
            kernel = TestManager.ConfigureNInjectKernel();

            userProfileDao = kernel.Get <IUserProfileDao>();
        }
示例#3
0
 public static void MyClassCleanup()
 {
     eventService.cleanCache();
     TestManager.ClearNInjectKernel(kernel);
 }
示例#4
0
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel      = TestManager.ConfigureNInjectKernel();
     eventDao    = kernel.Get <IEventDao>();
     categoryDao = kernel.Get <ICategoryDao>();
 }
示例#5
0
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel   = TestManager.ConfigureNInjectKernel();
     labelDao = kernel.Get <ILabelDao>();
 }