Closed GoogleCodeExporter closed 9 years ago
Q:How to get information about method, fields of a class
A: Using java.lang.reflect
Original comment by ntanh...@gmail.com
on 23 Jul 2014 at 8:58
Design testing portlet follow model
Original comment by ntanh...@gmail.com
on 24 Jul 2014 at 3:34
Attachments:
Source code of portlet testing code version 1
Original comment by ntanh...@gmail.com
on 24 Jul 2014 at 10:35
Attachments:
Algorithms:
1.Choose class need to test
2.Get all method of choosed class
3.Choose the method need to test
4. Build the client interface based on the choosed method
4.1 Get the number of parameter of method
4.2 Get types of parameters
4.3 Draw a form contains the number of input as the number of parameter
5. Get the input value of parameter. Invoke the method with these values
6. Show the testing result
Original comment by ntanh...@gmail.com
on 24 Jul 2014 at 10:40
Original comment by ntanh...@gmail.com
on 14 Aug 2014 at 1:28
Original issue reported on code.google.com by
ntanh...@gmail.com
on 23 Jul 2014 at 8:56