| | |
| | | @isTest |
| | | private class AWSServiceToolTest { |
| | | /*static testMethod void testMethod1() { |
| | | static testMethod void testMethod1() { |
| | | TestDataUtility.CreatePIPolicyConfiguration(); |
| | | Account acc = TestDataUtility.CreateAccounts(1)[0]; |
| | | Map<String,Object> accMap = new Map<String,Object>(); |
| | |
| | | PIHelper.getPIIntegrationInfo('Document'); |
| | | |
| | | Test.startTest(); |
| | | // AWSServiceTool.getAWSToken(); |
| | | AWSServiceTool.getAWSServiceStatus(); |
| | | AWSServiceTool.getAWSToken(); |
| | | |
| | | Set<String> dataids = new Set<String>(); |
| | | String data = '12345678'; |
| | |
| | | |
| | | AWSServiceTool.deleteFileAddress(dataids); |
| | | Test.stopTest(); |
| | | }*/ |
| | | static testMethod void testMethod2() { |
| | | } |
| | | /*static testMethod void testMethod2() { |
| | | // TestDataUtility.CreatePIPolicyConfiguration(); |
| | | Account acc = TestDataUtility.CreateAccounts(1)[0]; |
| | | Map<String,Object> accMap = new Map<String,Object>(); |
| | |
| | | Test.startTest(); |
| | | AWSServiceTool.getAWSToken(); |
| | | Test.stopTest(); |
| | | } |
| | | /*static testMethod void testMethod3() { |
| | | Test.startTest(); |
| | | AWSServiceTool.getNoPIContact('Test',''); |
| | | AWSServiceTool.getNoPIContact('','0010l00001PQFkhAAH'); |
| | | Test.stopTest(); |
| | | }*/ |
| | | static testMethod void testMethod3() { |
| | | String searchContactName = 'test'; |
| | | String accountId = '0010l00001PQFkhAAH'; |
| | | |
| | | Test.startTest(); |
| | | AWSServiceTool.getNoPIContact(searchContactName,accountId); |
| | | Test.stopTest(); |
| | | } |
| | | } |