packageorg.wp.activity;importandroid.test.AndroidTestCase;importandroid.util.Log;/**
* JunitRun ==> LogTest(实例化) ==> testSave()
* Debug
* Step Into F5
* Step Over F6
* Run to Line Ctrl + R
* Step Return F7
*
* @author wp
*
*/publicclass LogTest extends AndroidTestCase {privatestaticfinalString TAG ="LogTest";publicvoid testSave()throwsException{int i =1+1;String result = practice(i);
Log.i(TAG, "result="+ i);
Log.i(TAG, "result="+ result);}privateString practice(int i){int a = i;int b =100;int c = a + b;String out ="wp";String result = out + c;return result;}}