com.liferay.portal.tools
Class SeleneseToJavaBuilder
java.lang.Object
com.liferay.portal.tools.SeleneseToJavaBuilder
public class SeleneseToJavaBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeleneseToJavaBuilder
public SeleneseToJavaBuilder(String[] args)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
fixParam
protected String fixParam(String param)
formatTestSuite
protected String formatTestSuite(String fileName,
String oldContent)
throws Exception
- Throws:
Exception
getFileNames
protected Set<String> getFileNames()
throws Exception
- Throws:
Exception
getNormalizedContent
protected String getNormalizedContent(String fileName)
throws Exception
- Throws:
Exception
getParams
protected String[] getParams(String step)
throws Exception
- Throws:
Exception
minimizeTestCase
protected void minimizeTestCase(String fileName,
String minimizeTestFileName)
throws Exception
- Throws:
Exception
normalizeFileName
protected String normalizeFileName(String fileName)
readFile
protected String readFile(String fileName)
throws Exception
- Throws:
Exception
translateTestCase
protected void translateTestCase(String fileName)
throws Exception
- Throws:
Exception
translateTestSuite
protected void translateTestSuite(String fileName)
throws Exception
- Throws:
Exception
writeFile
protected void writeFile(String fileName,
String content,
boolean format)
throws Exception
- Throws:
Exception