Skip to content

Commit

Permalink
SUnit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jvuletich committed Nov 27, 2024
1 parent b0df32d commit 0df6d5e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
'From Cuis7.1 [latest update: #6863] on 27 November 2024 at 6:49:37 pm'!

!TestRunner methodsFor: 'logging' stamp: 'jmv 11/27/2024 18:44:41'!
showResult

self errorLog newLine; newLine; show: '==== SUnit ======== Start ===='.
self errorLog print: self result.
self errorLog newLine; show: '==== SUnit ========== End ===='; newLine.! !


!TestResult methodsFor: 'testing' stamp: 'jmv 11/27/2024 18:48:54'!
hasErrors

^self unexpectedErrors notEmpty
! !

!TestResult methodsFor: 'testing' stamp: 'jmv 11/27/2024 18:49:06'!
hasFailures

^self unexpectedFailures notEmpty
! !

!methodRemoval: TestRunner #showResultSummary stamp: 'jmv 11/27/2024 18:44:47'!
TestRunner removeSelector: #showResultSummary!
!methodRemoval: TestRunner #showResultDefects stamp: 'jmv 11/27/2024 18:44:44'!
TestRunner removeSelector: #showResultDefects!
8 changes: 4 additions & 4 deletions Packages/BaseImageTests.pck.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'From Cuis7.1 [latest update: #6857] on 26 November 2024 at 12:06:58 pm'!
'From Cuis7.1 [latest update: #6864] on 27 November 2024 at 6:55:27 pm'!
'Description Rename extentions tests'!
!provides: 'BaseImageTests' 1 417!
!provides: 'BaseImageTests' 1 418!
!requires: '__Refactoring-TestData__' 1 0 nil!
SystemOrganization addCategory: #'BaseImageTests-Kernel-Objects'!
SystemOrganization addCategory: #'BaseImageTests-Kernel-Classes'!
Expand Down Expand Up @@ -11571,10 +11571,10 @@ assertIsPositiveZero: aFloat
"Assert that aFloat is Float zero (the positive one)"
self assert: aFloat hex = 0.0 hex! !

!FloatTest methodsFor: 'helpers' stamp: 'jmv 1/24/2023 15:34:34'!
!FloatTest methodsFor: 'helpers' stamp: 'jmv 11/27/2024 18:49:57'!
expectedFailures
Smalltalk platformName = 'Mac OS' ifTrue: [
^#(testE testExp testPrimExpAndLn testNaNPropagationUnary) ].
^#(testE testExp testPrimExpAndLn) ].
^#().! !

!FloatTest methodsFor: 'tests - primitives' stamp: 'jmv 2/27/2019 15:25:35'!
Expand Down

0 comments on commit 0df6d5e

Please sign in to comment.