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(a)exadel.com
Senior Developer
Exadel Inc