public void setUp() {
   super.setUp();
   UIViewRoot page = Util.getViewHandler(getFacesContext()).createView(getFacesContext(), null);
   page.setViewId("viewId");
   page.setLocale(Locale.US);
   getFacesContext().setViewRoot(page);
 }
예제 #2
0
 @Override
 public void tearDown() {
   super.tearDown();
   manager = null;
 }
예제 #3
0
 @Override
 public void setUp() {
   super.setUp();
 }
예제 #4
0
 @Override
 public void setUp() {
   super.setUp();
   manager = new ResourceManager(null);
 }
예제 #5
0
 @Override
 public void tearDown() {
   super.tearDown();
 }