-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
73 additions
and
152 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
OrderedDictionary { | ||
'packages/TelegramClient-Core.package' : #SquotCypressCodeSerializer, | ||
'packages/TelegramClient-Tests.package' : #SquotCypressCodeSerializer, | ||
'packages/BaselineOfTelegramClient.package' : #SquotCypressCodeSerializer, | ||
'packages/TelegramClient-UI.package' : #SquotCypressCodeSerializer | ||
'packages\/TelegramClient-Core.package' : #SquotCypressCodeSerializer, | ||
'packages\/TelegramClient-Tests.package' : #SquotCypressCodeSerializer, | ||
'packages\/BaselineOfTelegramClient.package' : #SquotCypressCodeSerializer, | ||
'packages\/TelegramClient-UI.package' : #SquotCypressCodeSerializer | ||
} |
61 changes: 31 additions & 30 deletions
61
...ges/BaselineOfTelegramClient.package/BaselineOfTelegramClient.class/instance/baseline..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
baseline | ||
baseline: spec | ||
<baseline> | ||
spec | ||
for: #'common' | ||
do: [ | ||
Preferences disable: #showDeprecationWarnings. | ||
spec | ||
baseline: 'SwaLint' with: [ | ||
spec | ||
repository: 'github://hpi-swa-teaching/SwaLint:release/packages']; | ||
package: 'JSON' with: [ | ||
spec | ||
file: 'JSON-ul.35'; | ||
repository: 'http://www.squeaksource.com/JSON']; | ||
package: 'FFI-Pools' with: [ | ||
spec | ||
file: 'FFI-Pools-eem.13'; | ||
repository: 'http://source.squeakfoundation.org/FFI']; | ||
package: 'FFI-Kernel' with: [ | ||
spec | ||
file: 'FFI-Kernel-nice.68'; | ||
repository: 'http://source.squeakfoundation.org/FFI']; | ||
|
||
package: 'TelegramClient-Core' with: [spec requires: #('libraries')]; | ||
package: 'TelegramClient-UI' with: [spec requires: #('libraries')]; | ||
package: 'TelegramClient-Tests' with: [spec requires: #('default' 'SwaLint')]. | ||
|
||
spec | ||
group: 'libraries' with: #('JSON' 'FFI-Kernel' 'FFI-Pools'); | ||
group: 'default' with: #('TelegramClient-Core' 'TelegramClient-UI'); | ||
group: 'tests' with: #('TelegramClient-Tests')]. | ||
<baseline> | ||
|
||
spec for: #common do: [ | ||
spec | ||
baseline: 'Animations' with: [ | ||
spec repository: 'github://hpi-swa/animations:master/repository']; | ||
project: 'FFI' with: [ | ||
spec | ||
className: 'ConfigurationOfFFI'; | ||
repository: 'http://www.squeaksource.com/MetacelloRepository'; | ||
versionString: (SystemVersion current isAlpha | ||
ifTrue: [#development] | ||
ifFalse: [#stable]); | ||
loads: #('Core')]; | ||
package: 'JSON' with: [ | ||
spec file: 'JSON-ul.35'; | ||
repository: 'https://www.squeaksource.com/JSON']; | ||
baseline: 'SwaLint' with: [ | ||
spec repository: 'github://hpi-swa-teaching/SwaLint:release/packages']. | ||
|
||
spec | ||
package: 'TelegramClient-Core' with: [ | ||
spec requires: #('libraries')]; | ||
package: 'TelegramClient-UI' with: [ | ||
spec requires: #('libraries')]; | ||
package: 'TelegramClient-Tests' with: [ | ||
spec requires: #('default' 'SwaLint')]. | ||
spec | ||
group: 'libraries' with: #('Animations' 'FFI' 'JSON'); | ||
group: 'default' with: #('TelegramClient-Core' 'TelegramClient-UI'); | ||
group: 'tests' with: #('TelegramClient-Tests')]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
packages/TelegramClient-Tests.package/TCTAuthTests.class/instance/setUp.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
running | ||
setUp | ||
|
||
self timeout: 50 "seconds". | ||
self core: TCTTestCore new. | ||
1 seconds wait. | ||
10 seconds wait. | ||
self core authHandler isAuthorizationStateReady ifTrue: [self core authHandler logout. | ||
1 seconds wait. | ||
10 seconds wait. | ||
self core: TCTTestCore new. | ||
1 seconds wait]. | ||
10 seconds wait]. |
4 changes: 3 additions & 1 deletion
4
...ramClient-Tests.package/TCTAuthTests.class/instance/testAuthStateIsAwaitingPhoneNumber.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
testing | ||
testAuthStateIsAwaitingPhoneNumber | ||
|
||
self assert: self core authHandler isAwaitingPhoneNumber. | ||
self | ||
assert: self core authHandler isAwaitingPhoneNumber | ||
description: ['Auth state was ' , self core authHandler authState]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/TelegramClient-Tests.package/TCTLoggedInTests.class/instance/setUp.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
running | ||
setUp | ||
|
||
self timeout: 20. | ||
self timeout: 40 "seconds". | ||
self core: TCTTestCore new. | ||
1 seconds wait. | ||
10 seconds wait. | ||
self core authHandler isAuthorizationStateReady ifFalse: [ | ||
self core loginWithTestData. | ||
2 seconds wait]. | ||
10 seconds wait]. |
2 changes: 0 additions & 2 deletions
2
packages/TelegramClient-Tests.package/TCTLoggedInTests.class/instance/testLogout.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
testing | ||
testLogout | ||
|
||
<timeout: 30 "seconds"> | ||
|
||
self core authHandler logout. | ||
10 seconds wait. | ||
self assert: self core authHandler isAuthStateClosed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters