]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - cpp/wvtest.cc
Merge branch 'master' of git://github.com/wlach/wvtest
[wvtest.git] / cpp / wvtest.cc
index 5cb1d21c71bc584ad4bffb725f350a6c51acab92..3931cca9bdb2230944c125d103399f8d4399386d 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * Worldvisions Weaver Software:
- *   Copyright (C) 1997-2003 Net Integration Technologies, Inc.
- *
- * Part of an automated testing framework.  See wvtest.h.
+ * WvTest:
+ *   Copyright (C) 1997-2009 Net Integration Technologies, Inc.
+ *       Licensed under the GNU Library General Public License, version 2.
+ *       See the included file named LICENSE for license information.
  */
 #include "wvtest.h"
 #include <stdio.h>
@@ -382,6 +382,14 @@ bool WvTest::start_check_eq(const char *file, int line,
 }
 
 
+bool WvTest::start_check_eq(const char *file, int line,
+                           const std::string &a, const std::string &b, 
+                            bool expect_pass)
+{
+    return start_check_eq(file, line, a.c_str(), b.c_str(), expect_pass);
+}
+
+
 bool WvTest::start_check_eq(const char *file, int line, 
                             int a, int b, bool expect_pass)
 {