array Person_nextFree777 integer Person_firstFree148 integer Person_maxIndex549 array Person_typeId252 array Person_name917 integer Person_firstFree148 = 0 integer Person_maxIndex549 = 0 function initGlobals648() { } function main543() { initGlobals648(); init_test141(); } function config175() { } function init_test141() { local integer p159 local string n192 local integer this887 local integer this107 local integer this127 local string n305 local integer this299 local string test_Person_getName_result641 local integer this168 local integer this117 local string n187 local integer this740 local string n186 local integer this373 local string test_Person_getName_result481 local integer this172 n_192 = "peq"; if (Person_firstFree_148 == 0) { if (Person_maxIndex_549 < 32768) { Person_maxIndex_549 = (Person_maxIndex_549 + 1); this_107 = Person_maxIndex_549; Person_typeId_252[this_107] = 1; } else { error274("Out of memory: Could not create Person."); this_107 = 0; }; } else { Person_firstFree_148 = (Person_firstFree_148 - 1); this_107 = Person_nextFree_777[Person_firstFree_148]; Person_typeId_252[this_107] = 1; }; this_887 = this_107; this_127 = this_887; n_305 = n_192; Person_name_917[this_127] = n_305; p_159 = this_887; this_299 = p_159; if (Person_typeId_252[this_299] == 0) { if (this_299 == 0) { error274("Nullpointer exception when calling Person.getName"); } else { error274("Called Person.getName on invalid object."); }; } else { }; this_168 = this_299; test_Person_getName_result_641 = Person_name_917[this_168]; if (test_Person_getName_result_641 != "peq") { testFail121("name != peq"); } else { this_117 = p_159; n_187 = "Frotty"; if (Person_typeId_252[this_117] == 0) { if (this_117 == 0) { error274("Nullpointer exception when calling Person.setName"); } else { error274("Called Person.setName on invalid object."); }; } else { }; this_740 = this_117; n_186 = n_187; Person_name_917[this_740] = n_186; this_373 = p_159; if (Person_typeId_252[this_373] == 0) { if (this_373 == 0) { error274("Nullpointer exception when calling Person.getName"); } else { error274("Called Person.getName on invalid object."); }; } else { }; this_172 = this_373; test_Person_getName_result_481 = Person_name_917[this_172]; if (test_Person_getName_result_481 == "Frotty") { testSuccess158(); } else { testFail121("name != Frotty."); }; }; } IS_NATIVE function testFail121(string msg210) { } IS_NATIVE function testSuccess158() { } function error274(string msg128) { $debugPrint607((msg_128 + (" " + #getStackTrace()))); }