MCPcopy
hub / github.com/oshi/oshi / testDisplay

Method testDisplay

oshi-core/src/test/java/oshi/hardware/DisplayTest.java:44–51  ·  view source on GitHub ↗

Test displays

()

Source from the content-addressed store, hash-verified

42 * Test displays
43 */
44 @Test
45 void testDisplay() {
46 SystemInfo si = new SystemInfo();
47 List<Display> displays = si.getHardware().getDisplays();
48 for (Display d : displays) {
49 assertThat("EDID Byte length should be at least 128", d.getEdid().length, is(greaterThanOrEqualTo(128)));
50 }
51 }
52}

Callers

nothing calls this directly

Calls 4

getHardwareMethod · 0.95
assertThatMethod · 0.80
getDisplaysMethod · 0.65
getEdidMethod · 0.65

Tested by

no test coverage detected