protected void flowDown(Test t) { if (m_delegate == null) { throw new AssertionError("delegate is not set."); } if ( t instanceof TestSuite ) { flowDown( (TestSuite) t ); } else if (t instanceof IProxyTest) { log.debug("Setting delegate on " + t.getClass() + " to " + m_delegate.getClass()); ((IProxyTest) t).setDelegate(m_delegate); } }
protected void flowDown(Test t) { if (m_delegate == null) { throw new AssertionError("delegate is not set."); } if ( t instanceof TestSuite ) { flowDown( (TestSuite) t ); } else if (t instanceof IProxyTest) { log.debug("Setting delegate on " + t.getClass() + " to " + m_delegate.getClass()); ((IProxyTest) t).setDelegate(m_delegate); } }