Package org.junithelper.core.config

Examples of org.junithelper.core.config.Configulation


     * @parameter
     */
    protected String mockObjectFramework = "";

    protected Configulation loadConfig() {
        Configulation config = new Configulation();
        config.language = language;
        config.outputFileEncoding = outputFileEncoding;
        config.directoryPathOfProductSourceCode = directoryPathOfProductSourceCode;
        config.directoryPathOfTestSourceCode = directoryPathOfTestSourceCode;
        try {
View Full Code Here


  @Override
  public String getUnifiedVersionTestCaseSourceCode(String currentTestCaseSourceCode, JUnitVersion version) {
    String dest = currentTestCaseSourceCode;
    ClassMeta classMeta = new ClassMetaExtractor(config).extract(currentTestCaseSourceCode);
    Configulation config = ObjectUtil.deepCopy(this.config);
    if (version == JUnitVersion.version3) {
      dest = dest.replaceAll("@Test[\\s\r\n]*public void ", "public void test"
          + config.testMethodName.basicDelimiter);
      String[] splittedArray = config.testCaseClassNameToExtend.split("\\.");
      String testCaseName = splittedArray[splittedArray.length - 1];
View Full Code Here

TOP

Related Classes of org.junithelper.core.config.Configulation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.