@Test\r
public void exec_HTTP_200() {\r
try {\r
- assertEquals(help._exec(0, "helps"), HttpStatus.OK_200);\r
+ assertEquals(help._exec(1, "helps"), HttpStatus.OK_200);\r
} catch (CadiException | APIException | LocatorException e) {\r
// TODO Auto-generated catch block\r
e.printStackTrace();\r
}\r
}\r
+ \r
+ @Test\r
+ public void exec_HTTP_200_1() {\r
+ try {\r
+ assertEquals(help._exec(1, "helps","help"), HttpStatus.OK_200);\r
+ } catch (CadiException | APIException | LocatorException e) {\r
+ // TODO Auto-generated catch block\r
+ e.printStackTrace();\r
+ }\r
+ }\r
+ \r
+ @Test\r
+ public void detailhelp() {\r
+ boolean hasError=false;\r
+ try {\r
+ help.detailedHelp(2, new StringBuilder("detail help test"));\r
+ } catch (Exception e) {\r
+ hasError=true;\r
+ }\r
+ assertEquals(hasError,false);\r
+ }\r
}\r