You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2003/10/31 11:36:34 UTC

Re: cvs commit: cocoon-lenya/src/test/org/apache/lenya/net InetAddressUtilTest.java

Hi Michi,

michi@apache.org wrote:
 >   public class InetAddressUtilTest {
 >       /**
 >        *
 >        */
 >       public static void main(String[] args) {
 >           if (args.length != 3) {
 >               System.out.println("Usage: " + new 
InetAddressUtilTest().getClass().getName() + " network subnet ip");
 >               return;
 >           }

why don't you use JUnit here?

-- Andreas



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


Re: cvs commit: cocoon-lenya/src/test/org/apache/lenya/net InetAddressUtilTest.java

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
>>  >   public class InetAddressUtilTest {
>>  >       /**
>>  >        *
>>  >        */
>>  >       public static void main(String[] args) {
>>  >           if (args.length != 3) {
>>  >               System.out.println("Usage: " + new 
>> InetAddressUtilTest().getClass().getName() + " network subnet ip");
>>  >               return;
>>  >           }
>>
>> why don't you use JUnit here?

this is another janitorial task: converting all these tests to junit.

if you used proper tools (eclipse) you would find it much easier to 
write tests.

-gregor

-- 
Gregor J. Rothfuss
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://wyona.com                   http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com                       gregor@apache.org

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


Re: cvs commit: cocoon-lenya/src/test/org/apache/lenya/net InetAddressUtilTest.java

Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
> 
> Hi Michi,
> 
> michi@apache.org wrote:
>  >   public class InetAddressUtilTest {
>  >       /**
>  >        *
>  >        */
>  >       public static void main(String[] args) {
>  >           if (args.length != 3) {
>  >               System.out.println("Usage: " + new 
> InetAddressUtilTest().getClass().getName() + " network subnet ip");
>  >               return;
>  >           }
> 
> why don't you use JUnit here?

yes, sorry for that. I will fix it. But at least I wrote a test ;-)

Michi


> 
> -- Andreas
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
> 
> 


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


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