Isn't this an odd place for a Junit test code? This fell off my radar completely buried in this location. Don't recall placing this there. Seems like this belongs to uimaj-as-activemq project where the rest of junit tests for uima-as "live". What was the motivation to place this code in its current location? This seems like dead code to me. Dead meaning not being used.
-jerry On Thu, Dec 8, 2016 at 4:17 PM, Marshall Schor <[email protected]> wrote: > In project uima-as, > in the src/test/java, > in the method org.apache.uima.as.dd, > in the class Dd2SpringTest, there's a line: > dd2SpringInstance.setTestMode(); // prevents throwing on errors > > which Eclipse flags as an error, because there is no "setTestMode()" > method in > Dd2SpringInstance. > > The normal maven build doesn't catch this because the project "uima-as" is > not a > configured as a Java project, > so no compile of the src/test/java classes happens. > > Is this expected? > > -Marshall >
