Ejemplo n.º 1
0
			internal Results(ShellContextFactory factory, JsDriver.Arguments arguments, bool trace)
			{
				this.factory = factory;
				this.arguments = arguments;
				FilePath output = arguments.GetOutputFile();
				if (output == null)
				{
					output = new FilePath("rhino-test-results." + new SimpleDateFormat("yyyy.MM.dd.HH.mm.ss").Format(new DateTime()) + ".html");
				}
				this.output = output;
				this.trace = trace;
			}
Ejemplo n.º 2
0
		/// <exception cref="System.Exception"></exception>
		public static void Main(string[] args)
		{
			List<string> arguments = new List<string>();
			Sharpen.Collections.AddAll(arguments, Arrays.AsList(args));
			JsDriver.Arguments clArguments = new JsDriver.Arguments();
			clArguments.Process(arguments);
			Main(clArguments);
		}