public String [ ] get_keyword_names ( ) { try { String [ ] names = servlet . getLibrary ( ) . getKeywordNames ( ) ; if ( names == null || names . length == 0 ) throw new RuntimeException ( "No keywords found in the test library" ) ; String [ ] newNames = Arrays . copyOf ( names , names . length + 1 ) ; newNames [ names . length ] = "stop_remote_server" ; return newNames ; } catch ( Throwable e ) { log . warn ( "" , e ) ; throw new RuntimeException ( e ) ; } }
Get an array containing the names of the keywords that the library implements .