array Bla_nextFree189 integer Bla_firstFree158 integer Bla_maxIndex175 array Bla_typeId127 array Bla_i424 array Bla_j162 integer wurst_stack_depth256 array wurst_stack185 integer Bla_k115 = 36 integer Bla_firstFree158 = 0 integer Bla_maxIndex175 = 0 integer wurst_stack_depth256 = 0 function initGlobals181() { } function main963() { initGlobals181(); init_test272("when calling init_test in Classes_construct.wurst, line 1"); } function config175() { } function init_test272(string __wurst_stackPos469) { local integer b394 local integer test_Bla_getJ_result206 wurst_stack_185[wurst_stack_depth_256] = __wurst_stackPos_469; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); b_394 = new_Bla681(14, "when calling new_Bla in Classes_construct.wurst, line 31"); wurst_stack_185[wurst_stack_depth_256] = "when calling getI in Classes_construct.wurst, line 32"; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); if (Bla_typeId_127[b_394] == 0) { if (b_394 == 0) { error113("Nullpointer exception when calling Bla.getI", "when calling error in Classes_construct.wurst, line 16"); } else { error113("Called Bla.getI on invalid object.", "when calling error in Classes_construct.wurst, line 16"); }; } else { }; test_Bla_getJ_result_206 = Bla_i_424[b_394]; wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); if (test_Bla_getJ_result_206 != 13) { testFail651("i"); } else { wurst_stack_185[wurst_stack_depth_256] = "when calling getJ in Classes_construct.wurst, line 34"; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); if (Bla_typeId_127[b_394] == 0) { if (b_394 == 0) { error113("Nullpointer exception when calling Bla.getJ", "when calling error in Classes_construct.wurst, line 20"); } else { error113("Called Bla.getJ on invalid object.", "when calling error in Classes_construct.wurst, line 20"); }; } else { }; test_Bla_getJ_result_206 = Bla_j_162[b_394]; wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); if (test_Bla_getJ_result_206 != 14) { testFail651("j"); } else { wurst_stack_185[wurst_stack_depth_256] = "when calling getK in Classes_construct.wurst, line 36"; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); if (Bla_typeId_127[b_394] == 0) { if (b_394 == 0) { error113("Nullpointer exception when calling Bla.getK", "when calling error in Classes_construct.wurst, line 24"); } else { error113("Called Bla.getK on invalid object.", "when calling error in Classes_construct.wurst, line 24"); }; } else { }; wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); testSuccess814(); }; }; wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); } IS_NATIVE function testFail651(string msg168) { } IS_NATIVE function testSuccess814() { } function new_Bla681(integer j986, string __wurst_stackPos201) returns integer { local integer this202 wurst_stack_185[wurst_stack_depth_256] = __wurst_stackPos_201; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); wurst_stack_185[wurst_stack_depth_256] = "when calling alloc_Bla in Classes_construct.wurst, line 12"; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); if (Bla_firstFree_158 == 0) { if (Bla_maxIndex_175 < 32768) { Bla_maxIndex_175 = (Bla_maxIndex_175 + 1); this_202 = Bla_maxIndex_175; Bla_typeId_127[this_202] = 1; } else { error113("Out of memory: Could not create Bla.", "when calling error in Classes_construct.wurst, line 7"); this_202 = 0; }; } else { Bla_firstFree_158 = (Bla_firstFree_158 - 1); this_202 = Bla_nextFree_189[Bla_firstFree_158]; Bla_typeId_127[this_202] = 1; }; wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); Bla_i_424[this_202] = 13; Bla_j_162[this_202] = 27; Bla_j_162[this_202] = j_986; wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); return this_202; } function error113(string msg143, string __wurst_stackPos558) { local integer stacktraceIndex122 local integer stacktraceLimit984 wurst_stack_185[wurst_stack_depth_256] = __wurst_stackPos_558; wurst_stack_depth_256 = (wurst_stack_depth_256 + 1); __wurst_stackPos_558 = ""; stacktraceIndex_122 = wurst_stack_depth_256; stacktraceLimit_984 = 0; loop { stacktraceIndex_122 = (stacktraceIndex_122 - 1); stacktraceLimit_984 = (stacktraceLimit_984 + 1); exitwhen ((stacktraceLimit_984 > 20) or (stacktraceIndex_122 < 0)); __wurst_stackPos_558 = (__wurst_stackPos_558 + (" " + wurst_stack_185[stacktraceIndex_122])); }; $debugPrint112((msg_143 + (" " + __wurst_stackPos_558))); wurst_stack_depth_256 = (wurst_stack_depth_256 - 1); }