高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/classes/PagePlusTest.cls
@@ -1,20 +1,13 @@
@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();