@isTest
|
private class SoqlHelperTest {
|
static testMethod void testMethod1() {
|
String sql = 'SELECT Id,Name FROM Contact WHERE Name != null Limit 1';
|
Test.startTest();
|
//ToInCondition
|
//UpsertList
|
Set<string> strSet = new Set<string>{'12321','ewqewq'};
|
SoqlHelper.ToInCondition(strSet);
|
// SoqlHelper.ToInCondition(lartest, key);
|
SoqlHelper.DistinctQueryFields(sql);
|
SoqlHelper.WId('wdeqdwqwq');/*
|
SoqlHelper.InsertList(new List<Contact>{con});
|
SoqlHelper.UpdateList(new List<Contact>{con});
|
SoqlHelper.DeleteList(new List<Contact>{con});
|
SoqlHelper.DeleteListAsync(conidList);*/
|
Test.stopTest();
|
|
}
|
}
|