Fix type ordering assumptions 76/68076/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 17 Jan 2018 15:58:59 +0000 (16:58 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 9 Feb 2018 00:18:41 +0000 (00:18 +0000)
commit26d2a37ac1366a99f1752abdd61f50ff6a82b2bc
treed426b3c1d3e1043ae85f3bbd9f7321dd5ead0690
parent7e56e933f289360906efc44a534948a7afe1305b
Fix type ordering assumptions

There are two types in this test with the same name. Do not assume
they will be reported in a particular order, but rather pick the
correct one for testing.

Change-Id: I0593b6505d7aec985504e92f8487b562c96c2a7d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 489af55d744d90a5955def5a816f9196fd3c2ed0)
binding/mdsal-binding-generator-impl/src/test/java/org/opendaylight/mdsal/binding/generator/impl/GeneratedTypesLeafrefTest.java