@Test public void testVerifyThreadsStopped() { System.out.println("verifyThreadsStopped"); AbstractSimpleThreadGroup instance = new AbstractSimpleThreadGroupImpl(); boolean expResult = true; boolean result = instance.verifyThreadsStopped(); assertEquals(expResult, result); }
@Override public boolean verifyThreadsStopped() { boolean stoppedAll = true; for (Thread t : allThreads.values()) { stoppedAll = stoppedAll && verifyThreadStopped(t); } return stoppedAll; }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public boolean verifyThreadsStopped() { boolean stoppedAll = true; for (Thread t : allThreads.values()) { stoppedAll = stoppedAll && verifyThreadStopped(t); } return stoppedAll; } }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public boolean verifyThreadsStopped() { boolean stoppedAll = true; for (Thread t : allThreads.values()) { stoppedAll = stoppedAll && verifyThreadStopped(t); } return stoppedAll; } AbstractSimpleThreadGroup(); }
AbstractSimpleThreadGroup extends AbstractThreadGroup { @Override public boolean verifyThreadsStopped() { boolean stoppedAll = true; for (Thread t : allThreads.values()) { stoppedAll = stoppedAll && verifyThreadStopped(t); } return stoppedAll; } 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 boolean verifyThreadsStopped() { boolean stoppedAll = true; for (Thread t : allThreads.values()) { stoppedAll = stoppedAll && verifyThreadStopped(t); } return stoppedAll; } 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; }