Skip to content

Commit

Permalink
1437 | Subhas | Fix error in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Subhas Dandapani committed Nov 27, 2012
1 parent 9c14894 commit 330a0eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ before_install:
- echo no | android create avd -n android2.2 -t android-8 --skin QVGA
- mv $ANDROID_HOME/tools/emulator $ANDROID_HOME/tools/emulator-old
- ln -s $ANDROID_HOME/tools/emulator-arm $ANDROID_HOME/tools/emulator
- alias grepd="grep -v -e 'Downloaded:' -e 'Downloading:'"

install: echo
script: "mvn clean install -P ci | grepd"
script: "mvn clean install -P ci"

after_script:
- mvn pl.project13.maven:git-commit-id-plugin:revision ghDownloads:upload -P ci --projects RapidFTR-Android --fail-never | grepd
- mvn pl.project13.maven:git-commit-id-plugin:revision ghDownloads:upload -P ci --projects RapidFTR-Android --fail-never

notifications:
email: false
Expand Down
1 change: 1 addition & 0 deletions RapidFTR-Android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ res/raw/*.bks
.idea/
classes/
gen/
.nomedia/
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void testCaptureUnderNoMedia() {

@Test
public void testCaptureUnderSDCard() {
File file = new File(Environment.getExternalStorageDirectory(), "sdcard");
File file = Environment.getExternalStorageDirectory();
doReturn(file).when(captureHelper).getExternalStorageDir();

File result = captureHelper.getPhotoDir();
Expand Down

0 comments on commit 330a0eb

Please sign in to comment.