Hi Pierre,

I committed an updated version of TestTemplateFactory that uses the embedded Derby DB instead.

Your other errors are most probably related to the fact that you didn't configure rife/programs/unittests/config/rep/config- windows_xp.html according to the location of the files on your machine.

I think that the invisible equals differences are related to the linebreak differences. Either SVN converted them to windows at checkout, either something else is as play.

Best regards,

Geert

On 26-jan-06, at 11:09, Raoul Pierre wrote:

Geert,

When I run the unit tests:
                suite.addTest(com.uwyn.rife.template.TestSuiteTemplate.suite());
                suite.addTest(com.uwyn.rife.test.TestSuiteTest.suite());
                suite.addTest(com.uwyn.rife.tools.TestSuiteTools.suite());
with Rife directly copied from CVS, I get many failures and one error, see messages below.

I use Windows XP Pro and I run the test with ant target "test" under Eclipse 3.

It seems there is three types of issue:
- Parser bug: I can't see any difference between the 2 strings; but if I check directly their length, they aren't different! - files not found, e.g. "includes_reload_master" is not found (but there is a "includes_reload_master_in" html file ...) - postgresql is used: I have no such RDBMS installed; should it be possible to choice an other one?

Regards

Pierre

==============================================================

    [java] Time: 62,688
    [java] There was 1 error:
[java] 1) testReloadTransformationDependencies (com.uwyn.rife.template.TestTemplateFactory) com.uwyn.rife.template.exceptions.FilterNotFoundException: Couldn't find the filter 'transformation_reload_dependency2.xsl'. [java] at com.uwyn.rife.template.TemplateTransformerXslt.addFilter (TemplateTransformerXslt.java:106) [java] at com.uwyn.rife.template.TestTemplateFactory.testReloadTransformationDep endencies(TestTemplateFactory.java:3722) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44)
    [java] There were 18 failures:
[java] 1) testParseIncludesOtherType (com.uwyn.rife.template.TestParser) junit.framework.ComparisonFailure: expected:<... [java] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> [java] <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="eng">...> but was:<... [java] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> [java] <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="eng">
    [java] ...>
[java] at com.uwyn.rife.template.TestParser.testParseIncludesOtherType (TestParser.java:638) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 2) testFilteredTagsRenderHtml (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:1'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 2'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:1'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:2'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderHtml( TestTemplateFactory.java:577) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 3) testFilteredTagsRenderXhtml (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:3'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 4'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:3'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:4'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderXhtml (TestTemplateFactory.java:586) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 4) testFilteredTagsRenderXml (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:5'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 6'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:5'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:6'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderXml (TestTemplateFactory.java:595) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 5) testFilteredTagsRenderTxt (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:7'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 8'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:7'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:8'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderTxt (TestTemplateFactory.java:604) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 6) testFilteredTagsRenderSql (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:9'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 10'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:9'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:10'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderSql (TestTemplateFactory.java:613) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 7) testFilteredTagsRenderJava (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:11'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 12'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:11'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:12'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderJava( TestTemplateFactory.java:622) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 8) testFilteredTagsRenderEnginehtml (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:13'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 14'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:13'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:14'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderEngin ehtml(TestTemplateFactory.java:631) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 9) testFilteredTagsRenderEnginexhtml (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:15'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 16'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:15'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:16'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderEngin exhtml(TestTemplateFactory.java:640) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 10) testFilteredTagsRenderEnginexml (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:17'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 18'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:17'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:18'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderEngin exml(TestTemplateFactory.java:649) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 11) testFilteredTagsRenderEnginetxt (com.uwyn.rife.template.TestTemplateFactory) junit.framework.ComparisonFailure: expected:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:19'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different: 20'....> but was:<... [java] This is another render value 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPLnull:19'. [java] This is the render value with a differentiator 'RENDER:COM.UWYN.RIFE.TEMPLATE.RENDERERIMPL:DIFFERENT:different:20'.
    [java] ...>
[java] at com.uwyn.rife.template.TestTemplateFactory.testFilteredTagsRenderEngin etxt(TestTemplateFactory.java:658) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 12) testReloadBasic (com.uwyn.rife.template.TestTemplateFactory) junit.framework.AssertionFailedError: com.uwyn.rife.template.exceptions.TemplateNotFoundException: Couldn't find template 'reload_basic'. [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:428) [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:374) [java] at com.uwyn.rife.template.TestTemplateFactory.testReloadBasic (TestTemplateFactory.java:3441) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] Caused by: java.lang.ClassNotFoundException: Couldn't resolve template: 'com.uwyn.rife.template.html.reload_basic'. [java] at com.uwyn.rife.template.TemplateClassLoader.compileTemplate (TemplateClassLoader.java:175) [java] at com.uwyn.rife.template.TemplateClassLoader.loadClass (TemplateClassLoader.java:146) [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:397)
    [java] ... 27 more
