dev@glassfish.java.net

Re: another test that requires network connection

From: Jane Young <jane.young_at_oracle.com>
Date: Tue, 20 Jul 2010 10:12:08 -0700

There's an IT filed for this issue:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4756

Tim Quinn wrote:
>
> On Jul 20, 2010, at 10:22 AM, Jerome Dochez wrote:
>
>> Tim
>>
>> You have a test that also requires a network connection.
>> I suppose NetUtil could have a isConnected() utility method these
>> tests could use if this is very useful...
> I already had on my list the task to make this test use the local
> copies of DTDs, schemas, etc. I'll see if I can get to it soon.
>
> - Tim
>
>>
>> Index:
>> client/acc-config/src/test/java/org/glassfish/appclient/client/acc/config/util/XMLTest.java
>>
>> ===================================================================
>> ---
>> client/acc-config/src/test/java/org/glassfish/appclient/client/acc/config/util/XMLTest.java
>> (revision 38891)
>> +++
>> client/acc-config/src/test/java/org/glassfish/appclient/client/acc/config/util/XMLTest.java
>> (working copy)
>> @@ -1,3 +1,4 @@
>> +
>> /*
>> * To change this template, choose Tools | Templates
>> * and open the template in the editor.
>> @@ -86,6 +87,7 @@
>> }
>>
>> @Test
>> + @Ignore
>> public void testProps() throws Exception {
>> System.out.println("testProps");
>> ClientContainer cc = readConfig(SAMPLE_XML_PATH);
>> @@ -95,6 +97,7 @@
>> }
>>
>> @Test
>> + @Ignore
>> public void testReadSampleXML() throws Exception {
>> System.out.println("testReadSampleXML");
>> ClientContainer cc = readConfig(SAMPLE_XML_PATH);
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>