RegressionTests__WritingToTranscriptOrStdoutTest.st
author Claus Gittinger <cg@exept.de>
Tue, 25 Feb 2020 17:19:49 +0100
changeset 2586 7dc7be5a6f3d
parent 2482 328cde7d443f
permissions -rw-r--r--
#OTHER by cg s
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2482
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     1
"{ Encoding: utf8 }"
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     2
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     3
"
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     4
 COPYRIGHT (c) 2018 by eXept Software AG
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     5
              All Rights Reserved
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     6
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     7
 This software is furnished under a license and may be used
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     8
 only in accordance with the terms of that license and with the
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    10
 be provided or otherwise made available to, or used by, any
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    11
 other person.  No title to or ownership of the software is
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    12
 hereby transferred.
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    13
"
1447
2351db93aa5b package changes
Claus Gittinger <cg@exept.de>
parents: 629
diff changeset
    14
"{ Package: 'stx:goodies/regression' }"
629
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
"{ NameSpace: RegressionTests }"
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
TestCase subclass:#WritingToTranscriptOrStdoutTest
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	instanceVariableNames:''
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	classVariableNames:''
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	poolDictionaries:''
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	category:'tests-Regression'
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
2482
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    25
!WritingToTranscriptOrStdoutTest class methodsFor:'documentation'!
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    26
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    27
copyright
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    28
"
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    29
 COPYRIGHT (c) 2018 by eXept Software AG
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    30
              All Rights Reserved
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    31
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    32
 This software is furnished under a license and may be used
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    33
 only in accordance with the terms of that license and with the
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    35
 be provided or otherwise made available to, or used by, any
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    36
 other person.  No title to or ownership of the software is
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    37
 hereby transferred.
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    38
"
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    39
! !
629
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
!WritingToTranscriptOrStdoutTest methodsFor:'tests'!
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
test01_writeToStdout
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    Stdout nextPutLine:'hello world'.
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
!
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
test02_writeToTranscript
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    Transcript showCR:'hello world'.
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
! !
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
!WritingToTranscriptOrStdoutTest class methodsFor:'documentation'!
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
version
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    ^ '$Header$'
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
version_CVS
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    ^ '$Header$'
0745835dd030 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
! !
2482
328cde7d443f #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 1447
diff changeset
    60