Refactor integration tests 25/62925/6
authorLorand Jakab <lojakab@cisco.com>
Fri, 8 Sep 2017 17:02:04 +0000 (20:02 +0300)
committerLorand Jakab <lojakab@cisco.com>
Fri, 29 Sep 2017 15:03:02 +0000 (18:03 +0300)
commite357a9be2a6cd956fb7cb964d92858a728087edb
treedd019faa1a3c2563165856626bb63f6c16298f36
parent94989baeda43fa8e9da628fcefa1ad60c4948c87
Refactor integration tests

Many methods in integration tests were created ad-hoc to solve a
problem, without checking that methods performing similar functions
already exist and can be reused.

This patch factors out some of those methods to a separate utility
class, and migrates existing users to those methods. They are also
sorted according to functionality within the new file, and documented
with JavaDoc, so it's easier to figure what they offer.

This refactoring is not exhaustive, and may be continued in follow-up
patches.

Change-Id: I14d2a0abaa9d1cb59ff241eecd7e184165701ea6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTest.java
integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTestUtil.java [new file with mode: 0644]