diff options
author | Claudio Bandera <claudio.bandera@kit.edu> | 2015-09-17 18:40:24 +0200 |
---|---|---|
committer | Claudio Bandera <claudio.bandera@kit.edu> | 2015-09-17 18:40:24 +0200 |
commit | 92c2e869763dcc25c840c2e6cfcd9863abf201dd (patch) | |
tree | e032548195fccf98708daafa8f3e93c0781ede4e /test-radar-base.sh | |
parent | 2dbf0c220fc971c9493392a70c71954001fee7fd (diff) | |
parent | 1f6a8f84946a0cb6936916f47b5a3870fa12a5a6 (diff) | |
download | git-sonar-92c2e869763dcc25c840c2e6cfcd9863abf201dd.tar.gz git-sonar-92c2e869763dcc25c840c2e6cfcd9863abf201dd.zip |
Merge remote-tracking branch 'upstream/master' into hotfix/unittests
Diffstat (limited to '')
-rwxr-xr-x | test-radar-base.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test-radar-base.sh b/test-radar-base.sh new file mode 100755 index 0000000..9f7f8ee --- /dev/null +++ b/test-radar-base.sh @@ -0,0 +1,28 @@ +scriptDir="$(cd "$(dirname "$0")"; pwd)" + +source "$scriptDir/radar-base.sh" + +test_show_remote_status() { + show_remote_status + assertTrue $? + + show_remote_status --bash + assertTrue $? + + show_remote_status --bash --fetch + assertTrue $? + + show_remote_status --bash --no-remote-status --fetch + assertFalse $? + + show_remote_status --bash --fetch --no-remote-status + assertFalse $? + + show_remote_status --no-remote-status --bash --fetch + assertFalse $? + + show_remote_status --bash --fetch --minimal --no-remote-status + assertFalse $? +} + +. ./shunit/shunit2
\ No newline at end of file |