Patrick Rein uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-pre.354.mcz ==================== Summary ==================== Name: Tests-pre.354 Author: pre Time: 17 August 2016, 12:00:07.986232 am UUID: 1db2e27b-4abf-5d47-85ea-5eb0fed302a1 Ancestors: Tests-pre.353 Further work on the LocaleTest to make it even more isolated. It now tries to also restore any keyboard or clipboard interpreters. =============== Diff against Tests-pre.353 =============== Item was changed: SystemOrganization addCategory: #'Tests-Bugs'! SystemOrganization addCategory: #'Tests-Compiler'! SystemOrganization addCategory: #'Tests-Dependencies'! SystemOrganization addCategory: #'Tests-Digital Signatures'! SystemOrganization addCategory: #'Tests-Environments'! SystemOrganization addCategory: #'Tests-Exceptions'! SystemOrganization addCategory: #'Tests-FilePackage'! SystemOrganization addCategory: #'Tests-Files'! SystemOrganization addCategory: #'Tests-Finalization'! SystemOrganization addCategory: #'Tests-Hex'! SystemOrganization addCategory: #'Tests-Installer-Core'! SystemOrganization addCategory: #'Tests-Localization'! SystemOrganization addCategory: #'Tests-Monticello'! SystemOrganization addCategory: #'Tests-Monticello-Mocks'! SystemOrganization addCategory: #'Tests-Monticello-Utils'! SystemOrganization addCategory: #'Tests-Object Events'! SystemOrganization addCategory: #'Tests-ObjectsAsMethods'! SystemOrganization addCategory: #'Tests-PrimCallController'! SystemOrganization addCategory: #'Tests-Release'! SystemOrganization addCategory: #'Tests-System-Object Storage'! SystemOrganization addCategory: #'Tests-System-Support'! SystemOrganization addCategory: #'Tests-Utilities'! SystemOrganization addCategory: #'Tests-VM'! SystemOrganization addCategory: #'Tests-System-Digital Signatures'! SystemOrganization addCategory: #'Tests-System-Preferences'! + SystemOrganization addCategory: #'Tests-MonticelloMocks'! Item was changed: TestCase subclass: #LocaleTest + instanceVariableNames: 'previousID previousKeyboardInterpreter previousClipboardInterpreter' - instanceVariableNames: 'previousID' classVariableNames: '' poolDictionaries: '' category: 'Tests-Localization'! !LocaleTest commentStamp: 'tak 8/3/2005 18:24' prior: 0! LocaleTest buildSuite run! Item was changed: ----- Method: LocaleTest>>setUp (in category 'testing') ----- setUp + previousID := Locale current localeID. + previousKeyboardInterpreter := ActiveHand instVarNamed: 'keyboardInterpreter'. + previousClipboardInterpreter := Clipboard default instVarNamed: 'interpreter'. + ActiveHand clearKeyboardInterpreter. + Clipboard default clearInterpreter. + ! - previousID := Locale current localeID.! Item was changed: ----- Method: LocaleTest>>tearDown (in category 'testing') ----- tearDown + ActiveHand instVarNamed: 'keyboardInterpreter' put: previousKeyboardInterpreter. + Clipboard default instVarNamed: 'interpreter' put: previousClipboardInterpreter. Locale switchToID: (LocaleID isoLanguage: previousID).! |
Free forum by Nabble | Edit this page |