File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
FFmpegAndroid/src/androidTest/java/com/github/hiteshsondhi88/libffmpeg Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ android:
13
13
- sys-img-armeabi-v7a-android-16
14
14
- sys-img-x86-android-16
15
15
before_install :
16
- - echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
16
+ - echo no | android create avd -c 50M - -force -n test -t android-16 --abi armeabi-v7a
17
17
- emulator -avd test -no-skin -no-audio -no-window &
18
18
- android-wait-for-emulator
19
19
- adb shell input keyevent 82 &
Original file line number Diff line number Diff line change @@ -44,8 +44,7 @@ public void run() {
44
44
45
45
public void testRunWaitFor () throws Exception {
46
46
ShellCommand shellCommand = new ShellCommand ();
47
- CommandResult commandResult = shellCommand .runWaitFor ("logcat -d" );
48
- Thread .sleep (2000 );
47
+ CommandResult commandResult = shellCommand .runWaitFor ("ls /sdcard/" );
49
48
assertNotNull (commandResult );
50
49
assertEquals (true , commandResult .success );
51
50
assertThat (commandResult .output ).isNotEmpty ();
You can’t perform that action at this time.
0 commit comments