1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

minor fixes to tests

This commit is contained in:
Mike Kucera 2008-05-14 19:27:35 +00:00
parent 3fea475657
commit e250ee6a33
2 changed files with 11 additions and 5 deletions

View file

@ -161,7 +161,7 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
// public:
// void vmethod();
// void method();
// }
// };
// void vrefs() {
// Base* b= 0;
// b->vmethod(); b->method();
@ -221,7 +221,7 @@ public class CallHierarchyBugs extends CallHierarchyBaseTest {
// class Derived : public Base {
// public:
// void vmethod();
// }
// };
// void vrefs() {
// Base* b= 0;
// b->vmethod();

View file

@ -28,7 +28,13 @@ import org.eclipse.cdt.core.testplugin.CProjectHelper;
import org.eclipse.cdt.internal.ui.editor.CEditor;
import org.eclipse.cdt.internal.ui.editor.CElementHyperlinkDetector;
/**
* This test just checks that hyperlinks are created in the right
* places. It does not test that the hyperlinks actually take you
* to the right place.
*
* @author Mike Kucera
*/
public class HyperlinkTest extends TestCase {
@ -46,9 +52,9 @@ public class HyperlinkTest extends TestCase {
" int getY(); \n" +
" private: \n" +
" int x, y; \n" +
"} \n" +
"}; \n" +
"int main() { \n" +
" char[] str = \"STRING LITERAL\"; \n" +
" char* str = \"STRING LITERAL\"; \n" +
"} \n";