Package org.usb4java

Examples of org.usb4java.BosDevCapabilityDescriptor


    @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 testGetSsUsbDeviceCapabilityDescriptorWithUninitializedEndpoint()
    {
        assumeUsbTestsEnabled();
        LibUsb.getSsUsbDeviceCapabilityDescriptor(null,
            new BosDevCapabilityDescriptor(),
            new SsUsbDeviceCapabilityDescriptor());
    }
View Full Code Here

     */
    @Test(expected = IllegalStateException.class)
    public void testGetContainerIdDescriptorWithUninitializedEndpoint()
    {
        assumeUsbTestsEnabled();
        LibUsb.getContainerIdDescriptor(null, new BosDevCapabilityDescriptor(),
            new ContainerIdDescriptor());
    }
View Full Code Here

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

TOP

Related Classes of org.usb4java.BosDevCapabilityDescriptor

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.