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

parent b95f5ce0
......@@ -66,6 +66,8 @@
<hibernate.connection.url>jdbc:mysql://localhost:3306/easysoasimplified</hibernate.connection.url>
<hibernate.connection.username>root</hibernate.connection.username>
<hibernate.connection.password></hibernate.connection.password>
<slf4j.version>1.5.5</slf4j.version>
</properties>
......
......@@ -32,11 +32,13 @@ import static org.junit.Assert.fail;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Logger;
import org.apache.cxf.jaxrs.client.JAXRSClientFactory;
import org.easysoa.api.CompilerItf;
import org.easysoa.compiler.SCAJavaCompilerImpl;
import org.easysoa.deploy.DeployProcessor;
import org.easysoa.jpa.AdminAccessImpl;
import org.easysoa.model.Application;
import org.easysoa.model.DeploymentLocation;
import org.easysoa.utils.FileManagerImpl;
......@@ -82,6 +84,9 @@ public class DeployTest {
private static SCAJavaCompilerImpl studioCompiler;
/** Logger */
public final static Logger LOG = Logger.getLogger(AdminAccessImpl.class.getCanonicalName());
/**
* Instantiate FraSCAti and retrieve services.
* @throws InterruptedException
......@@ -165,6 +170,7 @@ public class DeployTest {
@Test
public void deploy(){
LOG.info("Testing compilation error (It must fail)...");
//Test compilation error
try {
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