[jbosstools-dev] [Fwd: Re: Экстеншн поинты в тестах]

Dmitry Geraskov dgeraskov at exadel.com
Thu Jan 17 04:50:56 EST 2008


Max Rydahl Andersen wrote:

>>org.hibernate.eclipse.console.test.mappingproject.HibernateAllMappingTests.
>>    
>>
>
>ok - running this gives me a NPE in testOpenMappingFileTest for all tests.
>
>java.lang.NullPointerException
>	at org.hibernate.eclipse.console.actions.OpenMappingAction.getFindDocAdapter(OpenMappingAction.java:221)
>	at org.hibernate.eclipse.console.actions.OpenMappingAction.applySelectionToEditor(OpenMappingAction.java:200)
>	at org.hibernate.eclipse.console.actions.OpenMappingAction.run(OpenMappingAction.java:118)
>	at org.hibernate.eclipse.console.test.mappingproject.OpenMappingFileTest.testOpenMappingFileTest(OpenMappingFileTest.java:57)
>
>/max
>
>  
>
See my comments on http://jira.jboss.com/jira/browse/JBIDE-1644. And 
rerun please unittests after I'll close the bug.

>>Max Rydahl Andersen wrote:
>>
>>    
>>
>>>I would still like to try and run those tests ;) Which class is it?
>>>
>>>/max
>>>
>>>
>>>
>>>      
>>>
>>>>Yes, you are right.
>>>>
>>>>I am not fully understood you at that time. Now I understand.
>>>>
>>>>I remove my question....
>>>>
>>>>Max Rydahl Andersen wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Hi Dmitry,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Max, you asked me to add some customization in unit tests.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>I don't recall that. I recall I said that we should not hardcode possible connection
>>>>>information in the unittests at least not without it being customizable so anyone can set it up and run it.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>
>  
>


-- 
Best regards,

 Dmitry Geraskov              
 dgeraskov at exadel.com
 Senior Developer
 Exadel Inc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosstools-dev/attachments/20080117/3251ee51/attachment.html 


More information about the jbosstools-dev mailing list