mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Test case for bug 109480
This commit is contained in:
parent
6194a81898
commit
43f5e1eb30
1 changed files with 19 additions and 0 deletions
|
@ -105,6 +105,16 @@ public class CompletionTests extends AbstractContentAssistTest {
|
|||
// T add(T tOther) {
|
||||
// return fTField + tOther;
|
||||
// }
|
||||
//};
|
||||
//// bug 109480
|
||||
//class Printer
|
||||
//{
|
||||
//public:
|
||||
// static void InitPrinter(unsigned char port);
|
||||
//private:
|
||||
// //Storage for port printer is on
|
||||
// static unsigned char port;
|
||||
//protected:
|
||||
//};
|
||||
|
||||
public CompletionTests(String name) {
|
||||
|
@ -705,4 +715,13 @@ public class CompletionTests extends AbstractContentAssistTest {
|
|||
};
|
||||
assertCompletionResults(fCursorOffset, expected, AbstractContentAssistTest.COMPARE_ID_STRINGS);
|
||||
}
|
||||
|
||||
//void Printer::InitPrinter(unsigned char port) {
|
||||
// Printer::/*cursor*/
|
||||
public void testPrivateStaticMember_Bug109480() throws Exception {
|
||||
final String[] expected= {
|
||||
"InitPrinter()", "port"
|
||||
};
|
||||
assertCompletionResults(fCursorOffset, expected, AbstractContentAssistTest.COMPARE_REP_STRINGS);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue