powered by Jive Software

Unable to solve ContentFilterTest class compile time error in eclipse

Hi Friends,

I have port openfire source code in eclipse successfully. All the compile time error solved successfully except ContentFilterTest class related error.

Statement : junit.textui.TestRunner.run(ContentFilterTest.class);

Error: The method run(Class<? extends TestCase>) in the type TestRunner is not applicable for the arguments (Class)

   Statement :

filter.clearMask();

filter.clearPatterns();

Error :The method clearMask() is undefined for the type ContentFilter

Please help to solve error.

Thanks in advance.