public static boolean runExample ( final Callable < Boolean > example ) { boolean result ; try { result = example . call ( ) ; } catch ( Exception e ) { LOG . error ( "Exception running test: " + example , e ) ; result = false ; } CliUtils . printPassInfo ( result ) ; return result ; }
Runs an example .