From da6fc2e2ed85c9d41956c442337c62461376cd63 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 10 Feb 2016 16:34:00 +0000 Subject: [PATCH] refs #2222: Move infrastructure tests outside of components junit tests https://support.d4science.org/issues/2222 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@124081 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../query/CouchDBQueryPluginSmartExecutorSchedulerTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/gcube/accounting/couchdb/query/CouchDBQueryPluginSmartExecutorSchedulerTest.java b/src/test/java/org/gcube/accounting/couchdb/query/CouchDBQueryPluginSmartExecutorSchedulerTest.java index eafdfd6..dedee3f 100644 --- a/src/test/java/org/gcube/accounting/couchdb/query/CouchDBQueryPluginSmartExecutorSchedulerTest.java +++ b/src/test/java/org/gcube/accounting/couchdb/query/CouchDBQueryPluginSmartExecutorSchedulerTest.java @@ -13,7 +13,9 @@ import org.gcube.vremanagement.executor.api.types.LaunchParameter; import org.gcube.vremanagement.executor.api.types.Scheduling; import org.gcube.vremanagement.executor.client.plugins.ExecutorPlugin; import org.gcube.vremanagement.executor.client.proxies.SmartExecutorProxy; +import org.junit.After; import org.junit.Assert; +import org.junit.Before; import org.quartz.CronExpression; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -32,14 +34,14 @@ public class CouchDBQueryPluginSmartExecutorSchedulerTest { private SmartExecutorProxy proxy; - //@Before + @Before public void before() throws Exception{ SecurityTokenProvider.instance.set(TestUtility.TOKEN); proxy = ExecutorPlugin.getExecutorProxy(CouchDBQueryPluginDeclaration.NAME).build(); Assert.assertNotNull(proxy); } - //@After + @After public void after(){ SecurityTokenProvider.instance.reset(); }