Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)
http://www.pi4j.com
Apache License 2.0
1.31k stars 448 forks source link

Issue/#521 #530

Closed savageautomate closed 3 years ago

savageautomate commented 3 years ago

Added LinuxFile integration testing for new getPosixFD() native method.

You can execute these tests directly on the Raspberry Pi hardware using command:

cd pi4j-core
mvn verify -Pintegration-tests

Results should be:

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.pi4j.io.file.test.LinuxFileIntegrationTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.329 s - in com.pi4j.io.file.test.LinuxFileIntegrationTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0