Skip to content

Commit 284f8ba

Browse files
author
“A1-4U2T1NN”
committed
feat: added ChigazoGrahamProvider.java file with data provider coded within;
1 parent cae2152 commit 284f8ba

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package data;
2+
3+
import java.util.Map;
4+
5+
import org.springframework.stereotype.Service;
6+
7+
import com.codedifferently.lesson9.dataprovider.DataProvider;
8+
9+
@Service
10+
public class ChigazoGrahamProvider extends DataProvider {
11+
public String getProviderName() {
12+
return "chigazograham";
13+
}
14+
15+
public Map<String, Class> getColumnTypeByName() {
16+
return Map.of(
17+
"column1",String.class,
18+
"column2",Boolean.class,
19+
"column3", Long.class,
20+
"column4", Float.class,
21+
"column5", Double.class,
22+
"column6", Short.class,
23+
"column7", Integer.class);
24+
}
25+
}
26+

0 commit comments

Comments
 (0)