| | |
| | | @isTest |
| | | private class PagePlusTest { |
| | | static testMethod void PagePlus() { |
| | | PagePlus pageplis=new PagePlus(2,20); |
| | | PagePlus pageplis2=new PagePlus(2,20); |
| | | pageplis.getPage(); |
| | | pageplis2.getPage(); |
| | | pageplis2.getRecords(); |
| | | pageplis2.getTotal(); |
| | | pageplis2.setTotal(12); |
| | | // エラーでないことを確認 |
| | | new PagePlus(2,20); // エラーでないことを確認 |
| | | } |
| | | // static testMethod void PagePlus(2,20) { |
| | | // new PagePlus(); // エラーでないことを確認 |
| | | // } |
| | | static testMethod void testMethod1() { |
| | | // PagePlus.ControllerUtil(); |
| | | PagePlus.ControllerUtil(); |
| | | // Daily_Report__c dr = new Daily_Report__c(); |
| | | // dr.Reported_Date__c = Date.today(); |
| | | // dr.Reporter__c = Userinfo.getUserId(); |