Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/tests/test_ComponentManager.h
Show First 20 Lines • Show All 796 Lines • ▼ Show 20 Lines | |||||
- id: 3\n\ | - id: 3\n\ | ||||
TestScript1_nontree:\n\ | TestScript1_nontree:\n\ | ||||
comp: ({x:[[2], [2], [], {y:[2]}]})\n\ | comp: ({x:[[2], [2], [], {y:[2]}]})\n\ | ||||
\n\ | \n\ | ||||
- id: 4\n\ | - id: 4\n\ | ||||
TestScript1_custom:\n\ | TestScript1_custom:\n\ | ||||
comp: {\n\ | comp: {\n\ | ||||
\"c\": 1\n\ | \"c\": 1\n\ | ||||
} (raw: ({y:2}))\n\ | }\n\ | ||||
\n" | \n" | ||||
); | ); | ||||
std::stringstream stateStream; | std::stringstream stateStream; | ||||
TS_ASSERT(man.SerializeState(stateStream)); | TS_ASSERT(man.SerializeState(stateStream)); | ||||
CSimContext context2; | CSimContext context2; | ||||
CComponentManager man2(context2, g_ScriptContext); | CComponentManager man2(context2, g_ScriptContext); | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator