* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include <libtest/common.h>
namespace libtest {
case TEST_FAILURE:
return "failed";
- case TEST_MEMORY_ALLOCATION_FAILURE:
- return "memory allocation";
-
case TEST_SKIPPED:
return "skipped";
-
- case TEST_FATAL:
- break;
}
- return "failed";
+ fatal_message("No port could be found");
}
} // namespace libtest
+
+
+std::ostream& operator<<(std::ostream& output, const enum test_return_t &arg)
+{
+ output << libtest::test_strerror(arg);
+ return output;
+}
+
+std::ostream& operator<<(std::ostream& output, const std::vector<char> &arg)
+{
+ output << "std::vector<char>:" << arg.size();
+ return output;
+}