File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
itext.tests/itext.html2pdf.tests/itext/html2pdf/css Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -38,30 +38,26 @@ disclosing the source code of your own applications.
3838source product.
3939
4040For more information, please contact iText Software Corp. at this
41- 41+ 42+ */
4243using System ;
4344using System . IO ;
4445using iText . IO . Util ;
45- using System . Collections . Generic ;
46- using System . Reflection ;
47- using System . IO ;
48- using Versions . Attributes ;
49- using iText . Kernel ;
50- using iText . Test ;
51- using iText . StyledXmlParser . Css . Parse ;
5246using iText . StyledXmlParser . Css ;
47+ using iText . StyledXmlParser . Css . Parse ;
48+ using iText . Test ;
5349
5450namespace iText . Html2pdf . Css {
5551 public class CssStyleSheetParserTest : ExtendedITextTest {
56- private static readonly String sourceFolder = TestUtil . GetParentProjectDirectory ( NUnit . Framework . TestContext . CurrentContext . TestDirectory ) + "/resources/itext/html2pdf/css/CssStyleSheetParserTest/" ;
52+ private static readonly String sourceFolder = iText . Test . TestUtil . GetParentProjectDirectory ( NUnit . Framework . TestContext
53+ . CurrentContext . TestDirectory ) + "/resources/itext/html2pdf/css/CssStyleSheetParserTest/" ;
5754
5855 private const String DEFAULT_CSS_PATH = "iText.Html2Pdf.default.css" ;
59-
6056
6157 [ NUnit . Framework . Test ]
6258 public virtual void TestDefaultCss ( ) {
6359 String cmpFile = sourceFolder + "cmp_default.css" ;
64- CssStyleSheet styleSheet = CssStyleSheetParser . Parse ( ResourceUtil . GetResourceStream ( DEFAULT_CSS_PATH , typeof ( HtmlConverter ) ) ) ;
60+ CssStyleSheet styleSheet = CssStyleSheetParser . Parse ( ResourceUtil . GetResourceStream ( DEFAULT_CSS_PATH ) ) ;
6561 NUnit . Framework . Assert . AreEqual ( GetCssFileContents ( cmpFile ) , styleSheet . ToString ( ) ) ;
6662 }
6763
You can’t perform that action at this time.
0 commit comments