BAEL-2981: Added header for tests and formatted pom.xml
This commit is contained in:
parent
1de5fc5a0d
commit
684bc16314
@ -11,6 +11,11 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Showcases the tag usage and different template loading mechanisms.
|
||||
*
|
||||
* @author isaolmez
|
||||
*/
|
||||
public class BasicUsageUnitTest {
|
||||
|
||||
@Test
|
||||
|
@ -9,6 +9,11 @@ import com.github.jknack.handlebars.io.TemplateLoader;
|
||||
import java.io.IOException;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Showcases the built-in template helpers.
|
||||
*
|
||||
* @author isaolmez
|
||||
*/
|
||||
public class BuiltinHelperUnitTest {
|
||||
|
||||
private TemplateLoader templateLoader = new ClassPathTemplateLoader("/handlebars", ".html");
|
||||
|
@ -11,6 +11,11 @@ import com.github.jknack.handlebars.io.TemplateLoader;
|
||||
import java.io.IOException;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Showcases implementing a custom template helper.
|
||||
*
|
||||
* @author isaolmez
|
||||
*/
|
||||
public class CustomHelperUnitTest {
|
||||
|
||||
private TemplateLoader templateLoader = new ClassPathTemplateLoader("/handlebars", ".html");
|
||||
|
@ -9,6 +9,11 @@ import com.github.jknack.handlebars.io.TemplateLoader;
|
||||
import java.io.IOException;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Showcases reusing the existing templates.
|
||||
*
|
||||
* @author isaolmez
|
||||
*/
|
||||
public class ReusingTemplatesUnitTest {
|
||||
|
||||
private TemplateLoader templateLoader = new ClassPathTemplateLoader("/handlebars", ".html");
|
||||
|
Loading…
x
Reference in New Issue
Block a user