X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fdbcapi.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdbcapi%2Ftestframework%2FReflectionHarness.java;fp=src%2Ftest%2Fjava%2Forg%2Fonap%2Fdmaap%2Fdbcapi%2Fmodel%2FReflectionHarness.java;h=8f70eca1e075ca6b94c16193c0d69e26a3a72a2a;hp=76167ce269c9874a9da09cec6e222182ec4fee4a;hb=503da874ce876dbe463bcc1a03f63ea0f48fe650;hpb=0afd0dd2f1fa4435fa730a287e68fec4f271e617 diff --git a/src/test/java/org/onap/dmaap/dbcapi/model/ReflectionHarness.java b/src/test/java/org/onap/dmaap/dbcapi/testframework/ReflectionHarness.java similarity index 93% rename from src/test/java/org/onap/dmaap/dbcapi/model/ReflectionHarness.java rename to src/test/java/org/onap/dmaap/dbcapi/testframework/ReflectionHarness.java index 76167ce..8f70eca 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/model/ReflectionHarness.java +++ b/src/test/java/org/onap/dmaap/dbcapi/testframework/ReflectionHarness.java @@ -52,10 +52,10 @@ public class ReflectionHarness { } private void testGetter( Class c, Method m, Class[] pType, String val ) { - //out.format( fmt, "testGetter: Method Name", m.getName() ); + out.format( fmt, "testGetter: Method Name", m.getName() ); Class retType = m.getReturnType(); - //out.format( fmt, "testGetter: Return Type ", retType ); - //out.format( fmt, "testGetter: val ", (val != null)?val:"null" ); + out.format( fmt, "testGetter: Return Type ", retType ); + out.format( fmt, "testGetter: val ", (val != null)?val:"null" ); assertTrue( pType.length == 0 ); try { @@ -67,10 +67,10 @@ public class ReflectionHarness { if( retType.equals( Class.forName( "java.lang.String" ) ) ) { if ( val == null ) { - //out.format( fmt, "testGetter: expected null, got ", (o != null)?o:"null" ); + out.format( fmt, "testGetter: expected null, got ", (o != null)?o:"null" ); assert( o == null ); } else { - //out.format( fmt, "testGetter: expected val, got ", (o != null)?o:"null" ); + out.format( fmt, "testGetter: expected val, got ", (o != null)?o:"null" ); assert( o.equals( val ) ); } } else {