| org.netbeans.modules.cnd.modelimpl.test.ProjectBasedTestCase org.netbeans.modules.cnd.completion.cplusplus.hyperlink.HyperlinkBaseTestCase
All known Subclasses: org.netbeans.modules.cnd.completion.cplusplus.hyperlink.ClassMembersHyperlinkTestCase, org.netbeans.modules.cnd.completion.cplusplus.hyperlink.BasicHyperlinkTestCase, org.netbeans.modules.cnd.completion.cplusplus.hyperlink.UnnamedEnumTestCase, org.netbeans.modules.cnd.completion.cplusplus.hyperlink.NamespacesHyperlinkTestCase,
HyperlinkBaseTestCase | abstract public class HyperlinkBaseTestCase extends ProjectBasedTestCase (Code) | | base class for hyperlink tests
entry point:
- performTest (@see performTest)
What should be configured:
- the dir with the same name as test class (harness init the project from the dir)
i.e for CsmHyperlinkProviderTestCase create
${completion}/test/unit/data/org/netbeans/modules/cnd/completion/cplusplus/hyperlink/CsmHyperlinkProviderTestCase
and put there any C/C++ files
author: Vladimir Voskresensky |
Method Summary | |
protected void | performTest(String source, int lineIndex, int colIndex, String destGoldenFile, int destGoldenLine, int destGoldenColumn) | protected void | setUp() | protected void | tearDown() |
HyperlinkBaseTestCase | public HyperlinkBaseTestCase(String testName)(Code) | | |
performTest | protected void performTest(String source, int lineIndex, int colIndex, String destGoldenFile, int destGoldenLine, int destGoldenColumn) throws Exception(Code) | | Parameters: source - relative path of source file Parameters: lineIndex - line where hyperlink is perfomed (1-based) Parameters: colIndex - column where hyperlink is perfomed (1-based) Parameters: destGoldenFile - relative path of expected destination file Parameters: destGoldenLine - start line of expected destination object (1-based) Parameters: destGoldenColumn - start column of expected destination object (1-based) |
|
|