diff options
author | Claudio Bandera <claudio.bandera@kit.edu> | 2015-09-17 17:52:40 +0200 |
---|---|---|
committer | Claudio Bandera <claudio.bandera@kit.edu> | 2015-09-17 17:52:40 +0200 |
commit | f16f1e67a2f2908bfb11fa67f1a5185bc0b2be0f (patch) | |
tree | e4b1bbfb70317f0cb5247b3416ceeb6621a52be4 /test-radar-base.sh | |
parent | 4a7d636bad0d03af22f440bef9bd141bfc0dc309 (diff) | |
parent | 1f6a8f84946a0cb6936916f47b5a3870fa12a5a6 (diff) | |
download | git-sonar-f16f1e67a2f2908bfb11fa67f1a5185bc0b2be0f.tar.gz git-sonar-f16f1e67a2f2908bfb11fa67f1a5185bc0b2be0f.zip |
Merge branch 'master' into feature/stash_indicator
Conflicts:
prompt.bash
test
Diffstat (limited to 'test-radar-base.sh')
-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 |