Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

334 lines (332 sloc) 17.146 kb
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="user">
<template name="gw" value="given($MOCK_OBJECT$.$METHOD$($ARGS$)).willReturn($RETURN_VALUE$); " description="Given-Will for Mockito" toReformat="true" toShortenFQNames="true">
<variable name="MOCK_OBJECT" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="METHOD" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="ARGS" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="RETURN_VALUE" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="sc" value="public static class $CLASS_NAME$ { &#10; $CODE$ &#10;}&#10; " description="Public Static Class" toReformat="true" toShortenFQNames="true">
<variable name="CLASS_NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="CODE" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="d" value="(def $NAME$ $EXPR$)" description="(def ...)" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="f" value="(defn $NAME$ [$ARGS$] &#10; $EXPR$)" description="(defn ...)" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="ARGS" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="pf" value="(defn- $NAME$ [$ARGS$] &#10; $EXPR$)" description="(defn- ...)" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="ARGS" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="pd" value="(def ^{:private true} $NAME$ $EXPR$)" description="(def private ... )" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="mk" value="mock($CLASS_NAME$.class);" description="Mockito mock" toReformat="true" toShortenFQNames="true">
<variable name="CLASS_NAME" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="fa" value="(fact &quot;$TITLE$&quot;&#10; ($EXPR$) =&gt; $RESULT$)" description="Midje fact" toReformat="true" toShortenFQNames="true">
<variable name="TITLE" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="RESULT" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="p" value="(provided&#10; ($EXPR$) =&gt; $RESULT$)" description="Midje provided statement" toReformat="true" toShortenFQNames="true">
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="RESULT" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="tf" value="(tabular&#10; (fact &quot;$TITLE$&quot;&#10; ($EXPR$) =&gt; $RESULT$)&#10; &#10; $TABLE$)" description="Midje tabular" toReformat="true" toShortenFQNames="true">
<variable name="TITLE" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="RESULT" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TABLE" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="tbl" value="val testCases = new org.scalatest.prop.TableDrivenPropertyChecks.Table(&#10; ($TITLE_ROW$),&#10; ($ROW_1$),&#10; ($ROW_2$))&#10;&#10;forAll(testCases) { case ($TEST_CASE_DESTRUCTURING$) =&gt;&#10; $TEST_EXPR$&#10;}" description="ScalaTest Table" toReformat="true" toShortenFQNames="true">
<variable name="TITLE_ROW" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="ROW_1" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="ROW_2" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TEST_CASE_DESTRUCTURING" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TEST_EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="el" value="element(&quot;$NAME$&quot;, $BODY$)" description="element(...)" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="BODY" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="tst" value="@Test&#10;public void $NAME$() {&#10; $TEST_CODE$&#10;}" description="JUnit 4 Test" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="TEST_CODE" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="ae" value="assertThat($ACTUAL$, equalTo($EXPECTED$));" description="assertThat Equals" toReformat="true" toShortenFQNames="true">
<variable name="ACTUAL" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="ane" value="assertThat($ACTUAL$, not(equalTo($EXPECTED$)));" description="AssertThat not equal" toReformat="true" toShortenFQNames="true">
<variable name="ACTUAL" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="an" value="assertNull($ACTUAL$);" description="assertNull" toReformat="true" toShortenFQNames="true">
<variable name="ACTUAL" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="as" value="assertThat($EXPR$, hasSize($EXPECTED_SIZE$));" description="assertThat hasSize" toReformat="true" toShortenFQNames="true">
<variable name="EXPR" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="EXPECTED_SIZE" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
<template name="sb" value="should be ($EXPECTED$)" description="should be(...)" toReformat="true" toShortenFQNames="true">
<variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
<template name="snb" value="should not be ($EXPECTED$)" description="should not be (...)" toReformat="true" toShortenFQNames="true">
<variable name="EXPECTED" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="JAVA_CODE" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="GROOVY" value="false" />
<option name="MAVEN" value="false" />
<option name="OTHER" value="true" />
</context>
</template>
</templateSet>
Jump to Line
Something went wrong with that request. Please try again.