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
package util; | |
import java.io.FileInputStream; | |
import javax.persistence.EntityManager; | |
import javax.persistence.EntityManagerFactory; | |
import org.dbunit.IDatabaseTester; | |
import org.dbunit.JdbcDatabaseTester; | |
import org.dbunit.dataset.IDataSet; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="beckanos-java" default="assembly" basedir="."> | |
<description>VRaptor 3 site module build</description> | |
<path id="tests.classpath" path="."> | |
<fileset dir="src/content/WEB-INF/lib"> | |
<include name="*.jar" /> | |
</fileset> |
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
sinatra | |
rmagick |
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
import junit.framework.Assert; | |
import org.junit.Test; | |
/** | |
* Ora, pois, deve mostrar na tela há quanto tempo o pedido foi emitido... | |
* @author Joaquim Manoel | |
* | |
*/ | |
public class PedidoTest { |
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
private static void AddCustomRepositoriesTo(IWindsorContainer container) { | |
container.Register( | |
AllTypes.Pick() | |
.FromAssemblyNamed("AlphaLog.Data") | |
.WithService.FirstNonGenericCoreInterface("AlphaLog.Core")); | |
} |