Package org.usb4java

Examples of org.usb4java.SsEndpointCompanionDescriptor


    @Test(expected = IllegalStateException.class)
    public void testGetSsEndpointCompanionDescriptorWithUninitializedEndpoint()
    {
        assumeUsbTestsEnabled();
        LibUsb.getSsEndpointCompanionDescriptor(null, new EndpointDescriptor(),
            new SsEndpointCompanionDescriptor());
    }
View Full Code Here


    @Test(expected = IllegalStateException.class)
    public void testFreeSsEndpointCompanionDescriptorWithUninitializedDescriptor()
    {
        assumeUsbTestsEnabled();
        LibUsb
            .freeSsEndpointCompanionDescriptor(new SsEndpointCompanionDescriptor());
    }
View Full Code Here

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

TOP

Related Classes of org.usb4java.SsEndpointCompanionDescriptor

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.