Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[recommenders-dev] Help Required in Bug 434737

https://bugs.eclipse.org/bugs/show_bug.cgi?id=434737

I am writing a JUnit test case for the KnownCoordinateComparator Class I created , so as to sort the Known Coordinated in order. As the KnownCoordinate class in an inner class in class ModelRepositoriesView  ,so to invoke its constructor I need to create the constructor for the class ModelRepositoriesView (outer class), but i dont understand what parameters should i put in for the constructor as they are not required for the test. I only need the parameters of the constructor of the KnownCoodinate class.


ModelRepositoriesView MRC = new ModelRepositoriesView(null, null, null, null, null, null);(Doing this shows error)



ModelRepositoriesView.KnownCoordinate kc1 = MRC.new KnownCoordinate("", PC1, null);



For my class I only need the KnownCoordinate  object.
So can someone tell me what parameters should i pass in the constructor for ModelRepositoriesView 


Regards ,
varun




Back to the top