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

Max Rydahl Andersen max.andersen at redhat.com
Thu Oct 23 04:29:28 EDT 2008


thanks!

> 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.
>>>
>>
>>
>>
>



-- 
/max



More information about the jbosstools-dev mailing list