Pharo test defects

Package: Stardust (ba-st/Stardust, row 102) and the Buoy patch

State
Fixed (package repair)
Defect in
see the record
Tests
0
Fix
ba-st-stardust.patch
Upstream repository
ba-st/Stardust

The record is the text of the repair. The Results table is the last run of the row.

Record

Test

Load the package into a Pharo 14 image (build 791) with the load expression of the test run, file in the fixes file of the row if there is one, and run the test classes of the package.

"row 102"
Metacello new baseline: 'Stardust'; repository: 'github://ba-st/Stardust:release-candidate/source'; onConflict: [:e | e useIncoming]; load: #('Tests').

Results

Last result of the package run (stock Cog and iospharo on the same image).

RowLabelLoadStock Cogiospharo VM
102ba-st-stardustoktests=71 P=71 F=0 E=0 S=0 T=0 X=0tests=71 P=71 F=0 E=0 S=0 T=0 X=0

Fix

Patch of the package source: ba-st-stardust.patch (download)
diff --git a/source/Stardust/GenericModelCreator.class.st b/source/Stardust/GenericModelCreator.class.st
index ea1d209..699abc7 100644
--- a/source/Stardust/GenericModelCreator.class.st
+++ b/source/Stardust/GenericModelCreator.class.st
@@ -18,10 +18,10 @@ Class {
 GenericModelCreator class >> assertSizeOf: creators equalsArgumentCountOf: instanceCreationSelector [
 
 	AssertionChecker
-		enforce: [ creators size = instanceCreationSelector argumentCount ]
+		enforce: [ creators size = instanceCreationSelector numArgs ]
 		because: [ 'The amount of model creators (<1p>) should match the amount of arguments (<2p>) on the instance creation message: <3p>'
 				expandMacrosWith: creators size
-				with: instanceCreationSelector argumentCount
+				with: instanceCreationSelector numArgs
 				with: instanceCreationSelector ]
 		raising: InstanceCreationFailed
 ]
Version locks: ba-st-stardust.txt (download)
# Buoy replaces Symbol>>argumentCount of Pharo 14, and the load stops (docs/upstream/package-repairs.md).
Buoy ba-st-buoy

State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.