????Spinner ?????

????????????????????:??????
???????????裺
????1.????????С???????
????2.????????
?????????TextView ?????????????:?????
public void testUI() throws Exception {
this.Spinner();
}
public void Spinner(){
solo.clickOnButton("Spinner");
boolean actual = solo.isSpinnerTextSelected(0??"????");
solo.pressSpinnerItem(0?? 1);
boolean actual1 = solo.searchText("??????:???");
assertEquals("This is not found"??true?? actual1);
}
????isSpinnerTextSelected ???????????
????public boolean isSpinnerTextSelected(int index?? String text)
????index:??λ????Spinner????????0
????text:??????Spinner????????
???????API????????????????????????????????true
????pressSpinnerItem ???????????
????public void pressSpinnerItem(int spinnerIndex?? int itemIndex)
????spinnerIndex:??λ?????Spinner????????0
????intemIndex:??λ??????μ????????????????=0 ???=1 ???=2 ....
????Spinner???:http://luwenjie.blog.51cto.com/925779/917238