01: /* DDSteps - Data Driven JUnit Test Steps
02: * Copyright (C) 2006 Jayway AB
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License version 2.1 as published by the Free Software Foundation.
07: *
08: * This library is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * Lesser General Public License for more details.
12: *
13: * You should have received a copy of the GNU Lesser General Public
14: * License along with this library; if not, visit
15: * http://www.opensource.org/licenses/lgpl-license.php
16: */
17: package org.ddsteps.testcase.support;
18:
19: import org.ddsteps.DDStepsTestCase;
20: import org.ddsteps.data.DataLoader;
21: import org.ddsteps.data.support.DataLoaderFactory;
22:
23: /**
24: * DDSteps convenience base class for unit tests with test data from Excel.
25: *
26: * @author adamskogman
27: */
28: public abstract class DDStepsExcelTestCase extends DDStepsTestCase {
29:
30: /**
31: * Uses the caching excel dataloader with property placeholder replacement.
32: *
33: * @return A caching Excel data loader
34: *
35: * @see DDStepsExcelTestCase#createDataLoader()
36: * @see DataLoaderFactory#getCachingExcelDataLoader()
37: */
38: protected DataLoader createDataLoader() {
39: return DataLoaderFactory.getCachingExcelDataLoader();
40: }
41:
42: }
|