]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - cpp/wvtest.cc
Basic support for checking (in)equality of std::string in C++ version
[wvtest.git] / cpp / wvtest.cc
index 809d1ec31a48850874e1711185b30749b6b9704c..3931cca9bdb2230944c125d103399f8d4399386d 100644 (file)
@@ -1,11 +1,10 @@
 /*
- * 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 "wvautoconf.h"
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
@@ -383,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)
 {