Je transfère une question de Michel Bouloc du Cines !
Serait-il possible de rapeller brièvement ce que sont censés faire les
tests du "ant remotconfigtest" ?
(testGetVocabulariesId, testSearchIndexingServices, ...)
Merci,
Jacques
Michel Bouloc a écrit :
> bonjour Jacques,
> (ou rebonjour)
>
> j'ai une nouvelle erreur à l'étape de test : "ant remotconfigtest" :
>
> une idée de piste pour corriger ?
>
> __________________________________________________________________________________
> # ant remoteconfigtest
> Buildfile: build.xml
>
> prepare:
>
> compile-java:
>
> compile-web:
> [copy] Copying 231 files to
> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
> [copy] Copying 4 files to
> /usr/local/ori/src/ori-oai-workflow-svn/buildant
>
> compile:
>
> compile-test-java:
> [javac] Compiling 18 source files to
> /usr/local/ori/src/ori-oai-workflow-svn/buildant/WEB-INF/classes
> [javac] Note:
> /usr/local/ori/src/ori-oai-workflow-svn/test/org/orioai/workflow/services/remote/TestIndexingServices.java
> uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
>
> remoteconfigtest:
> [junit] Testsuite: org.orioai.workflow.RemoteConfigTest
> [junit] Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 10,243 sec
> [junit] ------------- Standard Output ---------------
> [junit] Retrieving document at 'null'.
> [junit] Retrieving document at 'null'.
> [junit] ------------- ---------------- ---------------
> [junit]
> [junit] Testcase: testGetVocabulariesId took 9,484 sec
> [junit] Testcase: testSearchIndexingServices took 0,634 sec
> [junit] Testcase: testInitialDirContextFactory took 0,039 sec
> [*junit] Testcase: testConnectUrls took 0,045 sec
> [junit] Caused an ERROR
> [junit] no protocol: /ori-md-editor/lom-full/remote*
> [junit] java.net.MalformedURLException: no protocol:
> /ori-md-editor/lom-full/remote
> [junit] at java.net.URL.(URL.java:567)
> [junit] at java.net.URL.(URL.java:464)
> [junit] at java.net.URL.(URL.java:413)
> [junit] at
> org.orioai.workflow.services.remote.TestMdEditorFormsUrls$1.doFilter(TestMdEditorFormsUrls.java:30)
> [junit] at
> org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
> [junit] at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> [junit] at
> org.esupportail.commons.batch.WebApplicationFilter.run(WebApplicationFilter.java:70)
> [junit] at
> org.orioai.workflow.services.remote.TestMdEditorFormsUrls.testConnectUrls(TestMdEditorFormsUrls.java:22)
> [junit] at
> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
> [junit]
> [junit] Testcase: testSmtp took 0,032 sec
> [junit] Test org.orioai.workflow.RemoteConfigTest FAILED
>
> BUILD SUCCESSFUL
> Total time: 15 seconds
> ____________________________________________________________
>
>
> A+
>
>
> ------------------------
> Michel BOULOC
>
> bouloc@cines.fr
> 04-67-14-14-18
> ------------------------
>
>
>
--
Jacques Brassart
UNR Nord-Pas de Calais
Université de Valenciennes et du Hainaut-Cambrésis
Tél : 03 27 51 17 70