File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/test/java.org.purejava Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ import org .junit .jupiter .api .DisplayName ;
2+ import org .junit .jupiter .api .Order ;
3+ import org .junit .jupiter .api .Test ;
4+ import org .junit .jupiter .api .condition .EnabledOnOs ;
5+ import org .junit .jupiter .api .condition .OS ;
6+ import org .slf4j .Logger ;
7+ import org .slf4j .LoggerFactory ;
8+
9+ import static org .junit .jupiter .api .Assertions .*;
10+
11+ class AppIndicatorTest {
12+ private static final Logger LOG = LoggerFactory .getLogger (AppIndicatorTest .class );
13+ @ Test
14+ @ Order (1 )
15+ @ DisplayName ("Testing availability of native lib" )
16+ @ EnabledOnOs (OS .LINUX )
17+ public void shouldHaveNoErrors () {
18+ try {
19+ System .loadLibrary ("appindicator3" );
20+ } catch (UnsatisfiedLinkError e ) {
21+ LOG .error ("Native code library failed to load.\n " , e );
22+ }
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments