Ejemplo n.º 1
0
		protected static void AddDefaultAssemblyToCheck(GendarmeTask task)
		{
            AssemblyMatch match1 = new AssemblyMatch();
            match1.Expression = "*.dll";
			AssemblyMatch match2 = new AssemblyMatch();
			match2.Expression = "*.exe";
			task.Assemblies = new AssemblyMatch[] { match1, match2 };
		}
Ejemplo n.º 2
0
		protected void SetUp()
		{
			CreateProcessExecutorMock(GendarmeTask.defaultExecutable);
			result = IntegrationResult();
			result.Label = "1.0";
			result.ArtifactDirectory = Path.GetTempPath();
			logfile = Path.Combine(result.ArtifactDirectory, GendarmeTask.logFilename);
			TempFileUtil.DeleteTempFile(logfile);
			task = new GendarmeTask((ProcessExecutor)mockProcessExecutor.MockInstance);
		}