Is there a better way than manually modifying the project
(<CodeLite_Project Name="MyProject" InternalType="UnitTest++">)
to be able to transform a "normal" project into a project usable by UnitTest++ plugin ?
I didn't use the wizard...
Promote project as UnitTest++ project
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Promote project as UnitTest++ project
There is now in trunk.Jarod42 wrote:Is there a better way than manually modifying the project
(<CodeLite_Project Name="MyProject" InternalType="UnitTest++">)
to be able to transform a "normal" project into a project usable by UnitTest++ plugin ?
I didn't use the wizard...
Also, I changed the behavior of the menu option: 'Plugins -> UnitTest++ -> Run as UT project'
It will now execute the selected project and not the active project (in case a file is selected or virtual folder, it will use the parent project)
Eran
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Promote project as UnitTest++ project
thanks.
I found a bug in your commit:
m_output is not reset when running as UT project,
so only the first succeeded run is taken into account.
I found a bug in your commit:
m_output is not reset when running as UT project,
so only the first succeeded run is taken into account.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Promote project as UnitTest++ project
Fixed.
Eran
Eran
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Promote project as UnitTest++ project
menuItems "create new Test.." and "create tests for class.." do nothing now...
I see that you change m_topWindow->Connect by menu->Connect
So when I revert this change, menuItems work as expected.
I see that you change m_topWindow->Connect by menu->Connect
So when I revert this change, menuItems work as expected.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Promote project as UnitTest++ project
Sorry about that..
It should work now
Eran
It should work now
Eran
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Promote project as UnitTest++ project
Thanks, all works now.
As a style note, UnitTestPP::m_topWindow is no longer used and may be removed.
As a style note, UnitTestPP::m_topWindow is no longer used and may be removed.
Last edited by Jarod42 on Wed Aug 01, 2012 2:48 pm, edited 1 time in total.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Promote project as UnitTest++ project
Thanks for reporting back.
OT:
Someone whispered me that you are from CZ.. if this is true and assuming that you are using Windows, can you please confirm that the latest codelite (trunk) is working with CZ keyboard layout (I think it was the double quote character that did not work)
I applied a fix last week, but could not get a confirmation from the OP
Eran
OT:
Someone whispered me that you are from CZ.. if this is true and assuming that you are using Windows, can you please confirm that the latest codelite (trunk) is working with CZ keyboard layout (I think it was the double quote character that did not work)
I applied a fix last week, but could not get a confirmation from the OP
Eran
Make sure you have read the HOW TO POST thread
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Promote project as UnitTest++ project
From FR with windows, but I already had a problem too with <> keys with the previous release version.
Since the last Release, it is ok for me.
I have just try a QWERTZ layout (with CL rev. 5627, so before your commit) and I succeeded to reproduce the problem.
Fixed in latest svn (rev. 5658), (though it was žŽ characters (middle letter row, last column)in the chosen layout).
Original topic: can´t write " and '.
Since the last Release, it is ok for me.
I have just try a QWERTZ layout (with CL rev. 5627, so before your commit) and I succeeded to reproduce the problem.
Fixed in latest svn (rev. 5658), (though it was žŽ characters (middle letter row, last column)in the chosen layout).
Original topic: can´t write " and '.