Skip to content

Commit 12d33a1

Browse files
committed
added testing categories
1 parent 416c72d commit 12d33a1

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/telephony/DialActionOrganizationSBCTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@
103103
import com.google.gson.JsonObject;
104104

105105
import gov.nist.javax.sip.stack.HopImpl;
106+
import org.restcomm.connect.commons.annotations.FeatureAltTests;
107+
import org.restcomm.connect.commons.annotations.FeatureExpTests;
106108

107109
/**
108110
* Test for Dial Action attribute for organization
@@ -760,7 +762,7 @@ public void testClientsCallEachOtherSameOrganization() throws ParseException, In
760762
logger.info("&&&&& LiveCallsArraySize: "+liveCallsArraySize);
761763
assertEquals(0, liveCalls);
762764
assertEquals(0,liveCallsArraySize);
763-
765+
764766

765767
}
766768

@@ -779,6 +781,7 @@ public void testClientsCallEachOtherSameOrganization() throws ParseException, In
779781
* @throws InterruptedException
780782
*/
781783
@Test
784+
@Category({FeatureExpTests.class})
782785
public void testClientsCallEachOtherDifferentOrganization() throws ParseException, InterruptedException {
783786

784787
SipURI uri = mariaSipStackOrg2.getAddressFactory().createSipURI(null, "127.0.0.1:5080");
@@ -928,6 +931,7 @@ public void testDialActionDialClient() throws ParseException, InterruptedExcepti
928931
* @throws UnknownHostException
929932
*/
930933
@Test
934+
@Category({FeatureAltTests.class})
931935
public void testDialActionHangupWithLCM() throws Exception {
932936

933937
stubFor(post(urlPathMatching("/DialAction.*"))

restcomm/restcomm.testsuite/src/test/java/org/restcomm/connect/testsuite/telephony/ua/UserAgentManagerWithSBCTest.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060

6161
import gov.nist.javax.sip.address.SipUri;
6262
import gov.nist.javax.sip.message.SIPResponse;
63+
import org.restcomm.connect.commons.annotations.FeatureAltTests;
64+
import org.restcomm.connect.commons.annotations.FeatureExpTests;
6365

6466
/**
6567
* @author quintana.thomas@gmail.com (Thomas Quintana)
@@ -239,6 +241,7 @@ public void registerUserAgentWithOptionsPing() throws ParseException, Interrupte
239241
}
240242

241243
@Test
244+
@Category({FeatureAltTests.class})
242245
public void registerUserAgentWithExtraParamsAndOptionsPing() throws ParseException, InterruptedException {
243246
// deployer.deploy("UserAgentTest");
244247
// Register the phone so we can get OPTIONS pings from RestComm.
@@ -263,8 +266,9 @@ public void registerUserAgentWithExtraParamsAndOptionsPing() throws ParseExcepti
263266
// Clean up (Unregister).
264267
assertTrue(phone.unregister(aliceContact, 0));
265268
}
266-
269+
267270
@Test
271+
@Category({FeatureExpTests.class})
268272
public void registerUserAgentWith408ErrorResponse() throws ParseException, InterruptedException, InvalidArgumentException {
269273
// deployer.deploy("UserAgentTest");
270274
// Register the phone so we can get OPTIONS pings from RestComm.
@@ -283,8 +287,9 @@ public void registerUserAgentWith408ErrorResponse() throws ParseException, Inter
283287

284288
phone2.setAutoResponseOptionsRequests(true);
285289
}
286-
290+
287291
@Test
292+
@Category({FeatureExpTests.class})
288293
public void registerUserAgentWithExtraParamsAnd408ToOptionsPing() throws ParseException, InterruptedException, InvalidArgumentException {
289294
// deployer.deploy("UserAgentTest");
290295
// Register the phone so we can get OPTIONS pings from RestComm.

0 commit comments

Comments
 (0)