fun make(bulk: BulkTest) { val c: Class<*> = bulk.getClass() val all: Array<Method> = c.methods for (i in all.indices) { if (isTest(all[i])) addTest(bulk, all[i]) if (isBulk(all[i])) addBulk(bulk, all[i]) } }
Appends all the simple tests and bulk tests defined by the given instance 's class to the current TestSuite .