示例#1
0
 public static void OnDemand()
 {
     if (UserChecker.ItIsMe())
     {
         OnceOnlyWriter.WriteLine(SauceOpsConstants.ON_DEMAND, Enviro.SauceOnDemandBrowsers);
     }
 }
示例#2
0
 public static void CopyrightBanner()
 {
     OnceOnlyWriter.WriteLine(SauceOpsConstants.CONSOLE_RUNNER, Saucery3Constants.PRODUCTNAME /*, NuGetHelper.GetInstalledVersion()*/);
     OnceOnlyWriter.WriteLine(SauceOpsConstants.COPYRIGHT_NOTICE, GetCurrentYear());
     //NewVersionAvailable();
     OnceOnlyWriter.WriteLine(SauceOpsConstants.SPACE);
 }
示例#3
0
 internal static void RestApiLimitExceeded()
 {
     OnceOnlyWriter.WriteLine(SauceOpsConstants.RESTAPI_LIMIT_EXCEEDED_MSG);
 }
示例#4
0
 public static void DaysRemaining(double remaining)
 {
     OnceOnlyWriter.WriteLine(SauceOpsConstants.DAYS_REMAINING, remaining);
 }
示例#5
0
 public static void UsingTrial()
 {
     OnceOnlyWriter.WriteLine(SauceOpsConstants.TRIAL_VERSION, Saucery3Constants.PRODUCTNAME);
 }
示例#6
0
 public static void UsingLicenced()
 {
     OnceOnlyWriter.WriteLine(SauceOpsConstants.LICENCED_VERSION, Saucery3Constants.PRODUCTNAME);
 }
示例#7
0
 public static void TestingOn(List <SaucePlatform> platforms)
 {
     OnceOnlyWriter.WriteLine(platforms.Any()
         ? string.Format(SauceOpsConstants.TESTING_ON, platforms.Count, GetMoniker(platforms))
         : SauceOpsConstants.NO_PLATFORMS);
 }