1 54 55 package junitx.runner.resource; 56 57 import java.util.Properties ; 58 59 import junitx.runner.*; 60 import junitx.runner.TestRunner; 61 62 66 public abstract class AbstractResource implements Resource { 67 68 protected boolean m_filtering = true; 69 70 protected boolean m_verbose = false; 71 72 public void init(Properties props) throws Exception { 73 m_filtering = Boolean.valueOf(props.getProperty(TestRunner.STACKTRACE_FILTERING, "true")).booleanValue(); 74 m_verbose = Boolean.valueOf(props.getProperty(TestRunner.RUNNER_VERBOSE, "false")).booleanValue(); 75 } 76 77 } 78 | Popular Tags |