public PhantomJSFromJSFiles(ILocalEnvironment environment, string phantomFileLocation, string jasmineTestFileLocation, VerbosityLevel verbosityLevel, int timeOut, string[] sourceFiles, string[] testFiles)
     : base(phantomFileLocation, jasmineTestFileLocation, verbosityLevel, timeOut)
 {
     this.environment = environment;
     this.sourceFiles = sourceFiles;
     this.testFiles = testFiles;
 }
 public PhantomJSFromJSFiles(ILocalEnvironment environment, string phantomFileLocation, string jasmineTestFileLocation, VerbosityLevel verbosityLevel, int timeOut, string[] sourceFiles, string[] testFiles)
     : base(phantomFileLocation, jasmineTestFileLocation, verbosityLevel, timeOut)
 {
     this.environment = environment;
     this.sourceFiles = sourceFiles;
     this.testFiles   = testFiles;
 }
 public LocalOnlyConfigurationFilter([NotNull] ILocalEnvironment localEnvironment)
 {
     if (localEnvironment == null)
     {
         throw new ArgumentNullException(nameof(localEnvironment));
     }
     _localEnvironment = localEnvironment;
 }
 public PhantomJSDefault(ILocalEnvironment environment, string phantomFileLocation, string jasmineTestFileLocation, VerbosityLevel verbosityLevel, int timeOut)
     : base(environment, phantomFileLocation, jasmineTestFileLocation, verbosityLevel, timeOut, null, null)
 {
     var jasmineConfigurationFileLocation = environment.GetJasmineConfigurationFileLocation();
     if (!File.Exists(jasmineConfigurationFileLocation))
     {
         throw new JasmineConfigurationFileDoesNotExistException();
     }
 }
Beispiel #5
0
 public PhantomJSFromConfigFile(ILocalEnvironment environment, string phantomFileLocation, string jasmineTestFileLocation, VerbosityLevel verbosityLevel, int timeOut, string configFile)
     : base(environment, phantomFileLocation, jasmineTestFileLocation, verbosityLevel, timeOut, null, null)
 {
     this.configFile = environment.GetJasmineConfigurationFileLocation(configFile);;
     if (!File.Exists(this.configFile))
     {
         throw new JasmineConfigurationFileDoesNotExistException();
     }
 }
 public PhantomJSFromConfigFile(ILocalEnvironment environment, string phantomFileLocation, string jasmineTestFileLocation, VerbosityLevel verbosityLevel, int timeOut, string configFile)
     : base(environment, phantomFileLocation, jasmineTestFileLocation, verbosityLevel, timeOut, null, null)
 {
     this.configFile = environment.GetJasmineConfigurationFileLocation(configFile); ;
     if (!File.Exists(this.configFile))
     {
         throw new JasmineConfigurationFileDoesNotExistException();
     }
 }
        public PhantomJSDefault(ILocalEnvironment environment, string phantomFileLocation, string jasmineTestFileLocation, VerbosityLevel verbosityLevel, int timeOut)
            : base(environment, phantomFileLocation, jasmineTestFileLocation, verbosityLevel, timeOut, null, null)
        {
            var jasmineConfigurationFileLocation = environment.GetJasmineConfigurationFileLocation();

            if (!File.Exists(jasmineConfigurationFileLocation))
            {
                throw new JasmineConfigurationFileDoesNotExistException();
            }
        }
 public PhantomJSFactory(Arguments args, ILocalEnvironment environment)
 {
     this.args = args;
     this.environment = environment;
 }
 public PhantomJSFactory(Arguments args, ILocalEnvironment environment)
 {
     this.args        = args;
     this.environment = environment;
 }
 public Tools(ILocalEnvironment environment)
 {
     this.environment = environment;
 }
 public Tools(ILocalEnvironment environment)
 {
     this.environment = environment;
 }