1 /* 2 * Copyright 2021-2022 The OSHI Project Contributors 3 * SPDX-License-Identifier: MIT 4 */ 5 package oshi.driver.linux.proc; 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 CpuInfoTest { 15 @Test 16 void testQueries() { 17 assertDoesNotThrow(CpuInfo::queryCpuManufacturer); 18 assertDoesNotThrow(CpuInfo::queryBoardInfo); 19 } 20 }