- LibusbWin renamed to LibusbJava

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@208 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-11-24 13:05:08 +00:00
parent 48d62f7232
commit 17dcf1b09d
8 changed files with 70 additions and 66 deletions

View File

@@ -20,7 +20,7 @@ import org.junit.BeforeClass;
import org.junit.Test;
import ch.ntb.usb.Device;
import ch.ntb.usb.LibusbWin;
import ch.ntb.usb.LibusbJava;
import ch.ntb.usb.USB;
import ch.ntb.usb.USBException;
import ch.ntb.usb.Usb_Config_Descriptor;
@@ -52,7 +52,7 @@ public class DeviceTest {
devInfoProp.load(propInputStream);
String devInfoClazzName = devInfoProp.getProperty(deviceInfoKey);
if (devInfoClazzName == null) {
throw new IllegalArgumentException("property " + deviceInfoKey
throw new Exception("property " + deviceInfoKey
+ " not found in file " + testdevicePropertiesFile);
}
Class devInfoClazz = Class.forName(devInfoClazzName);
@@ -62,7 +62,7 @@ public class DeviceTest {
testData = new byte[devinfo.getMaxDataSize()];
readData = new byte[testData.length];
// initialise the device
LibusbWin.usb_set_debug(255);
LibusbJava.usb_set_debug(255);
dev = USB.getDevice(devinfo.getIdVendor(), devinfo.getIdProduct());
}