Changeset 10846 for code/branches
- Timestamp:
- Nov 23, 2015, 10:21:04 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/test
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/test/core/class/IdentifiableTest.cc
r10765 r10846 20 20 { 21 21 public: 22 virtual void SetUp() 22 virtual void SetUp() override 23 23 { 24 24 new IdentifierManager(); … … 26 26 } 27 27 28 virtual void TearDown() 28 virtual void TearDown() override 29 29 { 30 30 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); -
code/branches/cpp11_v2/test/core/class/IdentifierClassHierarchyTest.cc
r10765 r10846 86 86 } 87 87 88 virtual void test1() {}88 virtual void test1() override {} 89 89 }; 90 90 … … 97 97 } 98 98 99 virtual void test1() {}100 virtual void test2() {}99 virtual void test1() override {} 100 virtual void test2() override {} 101 101 }; 102 102 … … 109 109 } 110 110 111 virtual void test1() {}112 virtual void test2() {}111 virtual void test1() override {} 112 virtual void test2() override {} 113 113 }; 114 114 … … 121 121 } 122 122 123 virtual void test1() {}124 virtual void test2() {}123 virtual void test1() override {} 124 virtual void test2() override {} 125 125 }; 126 126 … … 140 140 { 141 141 public: 142 virtual void SetUp() 142 virtual void SetUp() override 143 143 { 144 144 new IdentifierManager(); … … 149 149 } 150 150 151 virtual void TearDown() 151 virtual void TearDown() override 152 152 { 153 153 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/class/IdentifierExternalClassHierarchyTest.cc
r10765 r10846 36 36 } 37 37 38 virtual void test() {}38 virtual void test() override {} 39 39 }; 40 40 … … 47 47 { 48 48 public: 49 virtual void SetUp() 49 virtual void SetUp() override 50 50 { 51 51 new IdentifierManager(); … … 56 56 } 57 57 58 virtual void TearDown() 58 virtual void TearDown() override 59 59 { 60 60 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/class/IdentifierNestedClassHierarchyTest.cc
r10765 r10846 107 107 { 108 108 public: 109 virtual void SetUp() 109 virtual void SetUp() override 110 110 { 111 111 new IdentifierManager(); … … 116 116 } 117 117 118 virtual void TearDown() 118 virtual void TearDown() override 119 119 { 120 120 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/class/IdentifierSimpleClassHierarchyTest.cc
r10765 r10846 38 38 } 39 39 40 virtual void test() {}40 virtual void test() override {} 41 41 }; 42 42 … … 49 49 { 50 50 public: 51 virtual void SetUp() 51 virtual void SetUp() override 52 52 { 53 53 new IdentifierManager(); … … 58 58 } 59 59 60 virtual void TearDown() 60 virtual void TearDown() override 61 61 { 62 62 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/class/IdentifierTest.cc
r10765 r10846 27 27 { 28 28 public: 29 virtual void SetUp() 29 virtual void SetUp() override 30 30 { 31 31 new IdentifierManager(); … … 33 33 } 34 34 35 virtual void TearDown() 35 virtual void TearDown() override 36 36 { 37 37 ModuleInstance::getCurrentModuleInstance()->unloadAllStaticallyInitializedInstances(StaticInitialization::IDENTIFIER); -
code/branches/cpp11_v2/test/core/class/OrxonoxClassTest.cc
r10765 r10846 16 16 { 17 17 public: 18 virtual void SetUp() 18 virtual void SetUp() override 19 19 { 20 20 new IdentifierManager(); … … 22 22 } 23 23 24 virtual void TearDown() 24 virtual void TearDown() override 25 25 { 26 26 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/class/OrxonoxInterfaceTest.cc
r10765 r10846 31 31 { 32 32 public: 33 virtual void SetUp() 33 virtual void SetUp() override 34 34 { 35 35 new IdentifierManager(); … … 37 37 } 38 38 39 virtual void TearDown() 39 virtual void TearDown() override 40 40 { 41 41 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/class/SubclassIdentifierTest.cc
r10765 r10846 29 29 { 30 30 public: 31 virtual void SetUp() 31 virtual void SetUp() override 32 32 { 33 33 new IdentifierManager(); … … 38 38 } 39 39 40 virtual void TearDown() 40 virtual void TearDown() override 41 41 { 42 42 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/class/SuperTest.cc
r10765 r10846 19 19 } 20 20 21 virtual void changedName() 21 virtual void changedName() override 22 22 { 23 23 this->changedNameBase_ = true; 24 24 } 25 25 26 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) 26 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override 27 27 { 28 28 this->xmlPortBase_ = true; … … 43 43 } 44 44 45 virtual void changedName() 45 virtual void changedName() override 46 46 { 47 47 this->changedNameSubclass_ = true; … … 50 50 } 51 51 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) 52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override 53 53 { 54 54 this->xmlPortSubclass_ = true; … … 70 70 { 71 71 public: 72 virtual void SetUp() 72 virtual void SetUp() override 73 73 { 74 74 new IdentifierManager(); … … 79 79 } 80 80 81 virtual void TearDown() 81 virtual void TearDown() override 82 82 { 83 83 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/command/CommandTest.cc
r10768 r10846 138 138 { 139 139 public: 140 virtual void SetUp() 140 virtual void SetUp() override 141 141 { 142 142 new IdentifierManager(); … … 148 148 } 149 149 150 virtual void TearDown() 150 virtual void TearDown() override 151 151 { 152 152 IdentifierManager::getInstance().destroyClassHierarchy(); -
code/branches/cpp11_v2/test/core/command/ExecutorPtrTest.cc
r10825 r10846 21 21 { 22 22 public: 23 virtual void SetUp() 23 virtual void SetUp() override 24 24 { 25 25 } 26 26 27 virtual void TearDown() 27 virtual void TearDown() override 28 28 { 29 29 } -
code/branches/cpp11_v2/test/core/command/FunctorPtrTest.cc
r10825 r10846 21 21 { 22 22 public: 23 virtual void SetUp() 23 virtual void SetUp() override 24 24 { 25 25 } 26 26 27 virtual void TearDown() 27 virtual void TearDown() override 28 28 { 29 29 } -
code/branches/cpp11_v2/test/core/object/ClassFactoryTest.cc
r10765 r10846 14 14 { 15 15 public: 16 virtual void SetUp() 16 virtual void SetUp() override 17 17 { 18 18 new IdentifierManager(); … … 21 21 } 22 22 23 virtual void TearDown() 23 virtual void TearDown() override 24 24 { 25 25 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/object/ContextTest.cc
r10765 r10846 21 21 { 22 22 public: 23 virtual void SetUp() 23 virtual void SetUp() override 24 24 { 25 25 new IdentifierManager(); … … 28 28 } 29 29 30 virtual void TearDown() 30 virtual void TearDown() override 31 31 { 32 32 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/object/IteratorTest.cc
r10765 r10846 15 15 { 16 16 public: 17 TestInterface() { RegisterObject(TestInterface); }17 TestInterface() { RegisterObject(TestInterface); } 18 18 }; 19 19 … … 32 32 { 33 33 public: 34 virtual void SetUp() 34 virtual void SetUp() override 35 35 { 36 36 new IdentifierManager(); … … 39 39 } 40 40 41 virtual void TearDown() 41 virtual void TearDown() override 42 42 { 43 43 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/object/ListableTest.cc
r10765 r10846 37 37 { 38 38 public: 39 virtual void SetUp() 39 virtual void SetUp() override 40 40 { 41 41 new IdentifierManager(); … … 44 44 } 45 45 46 virtual void TearDown() 46 virtual void TearDown() override 47 47 { 48 48 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/object/ObjectListIteratorTest.cc
r10765 r10846 15 15 { 16 16 public: 17 TestInterface() { RegisterObject(TestInterface); }17 TestInterface() { RegisterObject(TestInterface); } 18 18 }; 19 19 … … 32 32 { 33 33 public: 34 virtual void SetUp() 34 virtual void SetUp() override 35 35 { 36 36 new IdentifierManager(); … … 39 39 } 40 40 41 virtual void TearDown() 41 virtual void TearDown() override 42 42 { 43 43 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/object/ObjectListTest.cc
r10765 r10846 24 24 { 25 25 public: 26 virtual void SetUp() 26 virtual void SetUp() override 27 27 { 28 28 new IdentifierManager(); … … 31 31 } 32 32 33 virtual void TearDown() 33 virtual void TearDown() override 34 34 { 35 35 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/core/singleton/ScopeTest.cc
r10765 r10846 26 26 { 27 27 public: 28 virtual void SetUp() 28 virtual void SetUp() override 29 29 { 30 30 new IdentifierManager(); … … 35 35 } 36 36 37 virtual void TearDown() 37 virtual void TearDown() override 38 38 { 39 39 Context::destroyRootContext(); -
code/branches/cpp11_v2/test/util/output/BaseWriterTest.cc
r9545 r10846 30 30 MOCK_METHOD2(printLine, void(const std::string&, OutputLevel)); 31 31 32 virtual void output(OutputLevel level, const OutputContextContainer& context, const std::vector<std::string>& lines) 32 virtual void output(OutputLevel level, const OutputContextContainer& context, const std::vector<std::string>& lines) override 33 33 { this->BaseWriter::output(level, context, lines); } 34 34 }; -
code/branches/cpp11_v2/test/util/output/ConsoleWriterTest.cc
r10829 r10846 12 12 { 13 13 public: 14 virtual void SetUp() 14 virtual void SetUp() override 15 15 { 16 16 // reset output manager … … 18 18 } 19 19 20 virtual void TearDown() 20 virtual void TearDown() override 21 21 { 22 22 } -
code/branches/cpp11_v2/test/util/output/LogWriterTest.cc
r10829 r10846 12 12 { 13 13 public: 14 virtual void printLine(const std::string& line, OutputLevel level) 14 virtual void printLine(const std::string& line, OutputLevel level) override 15 15 { this->LogWriter::printLine(line, level); } 16 16 }; … … 20 20 { 21 21 public: 22 virtual void SetUp() 22 virtual void SetUp() override 23 23 { 24 24 // reset output manager … … 26 26 } 27 27 28 virtual void TearDown() 28 virtual void TearDown() override 29 29 { 30 30 } -
code/branches/cpp11_v2/test/util/output/MemoryWriterTest.cc
r10829 r10846 19 19 { 20 20 public: 21 virtual void SetUp() 21 virtual void SetUp() override 22 22 { 23 23 // reset output manager … … 25 25 } 26 26 27 virtual void TearDown() 27 virtual void TearDown() override 28 28 { 29 29 }
Note: See TracChangeset
for help on using the changeset viewer.