Liferay 6.1.2-ce-ga3

com.liferay.portal.tools
Class SeleneseToJavaBuilder

java.lang.Object
  extended by com.liferay.portal.tools.SeleneseToJavaBuilder

public class SeleneseToJavaBuilder
extends Object


Constructor Summary
SeleneseToJavaBuilder(String[] args)
           
 
Method Summary
protected  String fixParam(String param)
           
protected  String formatTestSuite(String fileName, String oldContent)
           
protected  Set<String> getFileNames()
           
protected  String getNormalizedContent(String fileName)
           
protected  String[] getParams(String step)
           
static void main(String[] args)
           
protected  void minimizeTestCase(String fileName, String minimizeTestFileName)
           
protected  String normalizeFileName(String fileName)
           
protected  String readFile(String fileName)
           
protected  void translateTestCase(String fileName)
           
protected  void translateTestSuite(String fileName)
           
protected  void writeFile(String fileName, String content, boolean format)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeleneseToJavaBuilder

public SeleneseToJavaBuilder(String[] args)
                      throws Exception
Throws:
Exception
Method Detail

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

Liferay 6.1.2-ce-ga3