// Path: alldep-jar/src/main/java/com/gatf/executor/core/MapKeyValueCustomXstreamConverter.java
// public class MapKeyValueCustomXstreamConverter implements Converter
// {
//     @SuppressWarnings("rawtypes")
// 	public boolean canConvert(final Class clazz)
//     {
//         return AbstractMap.class.isAssignableFrom(clazz);
//     }
// 
//     @SuppressWarnings("unchecked")
// 	public void marshal(final Object value, final HierarchicalStreamWriter writer, final MarshallingContext context)
//     {
//         final AbstractMap<String, String> map = (AbstractMap<String, String>) value;
//         for (final Entry<String, String> entry : map.entrySet())
//         {
//             writer.startNode(entry.getKey().toString());
//             writer.setValue(entry.getValue().toString());
//             writer.endNode();
//         }
//     }
// 
//     public Object unmarshal(final HierarchicalStreamReader reader, final UnmarshallingContext context)
//     {
//         final AbstractMap<String, String> map = new HashMap<String, String>();
//         while (reader.hasMoreChildren())
//         {
//             reader.moveDown();
//             map.put(reader.getNodeName(), reader.getValue());
//             reader.moveUp();
//         }
//         return map;
//     }
// }


import java.io.Serializable;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.gatf.executor.core.MapKeyValueCustomXstreamConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;

/*
    Copyright 2013-2019, Sumeet Chhetri
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/
package com.gatf.executor.dataprovider;




/**
 * @author Sumeet Chhetri
 * The Test data configuration properties
 */
@XStreamAlias("gatf-testdata-config")
@JsonAutoDetect(getterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY, isGetterVisibility=Visibility.NONE)
@JsonInclude(value = Include.NON_NULL)
public class GatfTestDataConfig implements Serializable {

	private static final long serialVersionUID = 1L;
	

// Path: alldep-jar/src/main/java/com/gatf/executor/core/MapKeyValueCustomXstreamConverter.java
// public class MapKeyValueCustomXstreamConverter implements Converter
// {
//     @SuppressWarnings("rawtypes")
// 	public boolean canConvert(final Class clazz)
//     {
//         return AbstractMap.class.isAssignableFrom(clazz);
//     }
// 
//     @SuppressWarnings("unchecked")
// 	public void marshal(final Object value, final HierarchicalStreamWriter writer, final MarshallingContext context)
//     {
//         final AbstractMap<String, String> map = (AbstractMap<String, String>) value;
//         for (final Entry<String, String> entry : map.entrySet())
//         {
//             writer.startNode(entry.getKey().toString());
//             writer.setValue(entry.getValue().toString());
//             writer.endNode();
//         }
//     }
// 
//     public Object unmarshal(final HierarchicalStreamReader reader, final UnmarshallingContext context)
//     {
//         final AbstractMap<String, String> map = new HashMap<String, String>();
//         while (reader.hasMoreChildren())
//         {
//             reader.moveDown();
//             map.put(reader.getNodeName(), reader.getValue());
//             reader.moveUp();
//         }
//         return map;
//     }
// }


// Path: alldep-jar/src/main/java/com/gatf/executor/dataprovider/GatfTestDataConfig.java
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.gatf.executor.core.MapKeyValueCustomXstreamConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;

/*
    Copyright 2013-2019, Sumeet Chhetri
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
    http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/
package com.gatf.executor.dataprovider;




/**
 * @author Sumeet Chhetri
 * The Test data configuration properties
 */
@XStreamAlias("gatf-testdata-config")
@JsonAutoDetect(getterVisibility=Visibility.NONE, fieldVisibility=Visibility.ANY, isGetterVisibility=Visibility.NONE)
@JsonInclude(value = Include.NON_NULL)
public class GatfTestDataConfig implements Serializable {

	private static final long serialVersionUID = 1L;
	

	@XStreamConverter(value=MapKeyValueCustomXstreamConverter.class)
