Exemple #1
0
 private void setRunningVersion(List<?> list, boolean running) {
   @SuppressWarnings("unchecked") // all implementations extend TestElement
   List<TestElement> telist = (List<TestElement>) list;
   for (TestElement te : telist) {
     te.setRunningVersion(running);
   }
 }
 /** {@inheritDoc} */
 @Override
 public void setRunningVersion(boolean runningVersion) {
   super.setRunningVersion(runningVersion);
   value.setRunningVersion(runningVersion);
   if (runningVersion) {
     savedValue = value;
   } else {
     savedValue = null;
   }
 }