Skip to content

Commit 787fc32

Browse files
committed
Update autoported files
696e9b5872fb5120ee80f337552ad78d21dc000c
1 parent fdfbac2 commit 787fc32

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

itext.tests/itext.html2pdf.tests/itext/html2pdf/css/CssStyleSheetParserTest.cs

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,26 @@ disclosing the source code of your own applications.
3838
source product.
3939
4040
For more information, please contact iText Software Corp. at this
41-
address: [email protected] */
41+
42+
*/
4243
using System;
4344
using System.IO;
4445
using 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;
5246
using iText.StyledXmlParser.Css;
47+
using iText.StyledXmlParser.Css.Parse;
48+
using iText.Test;
5349

5450
namespace 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

0 commit comments

Comments
 (0)