1 /* 2 * Copyright 2021-2022 The OSHI Project Contributors 3 * SPDX-License-Identifier: MIT 4 */ 5 package oshi.driver.linux; 6 7 import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; 8 9 import org.junit.jupiter.api.Test; 10 import org.junit.jupiter.api.condition.EnabledOnOs; 11 import org.junit.jupiter.api.condition.OS; 12 13 @EnabledOnOs(OS.LINUX) 14 class DevicetreeTest { 15 16 @Test 17 void testQueryModel() { 18 assertDoesNotThrow(Devicetree::queryModel); 19 } 20 }