1 | TestElement createTestElement() {↵ | | 1 | TestElement createTestElement() {↵
|
2 | CacheManager element = new CacheManager();↵ | | 2 | ConstantTimer timer = new ConstantTimer();↵
|
3 | modifyTestElement(element);↵ | | 3 | modifyTestElement(timer);↵
|
4 | return element;↵ | | 4 | return timer;↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /* Implements ↵ | | 6 | /**↵
|
| | | 7 | * Modifies a given TestElement to mirror the data in the gui components.↵
|
| | | 8 | * ↵
|
7 | JMeterGUIComponent.modifyTestElement(TestElement)↵ | | 9 | * @see org.apache.jmeter.gui.JMeterGUIComponent#modifyTestElement(TestElement)↵
|
8 | */↵ | | 10 | */↵
|
9 | public void modifyTestElement(TestElement element) {↵ | | 11 | public void modifyTestElement(TestElement timer) {↵
|
10 | configureTestElement(element);↵ | | 12 | this.configureTestElement(timer);↵
|
11 | ((CacheManager)element).setClearEachIteration(clearEachIteration.isSelected());↵ | | 13 | ((ConstantTimer) timer).setDelay(delayField.getText());↵
|
12 | } | | 14 | }
|