diff --git a/test/Foo.java b/test/Foo.java new file mode 100644 index 0000000..57fed3b --- /dev/null +++ b/test/Foo.java @@ -0,0 +1,20 @@ +import org.w3c.dom.Document; + +import fr.devinsy.xidyn.utils.XidynUtils; + +/** + * + */ +class Foo +{ + /** + * @throws Exception + * + */ + public static void main(final String[] args) throws Exception + { + String source = "

toto

blank
"; + + Document dom = XidynUtils.buildDom(source); + } +} diff --git a/test/fr/devinsy/xidyn/presenters/DomPresenterTest.java b/test/fr/devinsy/xidyn/presenters/DomPresenterTest.java index 8358f00..0c8ff90 100644 --- a/test/fr/devinsy/xidyn/presenters/DomPresenterTest.java +++ b/test/fr/devinsy/xidyn/presenters/DomPresenterTest.java @@ -31,7 +31,7 @@ public class DomPresenterTest @Test public void testDynamize01() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = new StringPresenter(source).dynamize().toString(); @@ -45,7 +45,7 @@ public class DomPresenterTest @Test public void testDynamize02() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = new StringPresenter(source).dynamize(null).toString(); @@ -59,7 +59,7 @@ public class DomPresenterTest @Test public void testDynamize03() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = new StringPresenter(source).dynamize(new TagDataManager()).toString(); @@ -73,7 +73,7 @@ public class DomPresenterTest @Test public void testStaticDynamize01() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = StringPresenter.dynamize(source, null).toString(); @@ -87,7 +87,7 @@ public class DomPresenterTest @Test public void testStaticDynamize02() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = StringPresenter.dynamize(source, new TagDataManager()).toString(); diff --git a/test/fr/devinsy/xidyn/presenters/StringPresenterTest.java b/test/fr/devinsy/xidyn/presenters/StringPresenterTest.java index 39b76d0..301b0ce 100644 --- a/test/fr/devinsy/xidyn/presenters/StringPresenterTest.java +++ b/test/fr/devinsy/xidyn/presenters/StringPresenterTest.java @@ -59,7 +59,7 @@ public class StringPresenterTest @Test public void testDynamize03() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = new StringPresenter(source).dynamize(new TagDataManager()).toString(); @@ -73,7 +73,7 @@ public class StringPresenterTest @Test public void testStaticDynamize01() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = StringPresenter.dynamize(source, null).toString(); @@ -87,7 +87,7 @@ public class StringPresenterTest @Test public void testStaticDynamize02() throws Exception { - String source = "aaaaahellozzzzz"; + String source = "aaaaa
hello
zzzzz"; String target = StringPresenter.dynamize(source, new TagDataManager()).toString(); diff --git a/test/one/Foo2Test.java b/test/one/Foo2Test.java deleted file mode 100644 index 0b98fdf..0000000 --- a/test/one/Foo2Test.java +++ /dev/null @@ -1,21 +0,0 @@ -package one; - -import org.junit.Test; - -public class Foo2Test -{ - // private Logger logger = - // LoggerFactory.getLogger(PdfGenerationAmqpServiceInjectedTest.class); - - /** - * - */ - @Test - public void test2a() - { - // logger.debug("===== test starting..."); - - // logger.debug("===== test done."); - } - -}