From 22ba9e10772aa5312531ef46c37e7777c604b3b4 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Fri, 12 Mar 2021 22:04:07 +0100 Subject: [PATCH] Added tests --- .../html5/PageStartWith10.java | 29 ++++++++++++++++++ .../html5/PageStartWith10InSection.java | 29 ++++++++++++++++++ testdocuments/input/start_page_from_10.odt | Bin 0 -> 10682 bytes .../input/start_page_from_10_in_section.odt | Bin 0 -> 10757 bytes testdocuments/model/start_page_from_10.html | 23 ++++++++++++++ 5 files changed, 81 insertions(+) create mode 100644 src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10.java create mode 100644 src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10InSection.java create mode 100644 testdocuments/input/start_page_from_10.odt create mode 100644 testdocuments/input/start_page_from_10_in_section.odt create mode 100644 testdocuments/model/start_page_from_10.html diff --git a/src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10.java b/src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10.java new file mode 100644 index 0000000..954dfa4 --- /dev/null +++ b/src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10.java @@ -0,0 +1,29 @@ +package w2phtml.regressionTests.html5; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import org.apache.commons.io.FileUtils; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +public class PageStartWith10 { + @Test + @DisplayName("start page from 10 in section") + void testExample() throws Exception { + String testName = "start_page_from_10_in_section"; + List arguments = new ArrayList(); + arguments.add("-page_break_style"); + arguments.add("height:3em;margin-top:1em;margin-bottom:1em;background-color:red;"); + arguments.add("-html5"); + arguments.add("./testdocuments/input/" + testName + ".odt"); + arguments.add("./testdocuments/output/" + testName + ".html"); + w2phtml.Application.main(arguments.toArray(new String[0])); + File result = new File("./testdocuments/output/" + testName + ".html"); + File model = new File("./testdocuments/model/" + testName + ".html"); + assertTrue(FileUtils.contentEquals(result, model), "The files differ!"); + } +} diff --git a/src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10InSection.java b/src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10InSection.java new file mode 100644 index 0000000..096c42b --- /dev/null +++ b/src/r_tests/java/w2phtml/regressionTests/html5/PageStartWith10InSection.java @@ -0,0 +1,29 @@ +package w2phtml.regressionTests.html5; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +import java.io.File; +import java.util.ArrayList; +import java.util.List; + +import org.apache.commons.io.FileUtils; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +public class PageStartWith10InSection { + @Test + @DisplayName("start page from 10") + void testExample() throws Exception { + String testName = "start_page_from_10"; + List arguments = new ArrayList(); + arguments.add("-page_break_style"); + arguments.add("height:3em;margin-top:1em;margin-bottom:1em;background-color:red;"); + arguments.add("-html5"); + arguments.add("./testdocuments/input/" + testName + ".odt"); + arguments.add("./testdocuments/output/" + testName + ".html"); + w2phtml.Application.main(arguments.toArray(new String[0])); + File result = new File("./testdocuments/output/" + testName + ".html"); + File model = new File("./testdocuments/model/" + testName + ".html"); + assertTrue(FileUtils.contentEquals(result, model), "The files differ!"); + } +} diff --git a/testdocuments/input/start_page_from_10.odt b/testdocuments/input/start_page_from_10.odt new file mode 100644 index 0000000000000000000000000000000000000000..5a75de0fddeb23c09a55591df765974234f3d56f GIT binary patch literal 10682 zcmd6NWmFx@*6qe!LXZF(48|mxW*iu>R>JLW`n|sqB`y8|T>W$2DQbRykza3~WPH$)MQ-q*CO+s024U3kS z$}ZeXpV}zpr(X&CI($ikxXGt9rAd}l5rd-lx_bT`EmbXkal#D8%yc0ZX*kTWrei_^ zZHbL3HideyGY%WFc3Vjbm3`PLjYK_i)i{OuHKdNRfDd>$|EFqa>-V8RgA?$oqI~d; z7^|TLs6(a0X(5P2Iq0g`J&qcPKzMLtQBCPL-PoIBcFJUF6)E8ZFoo-UnTP<5V8*QzB!{Pk~XJn>jpl3tPZDebvWoh%j ze5j>`rJd#TR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bZa&OATFyPy= zAq$qaf$8on7;Ct=Oa<307SbdWmU7KUl|pslO}h|ke_;of5R{Wt${`H;iOx(V85RXa zsPG7BCvB?;X8>;FXZgI!i0(-~q&(B`x7C3ZVj_DLE`V`)+jhS*IaDI&co|Ax_6{#C zAVbht8Ba`L&KlqQCNA0w$T&os!N&(N`?l{x09>9RZc#bADMxlcm7A|^Yc9PxrP6(`}upzeZLRp+61#*^&H=j{Xz( jtKa$V;D4GI(I4EsqzJ@wD*StP2nCS-?5-e)zn}dd%oP-6 literal 0 HcmV?d00001 diff --git a/testdocuments/input/start_page_from_10_in_section.odt b/testdocuments/input/start_page_from_10_in_section.odt new file mode 100644 index 0000000000000000000000000000000000000000..9f0c57ffe8a54690891eaeb4a8caa10aa05bb1ea GIT binary patch literal 10757 zcmd6NWmH_twsqqgAcUZe2X}XOcL)-KH{Q5QAh=s_5AG5m(0Cv?!2-cOxH|-RaPP=X z?)gs6c<M@F!nsjUgv*xAO^)``){)XhoxUu1}gi2ovc z!2c&uAFgZ+Z7s}99i12*Ow5Mjhiu<6V+0)V2bvCl6J~;gbD-{Tw9IPf2zm*}bexL0 z&>9u5sghT+oi(vqA<4EFwLWytjJ77BJz+qbTAhGt`r^aP>GO9&Qa?hmFk6p4%=Y9citRocw8!egh!NWl?5(qki ztt~BrT}`kboJH8v-kX$xOVL2AeYY)82N#M8YbkG_O4&uQHsY*9n^~P6-H(K3gR_{? z?CPPMfPmp6af~-l5ZCcx4y74qG9&yjt&&XPi?@7bR1^QbXUOKH$a2={1#a2Bqc={^ zeZ-*_FCQi+$;N2gW-x!@yL%PqQ)Fd11jM+pS~++q0N^bQ0Pyep{Tz({B=6w@_o0b_ zZOtq|&JOPj;??=y^1f6yS}PncVR3~9Ek5*n_pWaOjT)g@bS?{1LKH2wdWZb z7zSa(6B83=B%Uk|j4n^rKTE4*mAAgTryEaCsK9o4Nq@g>)SCF?OO8{F+bnR9*wZwL zBGutcqSM5pZmj9R=k_~6WF;Pkx4c|9mu=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10.html new file mode 100644 index 0000000..7dc6b27 --- /dev/null +++ b/testdocuments/model/start_page_from_10.html @@ -0,0 +1,23 @@ + + + + Default + + + + +
+
+

10 Header

+
+
+

Text

+
+ +
+ +