The Inbox: Tests-ct.445.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Tests-ct.445.mcz

commits-2
A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/Tests-ct.445.mcz

==================== Summary ====================

Name: Tests-ct.445
Author: ct
Time: 14 November 2020, 8:00:23.050394 pm
UUID: 65c04765-917a-5a49-8692-3ef5a54c7668
Ancestors: Tests-mt.442

Adds regression test for System-ct.1189 (smalltalk command line argument handling).

=============== Diff against Tests-mt.442 ===============

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-Applications'!
  SystemOrganization addCategory: #'Tests-System-Digital Signatures'!
  SystemOrganization addCategory: #'Tests-System-Object Storage'!
  SystemOrganization addCategory: #'Tests-System-Preferences'!
  SystemOrganization addCategory: #'Tests-System-Support'!
  SystemOrganization addCategory: #'Tests-Utilities'!
  SystemOrganization addCategory: #'Tests-VM'!
- SystemOrganization addCategory: #'Tests-MonticelloMocks'!
  SystemOrganization addCategory: #'Tests-Sound'!
+ SystemOrganization addCategory: #'Tests-System-Download'!

Item was added:
+ TestCase subclass: #ProjectLauncherTest
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Tests-System-Download'!

Item was added:
+ ----- Method: ProjectLauncherTest>>testParseScriptUrl (in category 'tests') -----
+ testParseScriptUrl
+
+ "Absolute file path"
+ self
+ assert: Smalltalk imageName
+ equals: (ProjectLauncher new parseScriptUrl: Smalltalk imageName) pathForFile.
+
+ "Relative file path"
+ self
+ assert: FileDirectory default fullName
+ equals: (ProjectLauncher new parseScriptUrl: FileDirectory default fullName) pathForFile.
+
+ "File scheme URL"
+ self
+ assert: (FileUrl absoluteFromText: Smalltalk imageName) printString
+ equals: (ProjectLauncher new parseScriptUrl: Smalltalk imageName) printString.
+
+ "Remote URL"
+ self
+ assert: 'https://google.de/robots.txt'
+ equals: (ProjectLauncher new parseScriptUrl: 'https://google.de/robots.txt') printString.!