<classpathentry kind="lib" path="lib/jdas-1.0.4.jar"/>
<classpathentry kind="lib" path="lib/spring-core-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/spring-web-3.0.5.RELEASE.jar"/>
- <classpathentry kind="lib" path="lib/groovy-all-2.4.6.jar"/>
+ <classpathentry kind="lib" path="lib/groovy-all-1.8.2.jar"/>
<classpathentry kind="lib" path="lib/min-jabaws-client-2.1.0.jar" sourcepath="/clustengine"/>
<classpathentry kind="lib" path="lib/json_simple-1.1.jar" sourcepath="/Users/jimp/Downloads/json_simple-1.1-all.zip"/>
<classpathentry kind="lib" path="lib/slf4j-api-1.7.7.jar"/>
protected String getResourceFile(String fileName)
{
- ClassLoader classLoader = getClass().getClassLoader();
String result = "";
try
{
- result = classLoader.getResource(fileName).getFile();
+ result = getClass().getResource(fileName).getFile();
} catch (Exception e)
{
e.printStackTrace();
"unavailable group").toString();
} catch (Exception e)
{
- e.printStackTrace();
+ Assert.assertTrue(true);
}
String actualResourseFile = ftsRestClient
ftsRestClient.getDataColumnByNameOrCode("unavailable column");
} catch (Exception e)
{
- e.printStackTrace();
System.out.println(e.getMessage());
String expectedMessage = "Couldn't find data column with name : unavailable column";
Assert.assertEquals(e.getMessage(), expectedMessage);
ftsRestClient.getDataColumnGroupById("unavailable column group Id");
} catch (Exception e)
{
- e.printStackTrace();
System.out.println(e.getMessage());
String expectedMessage = "Couldn't find data column group with id : unavailable column group Id";
Assert.assertEquals(e.getMessage(), expectedMessage);