diff --git a/packages/TelegramClient-Core.package/TCCCore.class/instance/tryHandleError..st b/packages/TelegramClient-Core.package/TCCCore.class/instance/tryHandleError..st index 066e6dfcc..fd1b7e6df 100644 --- a/packages/TelegramClient-Core.package/TCCCore.class/instance/tryHandleError..st +++ b/packages/TelegramClient-Core.package/TCCCore.class/instance/tryHandleError..st @@ -7,6 +7,6 @@ tryHandleError: anError ['PHONE_NUMBER_INVALID'] -> [UIManager default inform: TCCErrorConstants invalidAuthenticationCode]. ['PHONE_CODE_INVALID'] -> [UIManager default inform: TCCErrorConstants invalidAuthenticationCode]} otherwise: [ - ((anError at: 'message') startsWith: 'Can''t lock file') + ((anError at: 'message') beginsWith: 'Can''t lock file') ifTrue: [UIManager default inform: TCCErrorConstants tdlibAlreadyInUse] ifFalse: [self halt: 'An Error Occured. Check Transcript Output.']]. \ No newline at end of file diff --git a/packages/TelegramClient-Core.package/TCCCore.class/methodProperties.json b/packages/TelegramClient-Core.package/TCCCore.class/methodProperties.json index 551b675b8..188d22480 100644 --- a/packages/TelegramClient-Core.package/TCCCore.class/methodProperties.json +++ b/packages/TelegramClient-Core.package/TCCCore.class/methodProperties.json @@ -25,5 +25,5 @@ "sendMessage:to:" : "rs 6/13/2020 15:26", "sendPhoneNumber:" : "js 6/13/2020 15:35", "setUserID:" : "js 8/2/2020 13:15", - "tryHandleError:" : "js 7/31/2020 15:13", + "tryHandleError:" : "ct 10/7/2020 19:37", "update" : "js 7/31/2020 22:34" } } diff --git a/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/initialize.st b/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/initialize.st index 0a8436190..0674512bf 100644 --- a/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/initialize.st +++ b/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/initialize.st @@ -6,5 +6,5 @@ initialize self classes: ((SystemNavigation default allClasses select: [:aClass | - (aClass class category startsWith: 'TelegramClient') and: [(aClass class name startsWith: 'TCCFFIClient') not]])); + (aClass class category beginsWith: 'TelegramClient') and: [(aClass class name beginsWith: 'TCCFFIClient') not]])); classTestObjects: (self classes collect: [:anObject | anObject as: SLTestObject]). \ No newline at end of file diff --git a/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/testCorrectClassPrefix.st b/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/testCorrectClassPrefix.st index e837100f2..6f1cf7f69 100644 --- a/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/testCorrectClassPrefix.st +++ b/packages/TelegramClient-Tests.package/TCTLinterTests.class/instance/testCorrectClassPrefix.st @@ -3,10 +3,10 @@ testCorrectClassPrefix self classes do: [:aClass | (aClass class category endsWith: 'Core') - ifTrue: [self assert: (aClass class name startsWith: 'TCC')]. + ifTrue: [self assert: (aClass class name beginsWith: 'TCC')]. (aClass class category endsWith: 'Tests') - ifTrue: [self assert: (aClass class name startsWith: 'TCT')]. + ifTrue: [self assert: (aClass class name beginsWith: 'TCT')]. (aClass class category endsWith: 'UI') - ifTrue: [self assert: (aClass class name startsWith: 'TCU')]] \ No newline at end of file + ifTrue: [self assert: (aClass class name beginsWith: 'TCU')]] \ No newline at end of file diff --git a/packages/TelegramClient-Tests.package/TCTLinterTests.class/methodProperties.json b/packages/TelegramClient-Tests.package/TCTLinterTests.class/methodProperties.json index c7d55b286..6bbb90e27 100644 --- a/packages/TelegramClient-Tests.package/TCTLinterTests.class/methodProperties.json +++ b/packages/TelegramClient-Tests.package/TCTLinterTests.class/methodProperties.json @@ -9,11 +9,11 @@ "classes" : "js 6/13/2020 11:38", "classes:" : "js 6/13/2020 11:38", "environmentFor:withRule:" : "js 6/13/2020 17:53", - "initialize" : "js 6/13/2020 18:35", + "initialize" : "ct 10/7/2020 19:31", "isLineWithOnlyTabsAndSpaces:" : "j 7/16/2020 12:30", "methodTestObjects" : "js 6/13/2020 14:06", "methodsLinesDo:" : "js 6/13/2020 18:05", - "testCorrectClassPrefix" : "js 6/13/2020 18:23", + "testCorrectClassPrefix" : "ct 10/7/2020 19:32", "testIfTrueReturnsRule" : "js 6/13/2020 18:35", "testInstanceVarAccess" : "js 6/13/2020 16:54", "testLongMethods" : "rs 6/25/2020 10:47", diff --git a/packages/TelegramClient-Tests.package/TCTRequestTests.class/instance/testString.st b/packages/TelegramClient-Tests.package/TCTRequestTests.class/instance/testString.st index 0d3abc45d..afc03954c 100644 --- a/packages/TelegramClient-Tests.package/TCTRequestTests.class/instance/testString.st +++ b/packages/TelegramClient-Tests.package/TCTRequestTests.class/instance/testString.st @@ -3,5 +3,5 @@ testString self assert: (self request asString includesSubstring: '"@type":"test"'). self assert: (self request asString includesSubstring: '"code":"0"'). - self assert: (self request asString startsWith: '{'). + self assert: (self request asString beginsWith: '{'). self assert: (self request asString endsWith: '}'). \ No newline at end of file diff --git a/packages/TelegramClient-Tests.package/TCTRequestTests.class/methodProperties.json b/packages/TelegramClient-Tests.package/TCTRequestTests.class/methodProperties.json index a1785290c..5aec101d5 100644 --- a/packages/TelegramClient-Tests.package/TCTRequestTests.class/methodProperties.json +++ b/packages/TelegramClient-Tests.package/TCTRequestTests.class/methodProperties.json @@ -5,5 +5,5 @@ "request" : "js 8/1/2020 12:09", "request:" : "js 8/1/2020 12:10", "setUp" : "js 8/1/2020 12:21", - "testString" : "js 8/1/2020 12:22", + "testString" : "ct 10/7/2020 19:31", "testType" : "js 8/1/2020 12:12" } } diff --git a/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/instance/testCreateSarFile.st b/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/instance/testCreateSarFile.st index fb75586e1..a2e8dd9f6 100644 --- a/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/instance/testCreateSarFile.st +++ b/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/instance/testCreateSarFile.st @@ -9,6 +9,6 @@ testCreateSarFile zip := ZipArchive new. self streamForPackage: corePackage inZip: zip. self streamForPackage: uiPackage inZip: zip. - zip addTree: Smalltalk imagePath match: [:e | e fullName startsWith: Smalltalk imagePath, FileDirectory slash, tdlibFolder]. + zip addTree: Smalltalk imagePath match: [:e | e fullName beginsWith: Smalltalk imagePath, FileDirectory slash, tdlibFolder]. zip addString: (self generatePreamble: corePackage uipackage: uiPackage nativeResourceFolder: tdlibFolder) as: 'install/preamble'. zip writeToFileNamed: 'TelegramClient.sar'. \ No newline at end of file diff --git a/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/methodProperties.json b/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/methodProperties.json index db31576f9..a09cea951 100644 --- a/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/methodProperties.json +++ b/packages/TelegramClient-Tests.package/TCTSarFileGenerator.class/methodProperties.json @@ -4,5 +4,5 @@ "instance" : { "generatePreamble:uipackage:nativeResourceFolder:" : "js 8/7/2020 22:23", "streamForPackage:inZip:" : "js 8/2/2020 13:52", - "testCreateSarFile" : "js 8/7/2020 22:28", + "testCreateSarFile" : "ct 10/7/2020 19:32", "versionForWorkingCopy:" : "js 8/2/2020 13:52" } }