Hmm I'll have to set the SVN eol property on that template too.
Thanks for telling me.
On 9-mrt-06, at 14:08, Raoul Pierre wrote:
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
--
Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
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
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users