예제 #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);
   }
 }
예제 #2
0
 /** {@inheritDoc} */
 @Override
 public void setRunningVersion(boolean runningVersion) {
   super.setRunningVersion(runningVersion);
   value.setRunningVersion(runningVersion);
   if (runningVersion) {
     savedValue = value;
   } else {
     savedValue = null;
   }
 }