-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
stormcat24
committed
Oct 14, 2014
1 parent
cf4b2ed
commit 6bfec93
Showing
18 changed files
with
234 additions
and
8 deletions.
There are no files selected for viewing
Empty file.
20 changes: 20 additions & 0 deletions
20
.../test/scala/jp/co/cyberagent/aeromock/core/bootstrap/BootstrapManagerFreemarkerSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package jp.co.cyberagent.aeromock.core | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.core.bootstrap.{BootstrapManager, EnabledMode} | ||
import org.specs2.mutable.{Specification, Tables} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class BootstrapManagerFreemarkerSpec extends Specification with Tables with SpecSupport { | ||
|
||
"BootstrapManager" should { | ||
"delegete" in { | ||
BootstrapManager.delegate.collectFirst { | ||
case (EnabledMode.FREEMARKER, either) => either | ||
} must beSome(beRight()) | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...er/src/test/scala/jp/co/cyberagent/aeromock/template/freemarker/FreemarkerBootstrap.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jp.co.cyberagent.aeromock.template.freemarker | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.helper._ | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class FreemarkerBootstrapSpec extends Specification with Tables with SpecSupport { | ||
|
||
"FreemarkerBootstrap" should { | ||
"process" in { | ||
// TODO to be right | ||
trye(new FreemarkerBootstrap().process()).isLeft | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.../scala/jp/co/cyberagent/aeromock/core/bootstrap/BootstrapManagerGroovyTemplatesSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package jp.co.cyberagent.aeromock.core.bootstrap | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class BootstrapManagerGroovyTemplatesSpec extends Specification with Tables with SpecSupport { | ||
|
||
"BootstrapManager" should { | ||
"delegete" in { | ||
BootstrapManager.delegate.collectFirst { | ||
case (EnabledMode.GROOVY_TEMPLATE, either) => either | ||
} must beSome(beRight()) | ||
} | ||
} | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
...scala/jp/co/cyberagent/aeromock/template/groovytemplate/GroovyTemplateBootstrapSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package jp.co.cyberagent.aeromock.template.groovytemplate | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.helper._ | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class GroovyTemplateBootstrapSpec extends Specification with Tables with SpecSupport { | ||
|
||
"GroovyTemplateBootstrap" should { | ||
"process" in { | ||
trye(new GroovyTemplateBootstrap().process) must beRight() | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
.../test/scala/jp/co/cyberagent/aeromock/core/bootstrap/BootstrapManagerHandlebarsSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jp.co.cyberagent.aeromock.core.bootstrap | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class BootstrapManagerHandlebarsSpec extends Specification with Tables with SpecSupport { | ||
|
||
"BootstrapManager" should { | ||
"delegete" in { | ||
BootstrapManager.delegate.collectFirst { | ||
case (EnabledMode.HANDLEBARS, either) => either | ||
} must beSome(beRight()) | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...rc/test/scala/jp/co/cyberagent/aeromock/template/handlebars/HandlebarsBootstrapSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package jp.co.cyberagent.aeromock.template.handlebars | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.helper._ | ||
import org.specs2.mutable.{Specification, Tables} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class HandlebarsBootstrapSpec extends Specification with Tables with SpecSupport { | ||
|
||
"HandlebarsBootstrap" should { | ||
"process" in { | ||
trye(new HandlebarsBootstrap().process) must beRight() | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../src/test/scala/jp/co/cyberagent/aeromock/core/bootstrap/BootstrapManagerJade4jSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package jp.co.cyberagent.aeromock.core.bootstrap | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class BootstrapManagerJade4jSpec extends Specification with Tables with SpecSupport { | ||
|
||
"BootstrapManager" should { | ||
"delegete" in { | ||
BootstrapManager.delegate.collectFirst { | ||
case (EnabledMode.JADE4j, either) => either | ||
} must beSome(beRight()) | ||
} | ||
} | ||
} | ||
|
18 changes: 18 additions & 0 deletions
18
...jade4j/src/test/scala/jp/co/cyberagent/aeromock/template/jade4j/Jade4jBootstrapSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package jp.co.cyberagent.aeromock.template.jade4j | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.helper._ | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class Jade4jBootstrapSpec extends Specification with Tables with SpecSupport { | ||
|
||
"Jade4jBootstrap" should { | ||
"process" in { | ||
trye(new Jade4jBootstrap().process) must beRight() | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...c/test/scala/jp/co/cyberagent/aeromock/core/bootstrap/BootstrapManagerThymeleafSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jp.co.cyberagent.aeromock.core.bootstrap | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class BootstrapManagerThymeleafSpec extends Specification with Tables with SpecSupport { | ||
|
||
"BootstrapManager" should { | ||
"delegete" in { | ||
BootstrapManager.delegate.collectFirst { | ||
case (EnabledMode.THYMELEAF, either) => either | ||
} must beSome(beRight()) | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
.../src/test/scala/jp/co/cyberagent/aeromock/template/thymeleaf/ThymeleafBootstrapSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package jp.co.cyberagent.aeromock.template.thymeleaf | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.helper._ | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class ThymeleafBootstrapSpec extends Specification with Tables with SpecSupport { | ||
|
||
"ThymeleafBootstrap" should { | ||
"process" in { | ||
trye(new ThymeleafBootstrap().process) must beRight() | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rc/test/scala/jp/co/cyberagent/aeromock/core/bootstrap/BootstrapManagerVelocitySpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jp.co.cyberagent.aeromock.core.bootstrap | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import org.specs2.mutable.{Tables, Specification} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class BootstrapManagerVelocitySpec extends Specification with Tables with SpecSupport { | ||
|
||
"BootstrapManager" should { | ||
"delegete" in { | ||
BootstrapManager.delegate.collectFirst { | ||
case (EnabledMode.VELOCITY, either) => either | ||
} must beSome(beRight()) | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ty/src/test/scala/jp/co/cyberagent/aeromock/template/velocity/VelocityBootstrapSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jp.co.cyberagent.aeromock.template.velocity | ||
|
||
import jp.co.cyberagent.aeromock.SpecSupport | ||
import jp.co.cyberagent.aeromock.helper._ | ||
import org.specs2.mutable.{Specification, Tables} | ||
|
||
/** | ||
* | ||
* @author stormcat24 | ||
*/ | ||
class VelocityBootstrapSpec extends Specification with Tables with SpecSupport { | ||
|
||
"VelocityBootstrap" should { | ||
"process" in { | ||
// TODO to be right | ||
trye(new VelocityBootstrap().process).isLeft | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters