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

            userProfileDao = kernel.Get <IUserProfileDao>();
            userService    = kernel.Get <IUserService>();
        }
示例#2
0
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel      = TestManager.ConfigureNInjectKernel();
     categoryDao = kernel.Get <ICategoryDao>();
     productDao  = kernel.Get <IProductDao>();
     tagDao      = kernel.Get <ITagDao>();
     tagService  = kernel.Get <ITagService>();
 }
示例#3
0
        public static void MyClassInitialize(TestContext testContext)
        {
            kernel = TestManager.ConfigureNInjectKernel();

            sportEventService = kernel.Get <ISportEventService>();
            FavoritesDao      = kernel.Get <IFavoritesDao>();
            userService       = kernel.Get <IUserService>();
            FavoritesDao      = kernel.Get <IFavoritesDao>();
            commentDao        = kernel.Get <ICommentDao>();
            TagDao            = kernel.Get <ITagDao>();
        }
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel = TestManager.ConfigureNInjectKernel();
     recommendationGroupService = kernel.Get <IRecommendationGroupService>();
     userService       = kernel.Get <IUserService>();
     userProfileDao    = kernel.Get <IUserProfileDao>();
     sportEventDao     = kernel.Get <ISportEventDao>();
     recommendationDao = kernel.Get <IRecommendationDao>();
     groupUsersDao     = kernel.Get <IGroupUsersDao>();
     sportEventService = kernel.Get <ISportEventService>();
     categoryDao       = kernel.Get <ICategoryDao>();
 }
示例#5
0
 public static void MyClassInitialize(TestContext testContext)
 {
     kernel         = TestManager.ConfigureNInjectKernel();
     categoryDao    = kernel.Get <ICategoryDao>();
     cardDao        = kernel.Get <ICardDao>();
     userDao        = kernel.Get <IUserProfileDao>();
     productDao     = kernel.Get <IProductDao>();
     orderDao       = kernel.Get <IOrderDao>();
     orderLineDao   = kernel.Get <IOrderLineDao>();
     orderService   = kernel.Get <IOrderService>();
     userService    = kernel.Get <IUserService>();
     cardService    = kernel.Get <ICardService>();
     productService = kernel.Get <IProductService>();
 }