Skip to content

Commit 1b3595a

Browse files
author
eugenp
committed
Eclipse work
1 parent d6d1237 commit 1b3595a

6 files changed

Lines changed: 4 additions & 23 deletions

File tree

‎sec/eclipse/INTEGRATION-ALL.launch‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
</listAttribute>
99
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
1010
<mapEntry key="persistenceTarget" value="test"/>
11-
<mapEntry key="spring.profiles.active" value="client,mime_xml"/>
1211
</mapAttribute>
1312
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
1413
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>

‎sec/eclipse/INTEGRATION-COMMON-SINGLE.launch‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
</listAttribute>
99
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
1010
<mapEntry key="persistenceTarget" value="test"/>
11-
<mapEntry key="spring.profiles.active" value="client,mime_xml"/>
1211
</mapAttribute>
1312
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
1413
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>

‎sec/eclipse/INTEGRATION-SINGLE-POC.launch‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎sec/eclipse/INTEGRATION-SINGLE.launch‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
</listAttribute>
99
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
1010
<mapEntry key="persistenceTarget" value="test"/>
11-
<mapEntry key="spring.profiles.active" value="client,mime_xml"/>
1211
</mapAttribute>
1312
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
1413
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>

‎sec/src/test/java/org/rest/sec/client/template/test/AuthenticationClientRestIntegrationTest.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@
1212
import org.rest.sec.util.SecurityConstants;
1313
import org.springframework.beans.factory.annotation.Autowired;
1414
import org.springframework.http.ResponseEntity;
15+
import org.springframework.test.context.ActiveProfiles;
1516
import org.springframework.test.context.ContextConfiguration;
1617
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
1718
import org.springframework.test.context.support.AnnotationConfigContextLoader;
1819

1920
@RunWith(SpringJUnit4ClassRunner.class)
2021
@ContextConfiguration(classes = { ClientTestConfig.class, ContextConfig.class }, loader = AnnotationConfigContextLoader.class)
22+
@ActiveProfiles({ "client", "mime_json" })
2123
public class AuthenticationClientRestIntegrationTest {
2224

2325
@Autowired

‎sec/src/test/java/org/rest/sec/security/AuthenticationRestIntegrationTest.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.rest.sec.spring.ContextConfig;
1616
import org.rest.sec.util.SecurityConstants;
1717
import org.springframework.beans.factory.annotation.Autowired;
18+
import org.springframework.test.context.ActiveProfiles;
1819
import org.springframework.test.context.ContextConfiguration;
1920
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
2021
import org.springframework.test.context.support.AnnotationConfigContextLoader;
@@ -24,6 +25,7 @@
2425

2526
@RunWith(SpringJUnit4ClassRunner.class)
2627
@ContextConfiguration(classes = { ClientTestConfig.class, ContextConfig.class }, loader = AnnotationConfigContextLoader.class)
28+
@ActiveProfiles({ "client", "mime_json" })
2729
public class AuthenticationRestIntegrationTest {
2830

2931
@Autowired

0 commit comments

Comments
 (0)