public static ICollection <TestFixtureData> Data() { RunnerSearchConfig searchConfig = new RunnerSearchConfig(); searchConfig.AddPackageToRunnerSearchPath("iText.Samples.Signatures.Chapter02"); searchConfig.AddPackageToRunnerSearchPath("iText.Samples.Signatures.Chapter03"); searchConfig.AddPackageToRunnerSearchPath("iText.Samples.Signatures.Chapter04"); // Samples are run by separate samples runner searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter02.C2_12_LockFields"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter02.C2_10_SequentialSignatures"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter02.C2_09_SignatureTypes"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter02.C2_11_SignatureWorkflow"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter04.C4_07_ClientServerSigning"); // Samples require a valid certificate which is issued by the service that provides CRL access point searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_02_GetCrlUrl"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_03_SignWithCRLDefaultImp"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_04_SignWithCRLOnline"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_05_SignWithCRLOffline"); // Samples require a valid certificate which is issued by the service that provides OCSP searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_06_GetOcspUrl"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_07_SignWithOCSP"); // Samples require a valid certificate which is issued by the service that provides TSA access point searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_08_GetTsaUrl"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_09_SignWithTSA"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_10_SignWithTSAEvent"); searchConfig.IgnorePackageOrClass("iText.Samples.Signatures.Chapter03.C3_12_SignWithEstimatedSize"); return(GenerateTestsList(Assembly.GetExecutingAssembly(), searchConfig)); }
public static ICollection <TestFixtureData> Data() { RunnerSearchConfig searchConfig = new RunnerSearchConfig(); searchConfig.AddPackageToRunnerSearchPath("iText.Samples.Htmlsamples.Chapter05.C05E03_Invitations"); return(GenerateTestsList(Assembly.GetExecutingAssembly(), searchConfig)); }
public static ICollection <TestFixtureData> Data() { RunnerSearchConfig searchConfig = new RunnerSearchConfig(); searchConfig.AddPackageToRunnerSearchPath("Tutorial"); searchConfig.IgnorePackageOrClass("Tutorial.Chapter06.C06E09_FillOutFlattenAndMergeForms"); searchConfig.IgnorePackageOrClass("Tutorial.JumpStartWrapperTest"); searchConfig.IgnorePackageOrClass("Tutorial.C06E09_FillOutFlattenAndMergeFormsWrapperTest"); #if !NETSTANDARD2_0 return(GenerateTestsList(Assembly.GetExecutingAssembly(), searchConfig)); #else return(GenerateTestsList(typeof(JumpStartWrapperTest).GetTypeInfo().Assembly, searchConfig)); #endif }
public static ICollection <TestFixtureData> Data() { RunnerSearchConfig searchConfig = new RunnerSearchConfig(); searchConfig.AddPackageToRunnerSearchPath("iText.Samples.Htmlsamples"); // Samples are run by separate samples runner searchConfig.IgnorePackageOrClass("iText.Samples.Htmlsamples.Chapter05.C05E03_Invitations"); searchConfig.IgnorePackageOrClass("iText.Samples.Htmlsamples.Chapter07.C07E04_CreateFromURL"); searchConfig.IgnorePackageOrClass("iText.Samples.Htmlsamples.Chapter07.C07E05_CreateFromURL2"); searchConfig.IgnorePackageOrClass("iText.Samples.Htmlsamples.Chapter07.C07E06_CreateFromURL3"); // Should not be run due to falling on different systems with different system fonts searchConfig.IgnorePackageOrClass("iText.Samples.Htmlsamples.Chapter06.C06E03_SystemFonts"); return(GenerateTestsList(Assembly.GetExecutingAssembly(), searchConfig)); }
public static ICollection <TestFixtureData> Data() { RunnerSearchConfig searchConfig = new RunnerSearchConfig(); searchConfig.AddPackageToRunnerSearchPath("iText.Highlevel"); searchConfig.IgnorePackageOrClass("iText.Highlevel.Chapter01.C01E05_Czech_Russian_Korean_Right"); searchConfig.IgnorePackageOrClass("iText.Highlevel.Chapter01.C01E06_Czech_Russian_Korean_Unicode"); searchConfig.IgnorePackageOrClass("iText.Highlevel.Chapter02.C02E15_ShowTextAlignedKerned"); searchConfig.IgnorePackageOrClass("iText.Highlevel.Chapter07.C07E14_Encrypted"); searchConfig.IgnorePackageOrClass("iText.Highlevel.Notused"); searchConfig.IgnorePackageOrClass("iText.Highlevel.Util"); searchConfig.IgnorePackageOrClass("iText.Highlevel.HighLevelWrapperTest"); searchConfig.IgnorePackageOrClass("iText.Highlevel.HighLevelWrapperWithEncryptionTest"); searchConfig.IgnorePackageOrClass("iText.Highlevel.HighLevelWrapperWithLicenseTest"); return(GenerateTestsList(Assembly.GetExecutingAssembly(), searchConfig)); }
public static ICollection <TestFixtureData> Data() { RunnerSearchConfig searchConfig = new RunnerSearchConfig(); searchConfig.AddPackageToRunnerSearchPath("iText.Samples.Sandbox"); // Samples are run by separate samples runner searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Fonts.MergeAndAddFont"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Pdfhtml.PdfHtmlResponsiveDesign"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Security.DecryptPdf"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Security.DecryptPdf2"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Security.EncryptPdf"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Security.EncryptWithCertificate"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Parse.ExtractStreams"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Annotations.RemoteGoto"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Annotations.RemoteGoToPage"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Logging.CounterDemoSystemOut"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Merge.MergeAndCount"); // Not a sample classes searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Pdfhtml.Colorblindness"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Pdfhtml.Qrcodetag"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Pdfhtml.Headertagging"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Merge.Densemerger.PageVerticalAnalyzer"); searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Merge.Densemerger.PdfDenseMerger"); // TODO DEVSIX-3189 searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Tables.TableBorder"); // TODO DEVSIX-3188 searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Tables.SplitRowAtEndOfPage"); // TODO DEVSIX-3188 searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Tables.SplitRowAtSpecificRow"); // TODO DEVSIX-3187 searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Tables.RepeatLastRows"); // TODO DEVSIX-3187 searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Tables.RepeatLastRows2"); // TODO DEVSIX-3326 searchConfig.IgnorePackageOrClass("iText.Samples.Sandbox.Tables.SplittingNestedTable2"); return(GenerateTestsList(Assembly.GetExecutingAssembly(), searchConfig)); }