@Test public void testNumberOfActiveThreads() { System.out.println("numberOfActiveThreads"); AbstractSimpleThreadGroup instance = new AbstractSimpleThreadGroupImpl(); int expResult = 0; int result = instance.numberOfActiveThreads(); assertEquals(expResult, result); }
@Override public int numberOfActiveThreads() { return allThreads.size(); }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public int numberOfActiveThreads() { return allThreads.size(); } }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public int numberOfActiveThreads() { return allThreads.size(); } AbstractSimpleThreadGroup(); }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public int numberOfActiveThreads() { return allThreads.size(); } AbstractSimpleThreadGroup(); void scheduleThread(JMeterThread thread); @Override void start(int groupNum, ListenerNotifier notifier, ListedHashTree threadGroupTree, StandardJMeterEngine engine); @Override boolean stopThread(String threadName, boolean now); @Override void threadFinished(JMeterThread thread); @Override void tellThreadsToStop(); @Override void stop(); @Override int numberOfActiveThreads(); @Override boolean verifyThreadsStopped(); @Override void waitThreadsStopped(); }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public int numberOfActiveThreads() { return allThreads.size(); } AbstractSimpleThreadGroup(); void scheduleThread(JMeterThread thread); @Override void start(int groupNum, ListenerNotifier notifier, ListedHashTree threadGroupTree, StandardJMeterEngine engine); @Override boolean stopThread(String threadName, boolean now); @Override void threadFinished(JMeterThread thread); @Override void tellThreadsToStop(); @Override void stop(); @Override int numberOfActiveThreads(); @Override boolean verifyThreadsStopped(); @Override void waitThreadsStopped(); static final String THREAD_GROUP_DISTRIBUTED_PREFIX_PROPERTY_NAME; }