The GUI version of the test plug-in is an MFC application.
In TestPlugInRunnerApp::InitInstance(), you can add:
CCommandLineInfo info;
ParseCommandLine( info );
=> you need to subclass CComandLineInfo to do your custom parsing.
Baptiste.
----- Original Message -----
From: "Philippe Lavoie" <phi...@ca...>
To: "Baptiste Lepilleur" <gai...@fr...>;
<cpp...@li...>
Sent: Thursday, April 18, 2002 3:33 PM
Subject: RE: [Cppunit-devel] What are the command line arguments for
TestPluginRunner?
Can it be added to your 'oh so small' todo list ? ;)
Phil
PS Or point me toward a winmain of some kind and all modify it for ya :) I
couldn't find the winmain, that's why I didn't do it in the first place...
> -----Original Message-----
> From: Baptiste Lepilleur [mailto:gai...@fr...]
> Sent: Wednesday, April 17, 2002 10:15 AM
> To: cpp...@li...
> Subject: Re: [Cppunit-devel] What are the command line arguments for
> TestPluginRunner?
>
>
> You should use DllTestPlugInTester. TestPlugInRunner don't
> take any command
> line arguments.
>
> Baptiste.
>
>
> ----- Original Message -----
> From: "Philippe Lavoie" <phi...@ca...>
> To: <cpp...@li...>
> Sent: Tuesday, April 16, 2002 12:21 AM
> Subject: [Cppunit-devel] What are the command line arguments for
> TestPluginRunner?
>
>
> Hi,
>
> I'd like to add cppunit to the tools/external tools menu.
>
> I did
>
> Program: TestPluginRunner.exe
> Arguments: $(TargetPath)
> InitialDir: $(TargetDir)
>
> where $(TargetPath) is the full qualifed name of the output dll.
>
> What I was expecting was to have my dll preloaded with the
> root test node
> selected. Can somebody tell me if what I'm doing is feasible ?
>
> Thanks
>
> Phil
>
> _______________________________________________
> Cppunit-devel mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppunit-devel
>
>
>
> _______________________________________________
> Cppunit-devel mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppunit-devel
>
|