test class added which replicates the code from testlibusb.c
new test class for MX500 mouse allow test with only read operations and interrupt and/or bulk transfers git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@251 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -35,6 +35,8 @@ public abstract class AbstractDeviceInfo {
|
||||
|
||||
private TransferMode mode;
|
||||
|
||||
private boolean compareData = true;
|
||||
|
||||
public static enum TransferMode {
|
||||
Bulk, Interrupt
|
||||
}
|
||||
@@ -149,4 +151,11 @@ public abstract class AbstractDeviceInfo {
|
||||
this.mode = mode;
|
||||
}
|
||||
|
||||
public boolean doCompareData() {
|
||||
return compareData;
|
||||
}
|
||||
|
||||
public void setDoCompareData(boolean compareData) {
|
||||
this.compareData = compareData;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user