public SignatureVerifierTests() { testCmdletDirPath = System.Environment.CurrentDirectory; exceptionsDirPath = Path.Combine(testCmdletDirPath, "Exceptions"); analysisLogger = new AnalysisLogger(testCmdletDirPath, exceptionsDirPath); cmdletSignatureVerifier = new StaticAnalysis.SignatureVerifier.SignatureVerifier(); cmdletSignatureVerifier.Logger = analysisLogger; }
public SignatureVerifierTests() { _testCmdletDirPath = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().CodeBase).AbsolutePath); _exceptionsDirPath = Path.Combine(_testCmdletDirPath, "Exceptions"); analysisLogger = new AnalysisLogger(_testCmdletDirPath, _exceptionsDirPath); cmdletSignatureVerifier = new StaticAnalysis.SignatureVerifier.SignatureVerifier(); cmdletSignatureVerifier.Logger = analysisLogger; }