Skip to content

Commit

Permalink
Configuration descriptor parser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbl committed Oct 6, 2023
1 parent d24480b commit 8cb47de
Show file tree
Hide file tree
Showing 5 changed files with 781 additions and 10 deletions.
6 changes: 3 additions & 3 deletions java-does-usb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.codecrete.usb</groupId>
<artifactId>java-does-usb</artifactId>
<version>0.6.1</version>
<version>0.6.2-SNAPSHOT</version>

<properties>
<maven.compiler.source>21</maven.compiler.source>
Expand Down Expand Up @@ -75,7 +75,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down Expand Up @@ -140,7 +140,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.9.3</version>
<version>5.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@
import static net.codecrete.usb.usbstandard.Constants.*;

/**
* Parser for USB configuration descriptors
* Parser for USB configuration descriptors.
*
* <p>
* It extracts the information about endpoints, interfaces (incl. alternate interfaces) and associations
* between interfaces to derive the functions. Other descriptor types are ignored.
* </p>
*/
public class ConfigurationParser {

Expand Down
Loading

0 comments on commit 8cb47de

Please sign in to comment.