Skip to content

Commit

Permalink
Restore previous includedTags in contract tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub committed Oct 21, 2024
1 parent c8f7659 commit e8987ac
Showing 1 changed file with 28 additions and 20 deletions.
48 changes: 28 additions & 20 deletions Tests/PubNubContractTest/PubNubContractCucumberTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,34 @@ void CucumberishInit(void) {

// TODO: REMOVE AFTER ALL TESTS FOR OBJECTS WILL BE MERGED.
NSArray *includedTags = @[
@"contract=sendFileWithType",
@"contract=sendFileWithTooShortType",
@"contract=sendFileWithTooLongType",
@"contract=fetchHistoryWithPubNubMessageTypes",
@"contract=fetchHistoryWithUserAndPubNubTypes",
@"contract=fetchHistoryWithoutTypes",
@"contract=publishWithType",
@"contract=publishWithTooShortType",
@"contract=publishWithTooLongType",
@"contract=publishWithTypeStartingWithReservedStrings",
@"contract=publishWithTypeStartingWithNotAllowedCharacter",
@"contract=publishWithTypeContainingNotAllowedCharacter",
@"contract=signalWithType",
@"contract=signalWithTooShortType",
@"contract=signalWithTooLongType",
@"contract=signalWithTypeStartingWithReservedStrings",
@"contract=signalWithTypeStartingWithNotAllowedCharacter",
@"contract=signalWithTypeContainingNotAllowedCharacter",
@"contract=subscribeReceiveMessagesWithTypes"
];
@"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]];
[Cucumberish executeFeaturesInDirectory:@"Features"
Expand Down

0 comments on commit e8987ac

Please sign in to comment.