searls.jasmine.runner
Class SpecRunnerTitaniumGenerator

java.lang.Object
  extended by searls.jasmine.runner.SpecRunnerTitaniumGenerator

public class SpecRunnerTitaniumGenerator
extends java.lang.Object

Class generating the titanium app.js file.


Nested Class Summary
static class SpecRunnerTitaniumGenerator.ReporterType
          Jasmine reporter type.
 
Constructor Summary
SpecRunnerTitaniumGenerator(java.util.List<java.lang.String> sourcesToLoadFirst, java.util.List<java.lang.String> sourceFiles, java.io.File baseDir, java.lang.String libDirName, java.lang.String specDirName)
           
 
Method Summary
 java.lang.String generate(SpecRunnerTitaniumGenerator.ReporterType reporterType)
          Generate the jasmine tests runner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecRunnerTitaniumGenerator

public SpecRunnerTitaniumGenerator(java.util.List<java.lang.String> sourcesToLoadFirst,
                                   java.util.List<java.lang.String> sourceFiles,
                                   java.io.File baseDir,
                                   java.lang.String libDirName,
                                   java.lang.String specDirName)
Method Detail

generate

public java.lang.String generate(SpecRunnerTitaniumGenerator.ReporterType reporterType)
Generate the jasmine tests runner.

Parameters:
reporterType - The reporter to use.


Copyright © 2011 SOFTEC sa. All Rights Reserved.