19 #include <ndb_global.h>
21 #include <ArrayList.hpp>
26 #include "arrayListTest.cpp"
27 #include "arrayPoolTest.cpp"
29 NDB_COMMAND(al_test,
"al_test",
"al_test",
"al_test", 65535)
32 srand(NdbTick_CurrentMillisecond());
35 ndbout << endl << endl <<
"-- Testing basic basic seize/release" << endl;
36 ArrayListTest::tryList0(10);
38 ndbout << endl << endl <<
"-- Testing basic seize/release" << endl;
41 ndbout << endl << endl <<
"-- Testing that seize returns RNIL"
45 ndbout << endl << endl <<
"-- Testing access out of array" << endl;
50 ndbout << endl << endl <<
"-- Testing basic seize/release" << endl;
53 ndbout << endl << endl <<
"-- Testing that seize returns RNIL"
57 ndbout << endl << endl <<
"-- Testing access out of array" << endl;
60 ndbout << endl << endl <<
"-- Testing releasing none seized element" << endl;
66 ErrorReporter::handleBlockAssert(
int line)
68 ndbout <<
"ErrorReporter::handleAssert activated - "
69 <<
" line= " << line << endl;