/**
* Copyright (c)2010-2011 Enterprise Website Content Management System(EWCMS), All rights reserved.
* EWCMS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
* http://www.ewcms.com
*/
package com.ewcms.content.particular.util;
import java.io.File;
import org.junit.Test;
public class XmlConvertTest {
@Test
public void testImportXML(){
String filePath = "E:/work/workspace/ewcms/src/test/resources/xmjbxx.xml";
File file = new File(filePath);
XmlConvert.importXML(file, "XML");
}
@Test
public void testImportZip(){
String filePath = "E:/work/workspace/ewcms/src/test/resources/xmjbxx.zip";
File file = new File(filePath);
XmlConvert.importXML(file, "zip");
}
}