Also, I'm still having trouble with:

   public class LabIdentifier extends BaseIdentifierProcessor
   {
      // @formatter:off
      private LabIdentifierPropertiesMedical liProperties = new
   LabIdentifierPropertiesMedical();
   *  private ComponentLog log          = getLogger();*

causing NoSuchMethodErrors. I'm not finding clear examples out there of people using ComponentLog in 1.0.0 or my pre-1.0.0 practices were shabby.

Thanks.

-------- Forwarded Message --------
Subject:        MockProcessorLog in NiFi 1.0.0...
Date:   Wed, 9 Nov 2016 15:19:57 -0700
From:   Russell Bateman <[email protected]>
To:     [email protected]



I'm porting our 0.7.1 base forward to begin using 1.0.0. I haven't figured out a way around this in my JUnit testing:

   ComponentLog log = new MockProcessorLog( "SectionScoringIdentifier
   (simulated)", SectionScoringIdentifierPropertiesTest.class );


MockProcessorLog causes a NoClassDefException, of course. What's the appropriate translation?

Thanks,

Russ


Reply via email to