blob: 3a735359381233bdb4a3e07a77e42a4d7d712492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package org.testng.internal;
/**
* Determine the availability of certain jar files at runtime.
*/
public class Dynamic {
public static boolean hasBsh() {
try {
Class.forName("bsh.Interpreter");
return true;
} catch (ClassNotFoundException e) {
return false;
}
}
}
|