Beispiel #1
0
 void VerifyDomainsShouldExist(Guid guidAccountId, uint?uintCount)
 {
     IPlayReadyDomain[] domains = DomainManagement.FindMultipleDomains(guidAccountId);
     if (domains == null)
     {
         TestLogger.LogMessage("Domains not found!!!");
         TestActionFinished(false, null);
     }
     else
     {
         if (!uintCount.HasValue)
         {
             TestActionFinished(true, null);
         }
         else
         {
             if (domains.Length == uintCount.Value)
             {
                 TestLogger.LogMessage("Domain count matched!!!");
                 TestActionFinished(true, null);
             }
             else
             {
                 TestLogger.LogMessage("Domain count not matching!!!");
                 TestActionFinished(false, null);
             }
         }
     }
 }
Beispiel #2
0
 void VerifyDomainsShouldNotExist(Guid guidAccountId)
 {
     IPlayReadyDomain[] domains = DomainManagement.FindMultipleDomains(guidAccountId);
     if (domains == null)
     {
         TestLogger.LogMessage("Domains not found!!!");
         TestActionFinished(true, null);
     }
     else
     {
         TestLogger.LogMessage("Domains found. Count = " + domains.Length);
         TestActionFinished(false, null);
     }
 }