Skip to content

Commit

Permalink
Incomplete check of attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewX192 committed Dec 24, 2023
1 parent b2ee40a commit 6f66808
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public void testCapabilityConfiguredViaObjects() throws Exception {
AttributeMap attributes = driver.getBaseAttributes();

assertEquals("Iris", attributes.get(DeviceCapability.KEY_VENDOR));
assertEquals(attributes.keySet(), IrisCollections.setOf(DeviceCapability.KEY_DEVTYPEHINT, DeviceCapability.KEY_VENDOR, DevicePowerCapability.KEY_SOURCE));
assertEquals(10, attributes.size());
assertEquals(DevicePowerCapability.SOURCE_BATTERY, attributes.get(DevicePowerCapability.KEY_SOURCE));
assertEquals(false, attributes.get(DevicePowerCapability.KEY_LINECAPABLE));
Expand Down

0 comments on commit 6f66808

Please sign in to comment.