[jbosstools-dev] Re: Errors in org.jboss.ide.eclipse.as.test

Snjezana Peco snjeza.peco at gmail.com
Thu Oct 23 04:11:57 EDT 2008


I have committed my changes to beta1 and trunk.

Snjeza

Max Rydahl Andersen wrote:
> Were these fixed ?
>
> /max
>
>> 1) ProjectRuntimeTest.testProjectRuntime() -
>> java.lang.UnsupportedOperationException
>>
>> The verifyClasspathEntries method converts an array into a list as 
>> follows:
>> List<String> list = Arrays.asList(required);
>> This line creates a read-only list and the verifyClasspathEntries method
>> tries to remove an item from the list.
>>
>> 2) JBIDE2512aTest.testJBIDE2512a() - NPE
>>
>> The AbstractDeploymentTest.copy method , line 146
>> tmp = getFileLocation("projects/TempProject/" + sourceProjectName);
>> The tmp file doesn't exist because sourceProjectName is an array 
>> variable.
>>
>> Attached is a patch that fixes these errors.
>> I haven't checked test failures.
>>
>> Snjeza
>> PS
>> These tests make changes in the org.jboss.ide.eclipse.as.test plugin
>> that can break SVN (subclipse) when  running in the PDE Runtime 
>> workbench.
>>
>
>
>




More information about the jbosstools-dev mailing list