mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Adds a test case for parameter hints.
This commit is contained in:
parent
6410925da8
commit
b70999dc02
1 changed files with 14 additions and 0 deletions
|
@ -158,4 +158,18 @@ public class ParameterHintTests extends AbstractContentAssistTest {
|
||||||
"pi(aClass a) int"
|
"pi(aClass a) int"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// class OtherClass {
|
||||||
|
// public:
|
||||||
|
// char getChar(int a, int b);
|
||||||
|
// };
|
||||||
|
//
|
||||||
|
// void foo() {
|
||||||
|
// OtherClass* oc;
|
||||||
|
// int i= (int) oc->getChar(
|
||||||
|
public void testMethodWithCast() throws Exception {
|
||||||
|
assertParameterHints(new String[] {
|
||||||
|
"getChar(int a,int b) char"
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue