Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] TestXXX class and their corresponding class if any

Hi,
The best way to navigate and learn CDT code is to set up an Eclipse installation for CDT development, see

Then you can use the search functions of Eclipse to know which project (i.e. jar) provide the classes. You can also run tests and see how they behave in the debugger, etc.

Marc-André

On Nov 26, 2019, at 4:56 AM, Ming Cheng <chengm349@xxxxxxxxxxx> wrote:

Hi,
 
I am learning CDT testing classes to see how to use CDT. Most time inside a test class, it will use other test classes like CTestPlugin,  TestCfgDataProvider. Do there have corresponding classes like CPlugin, CfgDataProvider?
 
Which jar(s) for example implements CTestPlugin,  TestCfgDataProvider? Which jar implements waitForIndexer(org.eclipse.cdt.core.model.ICProject)?
 
Thanks.
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project umlet-swing: Compilation failure: Compilation failure:
com/baselet/cdt/core/helper/ResourceHelper.java:[147,17] cannot find symbol
symbol:   variable Assert
location: class com.baselet.cdt.core.helper.ResourceHelper
com/baselet/cdt/core/helper/ResourceHelper.java:[352,25] cannot find symbol
symbol:   variable Assert
location: class com.baselet.cdt.core.helper.ResourceHelper
com/baselet/cdt/core/helper/IntegratedCModel.java:[45,78] cannot find symbol
symbol:   variable CTestPlugin
location: class com.baselet.cdt.core.helper.IntegratedCModel
com/baselet/cdt/core/helper/IntegratedCModel.java:[54,17] cannot find symbol
symbol:   method waitForIndexer(org.eclipse.cdt.core.model.ICProject)
location: class com.baselet.cdt.core.helper.IntegratedCModel
com/baselet/cdt/core/helper/CProjectHelper.java:[78,24] cannot access org.eclipse.core.runtime.ICoreRunnable
class file for org.eclipse.core.runtime.ICoreRunnable not found
com/baselet/cdt/core/helper/CProjectHelper.java:[162,41] cannot find symbol
symbol:   variable TestCfgDataProvider
location: class com.baselet.cdt.core.helper.CProjectHelper
com/baselet/cdt/core/helper/CProjectHelper.java:[439,75] cannot find symbol
symbol:   variable CTestPlugin
location: class com.baselet.cdt.core.helper.CProjectHelper
-> [Help 1]
 
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
 
For more information about the errors and possible solutions, please read the following articles:
 
Sent from Mail for Windows 10
 
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev


Back to the top