Package org.usb4java

Examples of org.usb4java.Version


     */
    @Test
    public void testGetVersion()
    {
        assumeUsbTestsEnabled();
        final Version version = LibUsb.getVersion();
        assertNotNull(version);
        assertEquals(1, version.major());
        assertEquals(0, version.minor());
        assertTrue((version.micro() > 0) && (version.micro() < 100));
        assertNotNull(version.rc());
        assertTrue(version.toString().startsWith("1.0."));
    }
View Full Code Here

TOP

Related Classes of org.usb4java.Version

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.