Home / Class/ OsInfoTests Class — spring-boot Architecture

OsInfoTests Class — spring-boot Architecture

Architecture documentation for the OsInfoTests class in OsInfoTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/info/OsInfoTests.java lines 28–38

class OsInfoTests {

	@Test
	void osInfoIsAvailable() {
		OsInfo osInfo = new OsInfo();
		assertThat(osInfo.getName()).isEqualTo(System.getProperty("os.name"));
		assertThat(osInfo.getVersion()).isEqualTo(System.getProperty("os.version"));
		assertThat(osInfo.getArch()).isEqualTo(System.getProperty("os.arch"));
	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free