[java] at com.uwyn.rife.template.TestTemplateFactory.testReloadBasic (TestTemplateFactory.java:3446) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 13) testReloadIncludes (com.uwyn.rife.template.TestTemplateFactory) junit.framework.AssertionFailedError: com.uwyn.rife.template.exceptions.TemplateNotFoundException: Couldn't find template 'includes_reload_master'. [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:428) [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:374) [java] at com.uwyn.rife.template.TestTemplateFactory.testReloadIncludes (TestTemplateFactory.java:3532) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] Caused by: java.lang.ClassNotFoundException: Couldn't resolve template: 'com.uwyn.rife.template.html.includes_reload_master'. [java] at com.uwyn.rife.template.TemplateClassLoader.compileTemplate (TemplateClassLoader.java:175) [java] at com.uwyn.rife.template.TemplateClassLoader.loadClass (TemplateClassLoader.java:146) [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:397)
    [java] ... 27 more
[java] at com.uwyn.rife.template.TestTemplateFactory.testReloadIncludes (TestTemplateFactory.java:3537) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 14) testReloadMultiLevelIncludes (com.uwyn.rife.template.TestTemplateFactory) junit.framework.AssertionFailedError: com.uwyn.rife.template.exceptions.TemplateNotFoundException: Couldn't find template 'includes_reload_multi_master'. [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:428) [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:374) [java] at com.uwyn.rife.template.TestTemplateFactory.testReloadMultiLevelInclude s(TestTemplateFactory.java:3624) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] Caused by: java.lang.ClassNotFoundException: Couldn't resolve template: 'com.uwyn.rife.template.html.includes_reload_multi_master'. [java] at com.uwyn.rife.template.TemplateClassLoader.compileTemplate (TemplateClassLoader.java:175) [java] at com.uwyn.rife.template.TemplateClassLoader.loadClass (TemplateClassLoader.java:146) [java] at com.uwyn.rife.template.TemplateFactory.get (TemplateFactory.java:397)
    [java] ... 27 more
[java] at com.uwyn.rife.template.TestTemplateFactory.testReloadMultiLevelInclude s(TestTemplateFactory.java:3629) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 15) testOtherResourceFinder (com.uwyn.rife.template.TestTemplateFactory) junit.framework.AssertionFailedError: com.uwyn.rife.resources.exceptions.ResourceStructureRemovalException: Error while removing the resource structure. [java] at com.uwyn.rife.resources.DatabaseResources._remove (DatabaseResources.java:107) [java] at com.uwyn.rife.resources.databasedrivers.generic.remove (generic.java:89) [java] at com.uwyn.rife.template.TestTemplateFactory.testOtherResourceFinder (TestTemplateFactory.java:3921) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] Caused by: com.uwyn.rife.database.exceptions.ConnectionOpenErrorException: Couldn't connect to the database with connection url 'jdbc:postgresql://localhost:5432/unittests'. [java] at com.uwyn.rife.database.Datasource.createConnection (Datasource.java:277) [java] at com.uwyn.rife.database.ConnectionPool.preparePool (ConnectionPool.java:101) [java] at com.uwyn.rife.database.ConnectionPool.getConnection (ConnectionPool.java:266) [java] at com.uwyn.rife.database.Datasource.getConnection (Datasource.java:315) [java] at com.uwyn.rife.database.DbQueryManager.getConnection (DbQueryManager.java:2993) [java] at com.uwyn.rife.database.DbQueryManager.executeUpdate (DbQueryManager.java:169) [java] at com.uwyn.rife.resources.DatabaseResources._remove (DatabaseResources.java:103)
    [java] ... 27 more
[java] Caused by: org.postgresql.util.PSQLException: Connexion refusée. Vérifiez que le nom de machine et le port sont corrects et que postmaster accepte les connexions TCP/IP. [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl (ConnectionFactoryImpl.java:122) [java] at org.postgresql.core.ConnectionFactory.openConnection (ConnectionFactory.java:65) [java] at org.postgresql.jdbc2.AbstractJdbc2Connection.<init> (AbstractJdbc2Connection.java:117) [java] at org.postgresql.jdbc3.AbstractJdbc3Connection.<init> (AbstractJdbc3Connection.java:30) [java] at org.postgresql.jdbc3.Jdbc3Connection.<init> (Jdbc3Connection.java:24)
    [java] at org.postgresql.Driver.connect(Driver.java:235)
[java] at java.sql.DriverManager.getConnection (DriverManager.java:525) [java] at java.sql.DriverManager.getConnection (DriverManager.java:171) [java] at com.uwyn.rife.database.Datasource.createConnection (Datasource.java:273)
    [java] ... 33 more
[java] Caused by: java.net.ConnectException: Connection refused: connect
    [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:333) [java] at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:195) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java: 182) [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java: 364)
    [java] at java.net.Socket.connect(Socket.java:507)
    [java] at java.net.Socket.connect(Socket.java:457)
    [java] at java.net.Socket.<init>(Socket.java:365)
    [java] at java.net.Socket.<init>(Socket.java:178)
    [java] at org.postgresql.core.PGStream.<init>(PGStream.java:58)
