Dec 14, 2017 08:13
i accept your answer, thank for the help
Dec 13, 2017 16:47
you just one person who helping me
Dec 13, 2017 16:47
its not a problem
Dec 13, 2017 16:47
i can spam somewhere and accept your answers
Dec 13, 2017 16:47
if u need reputation
Dec 13, 2017 16:45
in logs its just request to url and stop.
Dec 13, 2017 16:45
i dont have problem with simple tests. But when i start testing "advanced" i stuck here
Dec 13, 2017 16:45
simple tests work ok
Dec 13, 2017 16:44
but... as always but
Dec 13, 2017 16:44
its good recomendation
Dec 13, 2017 16:43
say : i have request , i need wait 30 seconds meanwhile he will complete
Dec 13, 2017 16:38
and i have a url request - i cant understand how to pass him
Dec 13, 2017 16:38
Realy i dont know, is it ok if i need every @Test - init my sdk ?
Dec 13, 2017 16:24
but its look like every test - i should init my small sdk. And its instrumental test , my device going crazy with screen . its show on 0.01 second and closed. I cant understand how to set wait screen
Dec 13, 2017 16:23
i think i fixed it , now i have some passed tests
Dec 13, 2017 16:23
yes
Dec 13, 2017 15:51
androidTest
Dec 13, 2017 15:51
androidTets
Dec 13, 2017 15:40
its look like instrumental test
Dec 13, 2017 15:35
somewhere i read about testCompile thats why i set testCompile
Dec 13, 2017 15:34
prntscr.com/hn082o if set as u say
Dec 13, 2017 15:29
Dec 13, 2017 15:28
sec
Dec 13, 2017 15:20
say : i need make request to url (server) there are need context , how i can make a test without context ?
Dec 13, 2017 15:19
and error
Dec 13, 2017 15:19
Dec 13, 2017 15:19
i add cunstructor/constructor with params nothing to work
Dec 13, 2017 15:19
Dec 13, 2017 15:18
very simple i get them from tutorial which not working
Dec 13, 2017 15:18
its my code
Dec 13, 2017 15:18
Dec 13, 2017 15:17
how i can check if for example AudioManager init true ?
Dec 13, 2017 15:17
sdk init have a method where context required
Dec 13, 2017 15:00
i dont need instrumental testing. but i need context in simple unit cases
Dec 13, 2017 14:51
i cant receive context anything not working
Dec 13, 2017 14:51
Hi @MichaelDodd
Dec 13, 2017 14:50
Hi @M
Dec 13, 2017 14:49
Unbelivable , im going by tutorial , official tutorial and i got error on line @RunWith(AndroidJUnit4.class) why why its happened ? If use JUnit4.class than no error. But instrumentation not working. omg 9((((
Dec 13, 2017 14:49
i trying to use ur example : i get this error java.lang.IllegalStateException: No instrumentation registered! Must run under a registering instrumentation. Realy i dont undertand how to run them.
Dec 13, 2017 14:49
sorry i found, i have wrong declaration for this in build.gradle
Dec 13, 2017 14:49
hey thank for your answer, i have error : its not found InstrumentationRegistry what i should add ?
 
Jan 23, 2012 07:13
@Hiral Hi, Hiral :)
Jan 20, 2012 11:23
@Hiral yes, im here
Jan 20, 2012 11:23
@Hiral нуы
Jan 20, 2012 08:43
thanks for help
Jan 20, 2012 08:43
good bye )
Jan 20, 2012 08:32
i not found code.. or found and have error with textwatcher.. i tried again and play with flags.. and don't know why - but et1.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL); this work perfectly for keyboard.. but on virtual keyboard i can't input dot(period/point . )
Jan 20, 2012 08:31
@Hiral im are u here ?
Jan 20, 2012 08:31
hey
Jan 20, 2012 08:04
@Hiral thank you very much.. i will try it (need first foudn some code) .. also if it's help me.. post some words about textwatcher in my question.. and if i found solution with textwatcher. i accpeted u