inst.sendKeyDownUpSync(KeyEvent.KEYCODE_DPAD_CENTER);
Thread.sleep(WAIT_FOR_PREVIEW);
}
} catch (Exception e){
Log.v(TAG, e.toString());
}
assertTrue("testSwitchMode",true);
}
}
package com.android.camera.stress;
import com.android.camera.VideoCamera;
import android.app.Instrumentation;
import android.test.ActivityInstrumentationTestCase2;
import android.test.suitebuilder.annotation.LargeTest;
import android.util.Log;
import android.view.KeyEvent;
/**
* Junit / Instrumentation test case for camera test
*
* Running the test suite:
*
文章來源于領測軟件測試網 http://www.kjueaiud.com/