From e8987ac5c92e7cedd35aaf0916b7b20762d3c434 Mon Sep 17 00:00:00 2001 From: jguz-pubnub Date: Mon, 21 Oct 2024 15:30:02 +0200 Subject: [PATCH] Restore previous includedTags in contract tests --- .../PubNubContractCucumberTest.m | 48 +++++++++++-------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/Tests/PubNubContractTest/PubNubContractCucumberTest.m b/Tests/PubNubContractTest/PubNubContractCucumberTest.m index 3cb30a0f..cc8ac961 100644 --- a/Tests/PubNubContractTest/PubNubContractCucumberTest.m +++ b/Tests/PubNubContractTest/PubNubContractCucumberTest.m @@ -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"