File indexing completed on 2024-11-24 04:54:35

0001 /*
0002     SPDX-License-Identifier: MPL-2.0
0003 */
0004 
0005 /* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 license.
0006  * This Source Code Form is subject to the terms of the Mozilla Public
0007  * License, v. 2.0. If a copy of the MPL was not distributed with this
0008  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
0009 
0010 #include <string>
0011 #include "./CppUnitLite/TestHarness.h"
0012 #include "./util.h"
0013 #include "./testResult2.h"
0014 
0015 SimpleString StringFrom(const std::string& value) {
0016     return SimpleString(value.c_str());
0017 }
0018 
0019 int main() {
0020   TestResult2 tr;
0021   TestRegistry::runAllTests(tr);
0022   return tr.hasFailures ? 1 : 0;
0023 }