Skip to content

Commit

Permalink
Added oxalis-as4 7.0.0-alpha dependency, uncommented test-cases
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-kumar committed Nov 16, 2024
1 parent 2d3fbc4 commit 9c05052
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions oxalis-outbound/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
<groupId>network.oxalis</groupId>
<artifactId>oxalis-commons</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>network.oxalis</groupId>-->
<!-- <artifactId>oxalis-as4</artifactId>-->
<!-- <version>6.7.0</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>network.oxalis</groupId>
<artifactId>oxalis-as4</artifactId>
<version>7.0.0-alpha</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>network.oxalis</groupId>
<artifactId>oxalis-document-sniffer</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class CachedLookupServiceTest {
@Named("cached")
private LookupService lookupService;

//@Test
@Test
public void simple() throws Exception {
Endpoint endpoint = lookupService.lookup(Header.newInstance()
.receiver(participant)
Expand All @@ -59,7 +59,7 @@ public void simple() throws Exception {
Assert.assertNotNull(endpoint);
}

//@Test
@Test
public void simpleCached() throws Exception {
Endpoint endpoint1 = lookupService.lookup(Header.newInstance()
.receiver(participant)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class DefaultLookupServiceTest {
@Named("default")
private LookupService lookupService;

//@Test
@Test
public void simple() throws Exception {
Endpoint endpoint = lookupService.lookup(Header.newInstance()
.receiver(ParticipantIdentifier.of("0192:923829644"))
Expand All @@ -49,7 +49,7 @@ public void simple() throws Exception {
Assert.assertNotNull(endpoint);
}

//@Test
@Test
public void simpleBusdoxDocIdQnsScheme() throws Exception {
Endpoint endpoint = lookupService.lookup(Header.newInstance()
.receiver(ParticipantIdentifier.of("0192:923829644"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class LookupServiceTest {
@Inject
private LookupService lookupService;

//@Test
@Test
public void simple() throws Exception {
Endpoint endpoint = lookupService.lookup(Header.newInstance()
.receiver(ParticipantIdentifier.of("0192:923829644"))
Expand All @@ -50,7 +50,7 @@ public void simple() throws Exception {
Assert.assertNotNull(endpoint);
}

//@Test
@Test
public void simpleBusdoxDocIdQnsScheme() throws Exception {
Endpoint endpoint = lookupService.lookup(Header.newInstance()
.receiver(ParticipantIdentifier.of("0192:923829644"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void makeSureWeAllowOverrides() {
"Overriding transmission request parameters is not permitted!");
}

//@Test
@Test
public void createTransmissionRequestBuilderWithOnlyTheMessageDocument() throws Exception {

assertNotNull(transmissionRequestBuilder);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ public void makeSureWeDetectAllIllegalOverrides() throws OxalisException {
transmissionRequestBuilder.build();
}

//@Test(expectedExceptions = IllegalStateException.class,
// expectedExceptionsMessageRegExp = "You are not allowed to override the EndpointAddress from SMP.")
@Test(expectedExceptions = IllegalStateException.class,
expectedExceptionsMessageRegExp = "You are not allowed to override the EndpointAddress from SMP.")
public void makeSureWeDetectEndpointOverrides() throws Exception {
MockLookupModule.resetService();

Expand Down

0 comments on commit 9c05052

Please sign in to comment.