Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to check the assertion for import Junit

Hi Team,
I am writing an integration test case for Import,For assertion my plan is, by using the RTC API to check whether the imported template is present on the server after the import.
But Not sure how to do that. Please guide.
Here, i am getting null.
sample code:
String importPath = this.testimportProperties.getProperty("import.path") ;
    File testResult = new File(importPath, this.testimportProperties.getProperty("template.name"));
   assertEquals("JKE_TEST_com.bosch.rtc.tmpl.JKE_Banking.15.0.Planning", testResult);

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 10 '15, 2:49 a.m.

Question was seen: 1,832 times

Last updated: Aug 10 '15, 2:49 a.m.

Confirmation Cancel Confirm