// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include #include #include #include class BaseTest : public FastOS_Application { private: BaseTest(const BaseTest&); BaseTest &operator=(const BaseTest&); int totallen; bool _allOkFlag; public: const char *okString; const char *failString; BaseTest () : totallen(70), _allOkFlag(true), okString("SUCCESS"), failString("FAILURE") { } virtual ~BaseTest() {}; bool allWasOk() const { return _allOkFlag; } void PrintSeparator () { for(int i=0; i