Package org.usb4java

Examples of org.usb4java.Usb20ExtensionDescriptor


    @Test(expected = IllegalStateException.class)
    public void testGetUsb20ExtensionDescriptorWithUninitializedEndpoint()
    {
        assumeUsbTestsEnabled();
        LibUsb.getUsb20ExtensionDescriptor(null,
            new BosDevCapabilityDescriptor(), new Usb20ExtensionDescriptor());
    }
View Full Code Here


     */
    @Test(expected = IllegalStateException.class)
    public void testFreeUsb20ExtensionDescriptorWithUninitializedDescriptor()
    {
        assumeUsbTestsEnabled();
        LibUsb.freeUsb20ExtensionDescriptor(new Usb20ExtensionDescriptor());
    }
View Full Code Here

    public void setUp()
    {
        if (isUsbTestsEnabled())
        {
            LibUsb.init(null);
            this.descriptor = new Usb20ExtensionDescriptor();
        }
    }
View Full Code Here

TOP

Related Classes of org.usb4java.Usb20ExtensionDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.