Changeset 11071 for code/trunk/test/core/command
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/test/core/command/CommandTest.cc
r10624 r11071 129 129 ModifyConsoleCommand("test").popObject(); 130 130 else if (a == 1) 131 ModifyConsoleCommand("test").setFunction(FunctorPtr( 0));131 ModifyConsoleCommand("test").setFunction(FunctorPtr(nullptr)); 132 132 else if (a == -1) 133 133 ModifyConsoleCommand("test").popFunction(); … … 138 138 { 139 139 public: 140 virtual void SetUp() 140 virtual void SetUp() override 141 141 { 142 142 new IdentifierManager(); 143 143 new ConsoleCommandManager(); 144 144 ModuleInstance::getCurrentModuleInstance()->loadAllStaticallyInitializedInstances(StaticInitialization::CONSOLE_COMMAND); 145 Context::setRootContext(new Context( NULL));145 Context::setRootContext(new Context(nullptr)); 146 146 Identifier::initConfigValues_s = false; // TODO: hack! 147 147 IdentifierManager::getInstance().createClassHierarchy(); 148 148 } 149 149 150 virtual void TearDown() 150 virtual void TearDown() override 151 151 { 152 152 IdentifierManager::getInstance().destroyClassHierarchy();
Note: See TracChangeset
for help on using the changeset viewer.