[java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl (ConnectionFactoryImpl.java:77)
    [java] ... 41 more
[java] at com.uwyn.rife.template.TestTemplateFactory.testOtherResourceFinder (TestTemplateFactory.java:3925) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 16) testOtherResourceFinderCommonFactory (com.uwyn.rife.template.TestTemplateFactory) junit.framework.AssertionFailedError: com.uwyn.rife.resources.exceptions.ResourceStructureRemovalException: Error while removing the resource structure. [java] at com.uwyn.rife.resources.DatabaseResources._remove (DatabaseResources.java:107) [java] at com.uwyn.rife.resources.databasedrivers.generic.remove (generic.java:89) [java] at com.uwyn.rife.template.TestTemplateFactory.testOtherResourceFinderComm onFactory(TestTemplateFactory.java:3987) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] Caused by: com.uwyn.rife.database.exceptions.ConnectionOpenErrorException: Couldn't connect to the database with connection url 'jdbc:postgresql://localhost:5432/unittests'. [java] at com.uwyn.rife.database.Datasource.createConnection (Datasource.java:277) [java] at com.uwyn.rife.database.ConnectionPool.preparePool (ConnectionPool.java:101) [java] at com.uwyn.rife.database.ConnectionPool.getConnection (ConnectionPool.java:266) [java] at com.uwyn.rife.database.Datasource.getConnection (Datasource.java:315) [java] at com.uwyn.rife.database.DbQueryManager.getConnection (DbQueryManager.java:2993) [java] at com.uwyn.rife.database.DbQueryManager.executeUpdate (DbQueryManager.java:169) [java] at com.uwyn.rife.resources.DatabaseResources._remove (DatabaseResources.java:103)
    [java] ... 27 more
[java] Caused by: org.postgresql.util.PSQLException: Connexion refusée. Vérifiez que le nom de machine et le port sont corrects et que postmaster accepte les connexions TCP/IP. [java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl (ConnectionFactoryImpl.java:122) [java] at org.postgresql.core.ConnectionFactory.openConnection (ConnectionFactory.java:65) [java] at org.postgresql.jdbc2.AbstractJdbc2Connection.<init> (AbstractJdbc2Connection.java:117) [java] at org.postgresql.jdbc3.AbstractJdbc3Connection.<init> (AbstractJdbc3Connection.java:30) [java] at org.postgresql.jdbc3.Jdbc3Connection.<init> (Jdbc3Connection.java:24)
    [java] at org.postgresql.Driver.connect(Driver.java:235)
[java] at java.sql.DriverManager.getConnection (DriverManager.java:525) [java] at java.sql.DriverManager.getConnection (DriverManager.java:171) [java] at com.uwyn.rife.database.Datasource.createConnection (Datasource.java:273)
    [java] ... 33 more
[java] Caused by: java.net.ConnectException: Connection refused: connect
    [java] at java.net.PlainSocketImpl.socketConnect(Native Method)
[java] at java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:333) [java] at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:195) [java] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java: 182) [java] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java: 364)
    [java] at java.net.Socket.connect(Socket.java:507)
    [java] at java.net.Socket.connect(Socket.java:457)
    [java] at java.net.Socket.<init>(Socket.java:365)
    [java] at java.net.Socket.<init>(Socket.java:178)
    [java] at org.postgresql.core.PGStream.<init>(PGStream.java:58)
[java] at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl (ConnectionFactoryImpl.java:77)
    [java] ... 41 more
[java] at com.uwyn.rife.template.TestTemplateFactory.testOtherResourceFinderComm onFactory(TestTemplateFactory.java:3991) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 17) testExpressionInputsGroovy (com.uwyn.rife.test.TestEngineMocks) junit.framework.ComparisonFailure: expected:<...
    [java] ...> but was:<...
    [java] ...>
[java] at com.uwyn.rife.test.TestEngineMocks.testExpressionInputsGroovy (TestEngineMocks.java:351) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44) [java] 18) testCreateStringArrayDate (com.uwyn.rife.tools.TestArrayUtils) junit.framework.ComparisonFailure: expected:<...AD...> but was:<...ap. J.-C....> [java] at com.uwyn.rife.tools.TestArrayUtils.testCreateStringArrayDate (TestArrayUtils.java:165) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    [java] at com.uwyn.rife.TestRife.main(TestRife.java:43)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [java] at com.uwyn.rife.test.RunWithEngineClassLoader.main (RunWithEngineClassLoader.java:44)
    [java] FAILURES!!!
    [java] Tests run: 528,  Failures: 18,  Errors: 1
BUILD SUCCESSFUL
Total time: 2 minutes 13 seconds





_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to