How to create resource (Test Suite ) class in OSLC Lyo
I have been trying to create Entity class for Test Suite since it is not there. I am taking help from already existing class like Test Case ans TCER but it is showing the error while converting RDF to TestSuite class. I am getting correct RDF but converting is the issue.
if(response != null)
{
TestSuite testSuite = response.getEntity(TestSuite.class);
}
I am getting null value for testSuite. Are there any specific steps i need to follow?. Thanks!!!
if(response != null)
{
TestSuite testSuite = response.getEntity(TestSuite.class);
}
I am getting null value for testSuite. Are there any specific steps i need to follow?. Thanks!!!
One answer
I thought during previous discussions you understand what needs to be done already.
If you study the Test Case and TCER classes, you should notice that the they basically specify what the RDF file contains, so that Lyo can convert the RDF content to a "class". At the very least, you will need to create a new TestSuite "class", similar to the existing classes.
If you study the Test Case and TCER classes, you should notice that the they basically specify what the RDF file contains, so that Lyo can convert the RDF content to a "class". At the very least, you will need to create a new TestSuite "class", similar to the existing classes.