Package com.github.searls.jasmine.config

Examples of com.github.searls.jasmine.config.JasmineConfiguration


    this.generatorConfiguration = this.initGenerator(null,SpecRunnerTemplate.REQUIRE_JS,null);
    assertSame(SpecRunnerTemplate.REQUIRE_JS, this.generatorConfiguration.getSpecRunnerTemplate());
  }

  private HtmlGeneratorConfiguration initGenerator(IOUtilsWrapper ioUtilsWrapper, SpecRunnerTemplate template, File customTemplate) throws IOException {
    JasmineConfiguration mock = mock(JasmineConfiguration.class);
    when(mock.getSpecRunnerTemplate()).thenReturn(template);
    when(mock.getCustomRunnerTemplate()).thenReturn(customTemplate);
    return new HtmlGeneratorConfiguration(ioUtilsWrapper, ReporterType.JsApiReporter, mock, mock(ScriptResolver.class));
  }
View Full Code Here

TOP

Related Classes of com.github.searls.jasmine.config.JasmineConfiguration

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.