Package org.usb4java

Examples of org.usb4java.ContainerIdDescriptor


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


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

     */
    @Test(expected = IllegalStateException.class)
    public void testFreeContainerIdDescriptorWithUninitializedDescriptor()
    {
        assumeUsbTestsEnabled();
        LibUsb.freeContainerIdDescriptor(new ContainerIdDescriptor());
    }
View Full Code Here

TOP

Related Classes of org.usb4java.ContainerIdDescriptor

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.