shunit_return=${SHUNIT_TRUE}
if [ "${shunit_expected_}" = "${shunit_actual_}" ]; then
if [ ! -z "$DEBUGGING" -a ! -z "$assertion_name" ]; then
- echo " OK: $assertion_name"
+ echo " OKAY: $assertion_name"
fi
_shunit_assertPass
else
shunit_return=${SHUNIT_TRUE}
if [ "${shunit_expected_}" != "${shunit_actual_}" ]; then
if [ ! -z "$DEBUGGING" -a ! -z "$assertion_name" ]; then
- echo " OK: $assertion_name"
+ echo " OKAY: $assertion_name"
fi
_shunit_assertPass
else
# record the test
if [ ${shunit_return} -eq ${SHUNIT_TRUE} ]; then
if [ ! -z "$DEBUGGING" -a ! -z "$assertion_name" ]; then
- echo " OK: $assertion_name"
+ echo " OKAY: $assertion_name"
fi
_shunit_assertPass
else
# record the test
if [ ${shunit_return} -eq ${SHUNIT_TRUE} ]; then
if [ ! -z "$DEBUGGING" -a ! -z "$assertion_name" ]; then
- echo " OK: $assertion_name"
+ echo " OKAY: $assertion_name"
fi
_shunit_assertPass
else
unset _shunit_test_
}
-# Generates the user friendly report with appropriate OK/FAILED message.
+# Generates the user friendly report with appropriate OKAY/FAILED message.
#
# Args:
# None
&& _shunit_skipped_="skipped=${__shunit_assertsSkipped}"
if [ ${_shunit_ok_} -eq ${SHUNIT_TRUE} ]; then
- _shunit_msg_='OK'
+ _shunit_msg_="$(basename $0) PASSED 100% OKAY"
[ -n "${_shunit_skipped_}" ] \
&& _shunit_msg_="${_shunit_msg_} (${_shunit_skipped_})"
else
- _shunit_msg_="FAILED (${_shunit_failures_}"
+ _shunit_msg_="$(basename $0) FAILED (${_shunit_failures_}"
[ -n "${_shunit_skipped_}" ] \
&& _shunit_msg_="${_shunit_msg_},${_shunit_skipped_}"
_shunit_msg_="${_shunit_msg_})"