@Test public void messageSubscriberSchemaFROMTest() { assertTrue( FROMValidation.testForMatchingFROMs( "/MessageSubscriber.xml", MessageSubscription.instance)); assertTrue(FROMValidation.testForMatchingLocators(MessageSubscription.instance)); }
@Test public void trafficReleaseSchemaFROMTest() { assertTrue( FROMValidation.testForMatchingFROMs( "/TrafficReleaseSchema.xml", TrafficReleaseSchema.instance)); assertTrue(FROMValidation.testForMatchingLocators(TrafficReleaseSchema.instance)); }
@Test public void validateIdRangesTemplate() { String templateFile = "/websocket.xml"; String varName = "FROM"; FieldReferenceOffsetManager encodedFrom = WebSocketSchema.FROM; FROMValidation.testForMatchingFROMs(templateFile, varName, encodedFrom); }
@Test public void groveI2CResponseSchemaFROMTest() { assertTrue( FROMValidation.testForMatchingFROMs("/I2CResponseSchema.xml", I2CResponseSchema.instance)); assertTrue(FROMValidation.testForMatchingLocators(I2CResponseSchema.instance)); }
@Test public void groveRequestFROMTest() { assertTrue( FROMValidation.testForMatchingFROMs("/GroveRequest.xml", GroveRequestSchema.instance)); assertTrue(FROMValidation.testForMatchingLocators(GroveRequestSchema.instance)); }