• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.testng.internal;
2 
3 /**
4  * Determine the availability of certain jar files at runtime.
5  */
6 public class Dynamic {
7 
hasBsh()8   public static boolean hasBsh() {
9     try {
10       Class.forName("bsh.Interpreter");
11       return true;
12     } catch (ClassNotFoundException e) {
13       return false;
14     }
15   }
16 }
17