public void SetUp() { _pdfProcessor = BuildPdfProcessor(); var bootstrapper = new IntegrationTestBootstrapper(); var container = bootstrapper.ConfigureContainer(); _th = container.GetInstance <TestHelper>(); _th.InitTempFolder($"PDFProcessing_{_pdfProcessor.GetType().Name}_Combined"); }
public void SetUp() { _pdfProcessor = BuildPdfProcessor(); var bootstrapper = new IntegrationTestBootstrapper(); var container = bootstrapper.ConfigureContainer(); container.Options.AllowOverridingRegistrations = true; container.Register(() => _pdfProcessor); container.Options.AllowOverridingRegistrations = false; _th = container.GetInstance <TestHelper>(); _th.InitTempFolder($"PDFProcessing_{_pdfProcessor.GetType().Name}_PDFA"); }
public void SetUp() { _pdfProcessor = BuildPdfProcessor(); var bootstrapper = new IntegrationTestBootstrapper(); var container = bootstrapper.ConfigureContainer(); _th = container.GetInstance <TestHelper>(); _th.InitTempFolder($"PDFProcessing_{_pdfProcessor.GetType().Name}_Encryption"); _th.GenerateGsJob_WithSetOutput(TestFile.PDFCreatorTestpage_GS9_19_PDF); _th.Job.Passwords.PdfOwnerPassword = "******"; _th.Job.Passwords.PdfUserPassword = "******"; }
private void InitializeTest(TestFile tf) { _pdfProcessor = BuildPdfProcessor(); var bootstrapper = new IntegrationTestBootstrapper(); var container = bootstrapper.ConfigureContainer(); _th = container.GetInstance <TestHelper>(); _th.InitTempFolder($"PDFProcessing_{_pdfProcessor.GetType().Name}_XMPMetadata"); _th.GenerateGsJob_WithSetOutput(tf); //Settings of the set outputfile _th.Job.JobInfo.Metadata.Title = "Test Title"; _th.Job.JobInfo.Metadata.Subject = "Test Subject"; _th.Job.JobInfo.Metadata.Keywords = "Test Keywords"; _th.Job.JobInfo.Metadata.Author = "Test Author"; }
public void SetUp() { PdfProcessor = BuildPdfProcessor(); var bootstrapper = new IntegrationTestBootstrapper(); var container = bootstrapper.ConfigureContainer(); _accounts = new Accounts(); _timeServerAccount = new TimeServerAccount(); _accounts.TimeServerAccounts.Add(_timeServerAccount); TestHelper = container.GetInstance <TestHelper>(); TestHelper.InitTempFolder($"PDFProcessing_{PdfProcessor.GetType().Name}_Signing"); TestHelper.GenerateGsJob_WithSetOutput(TestFile.ThreePDFCreatorTestpagesPDF); TestHelper.Job.Profile.PdfSettings.Signature.AllowMultiSigning = true; ApplySignatureSettings(); }