Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Height of combo-box [modified] Pin
User 742933810-Feb-11 5:14
professionalUser 742933810-Feb-11 5:14 
QuestionAccording to the size of the rectangle how to choose the appropriate font ? Pin
confideman20008-Feb-11 21:49
confideman20008-Feb-11 21:49 
QuestionRe: According to the size of the rectangle how to choose the appropriate font ? Pin
CPallini8-Feb-11 23:51
mveCPallini8-Feb-11 23:51 
AnswerRe: According to the size of the rectangle how to choose the appropriate font ? Pin
confideman20009-Feb-11 0:39
confideman20009-Feb-11 0:39 
GeneralRe: According to the size of the rectangle how to choose the appropriate font ? Pin
CPallini9-Feb-11 0:47
mveCPallini9-Feb-11 0:47 
GeneralRe: According to the size of the rectangle how to choose the appropriate font ? Pin
confideman20009-Feb-11 4:36
confideman20009-Feb-11 4:36 
AnswerRe: According to the size of the rectangle how to choose the appropriate font ? Pin
Eugen Podsypalnikov9-Feb-11 11:51
Eugen Podsypalnikov9-Feb-11 11:51 
QuestionCppUnit creating only one instance of a TestFixture type for a suite Pin
cydd8-Feb-11 19:21
cydd8-Feb-11 19:21 
Hi guys,
I wanted to find out whether one can set up a test fixture to apply all tests to the same instance of the fixture object ?
Let's us take for an example the following Testclass implemented.
class SampleTest:: public CppUnit::TestFixture
{
  CPPUNIT_TEST_SUITE( SampleTest);
  CPPUNIT_TEST( doTest1);
  CPPUNIT_TEST( doTest2);
public:
  void doTest1();
  void doTest2();
}


For each test in a test fixture, CppUnit creates a new instance of SampleTest class.
Thus for fixture SampleTest containing tests doTest1() and doTest2(), CppUnit will
create 2 instances of SampleTest class and calls doTest1 on the first instance, doTest2 on the second instance.
I would like to know if it is possible to create only one instance of SampleTest class that can call both the test functions?

Thanks in advance.
AnswerRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
Cool_Dev8-Feb-11 20:05
Cool_Dev8-Feb-11 20:05 
GeneralRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
cydd8-Feb-11 22:19
cydd8-Feb-11 22:19 
AnswerRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
Niklas L8-Feb-11 23:17
Niklas L8-Feb-11 23:17 
GeneralRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
cydd8-Feb-11 23:27
cydd8-Feb-11 23:27 
GeneralRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
Niklas L9-Feb-11 1:35
Niklas L9-Feb-11 1:35 
Questionproblem in line plotting IN VC++ Pin
dalvihrishi8-Feb-11 19:14
dalvihrishi8-Feb-11 19:14 
AnswerRe: problem in line plotting IN VC++ Pin
Cedric Moonen8-Feb-11 20:07
Cedric Moonen8-Feb-11 20:07 
GeneralRe: problem in line plotting IN VC++ Pin
dalvihrishi9-Feb-11 18:07
dalvihrishi9-Feb-11 18:07 
GeneralRe: problem in line plotting IN VC++ Pin
Cedric Moonen9-Feb-11 20:12
Cedric Moonen9-Feb-11 20:12 
QuestionList control in MFC Pin
Nikesh Jagtap8-Feb-11 17:24
Nikesh Jagtap8-Feb-11 17:24 
AnswerRe: List control in MFC Pin
Hans Dietrich8-Feb-11 18:29
mentorHans Dietrich8-Feb-11 18:29 
AnswerRe: List control in MFC Pin
_AnsHUMAN_ 8-Feb-11 18:34
_AnsHUMAN_ 8-Feb-11 18:34 
QuestionLogical Processors Vs Physical Processors Pin
Ahmed Charfeddine8-Feb-11 10:28
Ahmed Charfeddine8-Feb-11 10:28 
AnswerRe: Logical Processors Vs Physical Processors [modified] Pin
Luc Pattyn8-Feb-11 11:04
sitebuilderLuc Pattyn8-Feb-11 11:04 
GeneralRe: Logical Processors Vs Physical Processors Pin
Ahmed Charfeddine8-Feb-11 23:00
Ahmed Charfeddine8-Feb-11 23:00 
AnswerRe: Logical Processors Vs Physical Processors Pin
Luc Pattyn8-Feb-11 23:14
sitebuilderLuc Pattyn8-Feb-11 23:14 
GeneralRe: Logical Processors Vs Physical Processors Pin
Ahmed Charfeddine8-Feb-11 23:27
Ahmed Charfeddine8-Feb-11 23:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.