Ejemplo n.º 1
0
 // set up
 protected void setUp() throws Exception {
   super.setUp();
   AppSingleton.getInstance().setTest(true);
   instrumentation = getInstrumentation();
   activity = getActivity();
   setActivityInitialTouchMode(false);
   ApproverButton = (Button) activity.findViewById(ca.ualberta.CMPUT301W15T06.R.id.approverButton);
   ClaimantButton = (Button) activity.findViewById(ca.ualberta.CMPUT301W15T06.R.id.claimantButton);
   UserButton = (Button) activity.findViewById(ca.ualberta.CMPUT301W15T06.R.id.userButton);
   intent = new Intent(getInstrumentation().getTargetContext(), MainActivity.class);
   u = AppSingleton.getInstance().getCurrentUser();
 }