1
0
Fork 0
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:
Anton Leherbauer 2007-04-19 09:41:38 +00:00
parent 6194a81898
commit 43f5e1eb30

View file

@ -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);
}
}