Geert,

To avoid failure under Windows I had to change testEmbeddingPriorities to:


   public void testEmbeddingPriorities()
   throws Exception
   {
SiteBuilder builder = new SiteBuilder("site/embedding.xml", ResourceFinderClasspath.getInstance()); MockConversation conversation = new MockConversation(builder.getSite()); MockResponse response = conversation.doRequest("/priorities"); String eol = System.getProperty("line.separator"); assertEquals("These elements are embedded:"+eol+
               ".PRIORITIES_EMBEDDED_LATE"+eol+
               ".PRIORITIES_EMBEDDED_NORMAL"+eol+
               ".PRIORITIES_EMBEDDED_EARLY"+eol+
               "done."+eol+
               ".PRIORITIES_EMBEDDED_EARLY\n"+
               ".PRIORITIES_EMBEDDED_NORMAL\n"+
               ".PRIORITIES\n"+
               ".PRIORITIES_EMBEDDED_LATE\n", response.getText());
List<MockResponse> embedded_reponses = response.getEmbeddedResponses();
       assertEquals(3, embedded_reponses.size());
assertEquals(".PRIORITIES_EMBEDDED_EARLY", embedded_reponses.get(0).getLastElementId()); assertEquals(0, embedded_reponses.get(0).getEmbeddedResponses().size()); assertEquals(".PRIORITIES_EMBEDDED_NORMAL", embedded_reponses.get(1).getLastElementId()); assertEquals(0, embedded_reponses.get(1).getEmbeddedResponses().size()); assertEquals(".PRIORITIES_EMBEDDED_LATE", embedded_reponses.get(2).getLastElementId()); assertEquals(0, embedded_reponses.get(2).getEmbeddedResponses().size()); assertEquals(".PRIORITIES_EMBEDDED_EARLY", response.getEmbeddedResponse("-PRIORITIES_EMBEDDED_EARLY").getLastElementId()); assertEquals(".PRIORITIES_EMBEDDED_NORMAL", response.getEmbeddedResponse("PRIORITIES_EMBEDDED_NORMAL").getLastElementId()); assertEquals(".PRIORITIES_EMBEDDED_LATE", response.getEmbeddedResponse("+PRIORITIES_EMBEDDED_LATE").getLastElementId());
   }


Regards

Pierre


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to