From bf3dbe0e649cf1a3aef457b27c150492c6dcd068 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 22 Sep 2021 00:09:00 +0200 Subject: [PATCH] Remove useless test This is a test for a null check in dead code, just remove it. Change-Id: If5a2347a27697640cb109be0a2d93d28de291dd2 Signed-off-by: Robert Varga --- .../mdsal/binding/yang/types/TypeProviderTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/binding/mdsal-binding-generator/src/test/java/org/opendaylight/mdsal/binding/yang/types/TypeProviderTest.java b/binding/mdsal-binding-generator/src/test/java/org/opendaylight/mdsal/binding/yang/types/TypeProviderTest.java index 0a31378efc..9900318633 100644 --- a/binding/mdsal-binding-generator/src/test/java/org/opendaylight/mdsal/binding/yang/types/TypeProviderTest.java +++ b/binding/mdsal-binding-generator/src/test/java/org/opendaylight/mdsal/binding/yang/types/TypeProviderTest.java @@ -481,10 +481,4 @@ public class TypeProviderTest { final Type extType = provider.generatedTypeForExtendedDefinitionType(aesIdentityrefType, aesIdentityrefType); assertEquals(null, extType); } - - @Test(expected = NullPointerException.class) - public void provideGeneratedTOBuilderForBitsTypeDefinitionWithNullTypedefTest() { - final AbstractTypeProvider provider = new RuntimeTypeProvider(SCHEMA_CONTEXT); - provider.provideGeneratedTOBuilderForBitsTypeDefinition(JavaTypeName.create("foo", "foo"), null, "foo"); - } } -- 2.36.6