Commit 7e3a3fca authored by Antonio De Almeida Souza Neto's avatar Antonio De Almeida Souza Neto
Browse files

Add slf4j version in the pom and a Log message in deploy test.

parent b95f5ce0
...@@ -66,6 +66,8 @@ ...@@ -66,6 +66,8 @@
<hibernate.connection.url>jdbc:mysql://localhost:3306/easysoasimplified</hibernate.connection.url> <hibernate.connection.url>jdbc:mysql://localhost:3306/easysoasimplified</hibernate.connection.url>
<hibernate.connection.username>root</hibernate.connection.username> <hibernate.connection.username>root</hibernate.connection.username>
<hibernate.connection.password></hibernate.connection.password> <hibernate.connection.password></hibernate.connection.password>
<slf4j.version>1.5.5</slf4j.version>
</properties> </properties>
......
...@@ -32,11 +32,13 @@ import static org.junit.Assert.fail; ...@@ -32,11 +32,13 @@ import static org.junit.Assert.fail;
import java.io.File; import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.logging.Logger;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory; import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.easysoa.api.CompilerItf; import org.easysoa.api.CompilerItf;
import org.easysoa.compiler.SCAJavaCompilerImpl; import org.easysoa.compiler.SCAJavaCompilerImpl;
import org.easysoa.deploy.DeployProcessor; import org.easysoa.deploy.DeployProcessor;
import org.easysoa.jpa.AdminAccessImpl;
import org.easysoa.model.Application; import org.easysoa.model.Application;
import org.easysoa.model.DeploymentLocation; import org.easysoa.model.DeploymentLocation;
import org.easysoa.utils.FileManagerImpl; import org.easysoa.utils.FileManagerImpl;
...@@ -82,6 +84,9 @@ public class DeployTest { ...@@ -82,6 +84,9 @@ public class DeployTest {
private static SCAJavaCompilerImpl studioCompiler; private static SCAJavaCompilerImpl studioCompiler;
/** Logger */
public final static Logger LOG = Logger.getLogger(AdminAccessImpl.class.getCanonicalName());
/** /**
* Instantiate FraSCAti and retrieve services. * Instantiate FraSCAti and retrieve services.
* @throws InterruptedException * @throws InterruptedException
...@@ -165,6 +170,7 @@ public class DeployTest { ...@@ -165,6 +170,7 @@ public class DeployTest {
@Test @Test
public void deploy(){ public void deploy(){
LOG.info("Testing compilation error (It must fail)...");
//Test compilation error //Test compilation error
try { try {
if( deployment.deploy(new String[]{BINDING_ALTERNATIVE_URI + "/deploy"}, fakeApplication) ){ if( deployment.deploy(new String[]{BINDING_ALTERNATIVE_URI + "/deploy"}, fakeApplication) ){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment