@isTest
|
private class ConsumApplyEquipmentSetDetailDailyBatchT {
|
static ConsumTestDataFactory factory;
|
|
// 造出选择完明细的申请
|
static testMethod void testBatch() {
|
factory = new ConsumTestDataFactory();
|
factory.setupTestData();
|
ConsumApplyEquipmentSetDetailDailyBatch bat = new ConsumApplyEquipmentSetDetailDailyBatch(null);
|
Database.executeBatch(bat, 200);
|
}
|
|
static testMethod void testCoverUp() {
|
ConsumApplyEquipmentSetDetailDailyBatch.test();
|
}
|
}
|