Examples of JsDocObserver


Examples of org.bladerunnerjs.plugin.plugins.jsdoc.JsDocObserver

public class JsDocModelObserverTest extends SpecTest {
 
  @Test
  public void placeholdersAreCreatedWhenANewAppIsCreated() throws Exception {
    given(testSdkDirectory).containsFileWithContents("apps/app1/src/MyClass.js", "// my class")
      .and(brjs).hasModelObserverPlugins(new JsDocObserver())
      .and(testSdkDirectory).containsFileWithContents("sdk/jsdoc-toolkit-resources/jsdoc-placeholders/index.html", "PLACEHOLDER");
    when(brjs).hasBeenCreated();
    then(brjs).hasDir("generated/app/app1/jsdoc")
      .and(brjs.app("app1").storageDir("jsdoc")).containsFileWithContents("index.html", "PLACEHOLDER");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.