Skip to content

Commit

Permalink
wip 23
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub committed Feb 13, 2024
1 parent d34c361 commit 2ef1334
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
34 changes: 27 additions & 7 deletions Tests/PubNubContractTest/PubNubContractCucumberTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,33 @@ void CucumberishInit(void) {

// TODO: REMOVE AFTER ALL TESTS FOR OBJECTS WILL BE MERGED.
NSArray *includedTags = @[
@"contract=presenceTestMultipleWait",
@"contract=presenceJoin",
@"contract=presenceJoinWithAnError",
@"contract=presenceJoinWithContinuousFailures",
@"contract=presenceLeave",
@"contract=presenceJoinWithHeartbeatDisabled",
@"contract=presenceSuppressLeaveEvents"
@"contract=getChannelMetadataOfChat",
@"contract=getChannelMetadataOfDMWithCustom",
@"contract=setChannelMetadataForChat",
@"contract=removeChannelMetadataOfChat",
@"contract=getAllChannelMetadata",
@"contract=getAllChannelMetadataWithCustom",

@"contract=getUUIDMetadataOfAlice",
@"contract=getUUIDMetadataOfBobWithCustom",
@"contract=setUUIDMetadataForAlice",
@"contract=removeUUIDMetadataOfAlice",
@"contract=getAllUUIDMetadata",
@"contract=getAllUUIDMetadataWithCustom",

@"contract=getMembersOfChatChannel",
@"contract=getMembersOfVipChatChannelWithCustomAndUuidWithCustom",
@"contract=setMembersForChatChannel",
@"contract=setMembersForChatChannelWithCustomAndUuidWithCustom",
@"contract=removeMembersForChatChannel",
@"contract=manageMembersForChatChannel",

@"contract=getAliceMemberships",
@"contract=getAliceMemberships",
@"contract=getBobMembershipWithCustomAndChannelCustom",
@"contract=setAliceMembership",
@"contract=removeAliceMembership",
@"contract=manageAliceMemberships"
];

NSBundle * bundle = [NSBundle bundleForClass:[PubNubContractTestCase class]];
Expand Down
2 changes: 1 addition & 1 deletion Tests/PubNubContractTest/PubNubContractTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ let defaultPublishKey = "demo-36"
PubNubPushContractTestSteps().setup()
PubNubPublishContractTestSteps().setup()
PubNubSubscribeContractTestSteps().setup()
// PubNubSubscribeEngineContractTestsSteps().setup()
PubNubSubscribeEngineContractTestsSteps().setup()
PubNubPresenceEngineContractTestsSteps().setup()
PubNubTimeContractTestSteps().setup()
PubNubCryptoModuleContractTestSteps().setup()
Expand Down

0 comments on commit 2ef1334

Please sign in to comment.