android - Testing Asynch Task and Junit -


So I was looking for help in writing an archive test and I got a lot, but I do not know how Start. I want to test a class that AsyncTask expands, and only that class, what will I put in the constructor for the junior test? It extends InstrumentationTestCase because I need to use restTestonUI Sorry, if this is a silent question then I have never used junit before.

start asynch work

  Nameoff task task = new name ottertask (); Task.execute ();   {progression DLOG pDialog; Protected void on prefixute (pdialogg = new progress dialeg (cuzenius.es); PDialog.setMessage ("aysnc function ..."); pDialog.setCancelable (wrong); pDialog.show ();} protected voice downline background (zero ... unused) here you want to try Return (empty);} Override Protected Zero Progress Update (Zero ... Value) {// TODO Auto generated method stub super.onProgressUpdate (Value);} PostXAutute (zero-zero) on protected zeros {PDialog.dismiss ();}}    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -