コード例 #1
0
 @Override
 public void tearDown() throws Exception {
   ContextService contextService = Aura.getContextService();
   AuraContext context = contextService.getCurrentContext();
   if (context != null) {
     contextService.endContext();
   }
   super.tearDown();
 }
コード例 #2
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   ContextService contextService = Aura.getContextService();
   AuraContext context = contextService.getCurrentContext();
   if (context == null) {
     contextService.startContext(
         AuraContext.Mode.SELENIUM,
         AuraContext.Format.HTML,
         AuraContext.Authentication.AUTHENTICATED);
   }
   clientLibraryService = Aura.getClientLibraryService();
 }
コード例 #3
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
 }