Add database testing module with array tests
This commit is contained in:
parent
a830c894ac
commit
237259d509
@ -22,3 +22,27 @@ class database {
|
|||||||
createTable(myTable);
|
createTable(myTable);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class database.test {
|
||||||
|
function arrayTest1.setup() {
|
||||||
|
::database.test.arrayTest1.array = [];
|
||||||
|
for ($i=0;$i<=500;$i++) {
|
||||||
|
::database.test.arrayTest1.array << "array item &<$i>";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function arrayTest1.clean() {
|
||||||
|
::database.test.arrayTest1.array.del();
|
||||||
|
}
|
||||||
|
function arrayTest1.run() {
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function arrayTest2.setup() {
|
||||||
|
::database.test.arrayTest2.arrays = [];
|
||||||
|
::database.test.arrayTest2.index = [];
|
||||||
|
}
|
||||||
|
function arrayTest2.clean() {
|
||||||
|
}
|
||||||
|
function arrayTest2.run() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user