tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r946583 - /tomcat/trunk/test/org/apache/catalina/connector/TestCoyoteAdapter.java
Date Thu, 20 May 2010 12:00:00 GMT
2010/5/20  <markt@apache.org>:
> Author: markt
> Date: Thu May 20 09:48:43 2010
> New Revision: 946583
>

>         // Must have a real docBase - just use temp
> -        Context ctx =
> -            tomcat.addContext("/", System.getProperty("java.io.tmpdir"));
> +        File docBase = new File(System.getProperty("java.io.tmpdir"));
> +

Just a note: in r946241 I added TomcatBaseTest#getTemporaryDirectory(),
that exposes TomcatBaseTest.tempDir

Thus now we are able to get rid of those
System.getProperty("java.io.tmpdir") in the tests.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message