array Bla_nextFree359 integer Bla_firstFree179 integer Bla_maxIndex156 array Bla_typeId159 array Bla_i185 array Bla_j110 integer wurst_stack_depth128 array wurst_stack241 integer Bla_k351 = 36 integer Bla_firstFree179 = 0 integer Bla_maxIndex156 = 0 integer wurst_stack_depth128 = 0 function initGlobals149() { } function main207() { initGlobals149(); init_test368("when calling init_test in Classes_construct.wurst, line 1"); } function config999() { } function init_test368(string __wurst_stackPos207) { local integer b350 local integer test_Bla_getJ_result395 wurst_stack_241[wurst_stack_depth_128] = __wurst_stackPos_207; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); b_350 = new_Bla185(14, "when calling new_Bla in Classes_construct.wurst, line 31"); wurst_stack_241[wurst_stack_depth_128] = "when calling getI in Classes_construct.wurst, line 32"; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); if (Bla_typeId_159[b_350] == 0) { if (b_350 == 0) { error329("Nullpointer exception when calling Bla.getI", "when calling error in Classes_construct.wurst, line 16"); } else { error329("Called Bla.getI on invalid object.", "when calling error in Classes_construct.wurst, line 16"); }; } else { }; test_Bla_getJ_result_395 = Bla_i_185[b_350]; wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); if (test_Bla_getJ_result_395 != 13) { testFail578("i"); } else { wurst_stack_241[wurst_stack_depth_128] = "when calling getJ in Classes_construct.wurst, line 34"; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); if (Bla_typeId_159[b_350] == 0) { if (b_350 == 0) { error329("Nullpointer exception when calling Bla.getJ", "when calling error in Classes_construct.wurst, line 20"); } else { error329("Called Bla.getJ on invalid object.", "when calling error in Classes_construct.wurst, line 20"); }; } else { }; test_Bla_getJ_result_395 = Bla_j_110[b_350]; wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); if (test_Bla_getJ_result_395 != 14) { testFail578("j"); } else { wurst_stack_241[wurst_stack_depth_128] = "when calling getK in Classes_construct.wurst, line 36"; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); if (Bla_typeId_159[b_350] == 0) { if (b_350 == 0) { error329("Nullpointer exception when calling Bla.getK", "when calling error in Classes_construct.wurst, line 24"); } else { error329("Called Bla.getK on invalid object.", "when calling error in Classes_construct.wurst, line 24"); }; } else { }; wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); testSuccess259(); }; }; wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); } IS_NATIVE function testFail578(string msg149) { } IS_NATIVE function testSuccess259() { } function new_Bla185(integer j108, string __wurst_stackPos736) returns integer { local integer this179 wurst_stack_241[wurst_stack_depth_128] = __wurst_stackPos_736; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); wurst_stack_241[wurst_stack_depth_128] = "when calling alloc_Bla in Classes_construct.wurst, line 12"; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); if (Bla_firstFree_179 == 0) { if (Bla_maxIndex_156 < 32768) { Bla_maxIndex_156 = (Bla_maxIndex_156 + 1); this_179 = Bla_maxIndex_156; Bla_typeId_159[this_179] = 1; } else { error329("Out of memory: Could not create Bla.", "when calling error in Classes_construct.wurst, line 7"); this_179 = 0; }; } else { Bla_firstFree_179 = (Bla_firstFree_179 - 1); this_179 = Bla_nextFree_359[Bla_firstFree_179]; Bla_typeId_159[this_179] = 1; }; wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); Bla_i_185[this_179] = 13; Bla_j_110[this_179] = 27; Bla_j_110[this_179] = j_108; wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); return this_179; } function error329(string msg165, string __wurst_stackPos973) { local integer stacktraceIndex451 local integer stacktraceLimit227 wurst_stack_241[wurst_stack_depth_128] = __wurst_stackPos_973; wurst_stack_depth_128 = (wurst_stack_depth_128 + 1); __wurst_stackPos_973 = ""; stacktraceIndex_451 = wurst_stack_depth_128; stacktraceLimit_227 = 0; loop { stacktraceIndex_451 = (stacktraceIndex_451 - 1); stacktraceLimit_227 = (stacktraceLimit_227 + 1); exitwhen ((stacktraceLimit_227 > 20) or (stacktraceIndex_451 < 0)); __wurst_stackPos_973 = (__wurst_stackPos_973 + (" " + wurst_stack_241[stacktraceIndex_451])); }; $debugPrint397((msg_165 + (" " + __wurst_stackPos_973))); wurst_stack_depth_128 = (wurst_stack_depth_128 - 1); }