RegressionTests__ImageReaderTest.st
author Claus Gittinger <cg@exept.de>
Mon, 07 Mar 2016 09:20:14 +0100
changeset 1334 7361d2e60e51
parent 1326 3497aa4bf680
child 1338 9e39590870b2
permissions -rw-r--r--
#FEATURE class: RegressionTests::ImageReaderTest changed: #test_bmp_01 #test_png_01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
356
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'exept:regression' }"
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
"{ NameSpace: RegressionTests }"
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
TestCase subclass:#ImageReaderTest
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
	instanceVariableNames:''
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
	classVariableNames:''
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
	poolDictionaries:''
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
	category:'tests-Regression'
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
!
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
!ImageReaderTest class methodsFor:'documentation'!
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
documentation
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
"
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
    documentation to be added.
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
    [author:]
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
        cg (cg@AQUA-DUO)
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
    [instance variables:]
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
    [class variables:]
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
    [see also:]
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
"
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
! !
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!ImageReaderTest methodsFor:'tests'!
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    32
test001_bmp
356
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
    |img|
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    35
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test1.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    36
    self assert:(img notNil).
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    37
    self assert:(img depth == 1).
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
    38
    
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    39
    "/ img inspect.
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
    40
    
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    41
    self assert:((img colorAtX:0 y:0) rgbValue = 16r4040FF).
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    42
    self assert:((img colorAtX:0 y:63) rgbValue = 16r4040FF).
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    43
    self assert:((img colorAtX:0 y:18) rgbValue = 16r40FF40).
356
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    46
     self run:#test001_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    47
     self new test001_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    48
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    49
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    50
test002_bmp
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    51
    |img|
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    52
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    53
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test4.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    54
    self assert:(img notNil).
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    55
    self assert:(img depth == 4).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    56
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    57
    self assert:((img colorAtX:0 y:15) rgbValue = 16rFF0000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    58
    self assert:((img colorAtX:35 y:15) rgbValue = 16r004000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    59
    self assert:((img colorAtX:35 y:30) rgbValue = 16r008000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    60
    self assert:((img colorAtX:35 y:45) rgbValue = 16r00C000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    61
    self assert:((img colorAtX:35 y:60) rgbValue = 16r00FF00).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    62
    self assert:((img colorAtX:70 y:15) rgbValue = 16r0000FF).
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
    63
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    64
    "/ img inspect.
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    65
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    66
     self run:#test002_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    67
     self new test002_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    68
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    69
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    70
test003_bmp
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    71
    |img|
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    72
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    73
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test8.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    74
    self assert:(img notNil).
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    75
    self assert:(img depth == 8).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    76
    self assert:((img colorAtX:30 y:0) rgbValue = 16rFF0000).
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
    77
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    78
    "/ img inspect
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    79
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    80
     self run:#test003_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    81
     self new test003_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    82
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    83
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    84
test004_bmp
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    85
    |img|
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    86
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    87
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/testcompress4.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    88
    self assert:(img notNil).
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    89
    self assert:(img depth == 4).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    90
    self assert:((img colorAtX:0 y:15) rgbValue = 16rFF0000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    91
    self assert:((img colorAtX:35 y:15) rgbValue = 16r004000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    92
    self assert:((img colorAtX:35 y:30) rgbValue = 16r008000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    93
    self assert:((img colorAtX:35 y:45) rgbValue = 16r00C000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    94
    self assert:((img colorAtX:35 y:60) rgbValue = 16r00FF00).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    95
    self assert:((img colorAtX:70 y:15) rgbValue = 16r0000FF).
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
    96
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    97
    "/ img inspect.
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
    98
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
    99
     self run:#test004_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   100
     self new test004_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   101
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   102
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   103
test005_bmp
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   104
    |img|
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   105
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   106
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/testcompress8.bmp').
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   107
    self assert:(img notNil).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   108
    self assert:(img depth == 8).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   109
    self assert:((img colorAtX:30 y:0) rgbValue = 16rFF0000).
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   110
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   111
    "/ img inspect.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   112
    "
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   113
     self run:#test005_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   114
     self new test005_bmp"
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   115
!
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   116
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   117
test006_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   118
    |img|
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   119
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   120
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test8os2.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   121
    self assert:(img notNil).
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   122
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   123
    "/ img inspect.
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   124
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   125
     self run:#test006_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   126
     self new test006_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   127
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   128
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   129
test007_bmp
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   130
    |img|
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   131
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   132
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test4os2v2.bmp').
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   133
    self assert:(img notNil).
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   134
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   135
    "/ img inspect.
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   136
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   137
     self run:#test007_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   138
     self new test007_bmp"
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   139
!
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   140
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   141
test008_bmp
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   142
    |img|
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   143
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   144
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test16.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   145
    self assert:(img notNil).
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   146
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   147
    "/ img inspect.
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   148
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   149
     self run:#test008_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   150
     self new test008_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   151
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   152
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   153
test009_bmp
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   154
    |img|
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   155
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   156
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test24.bmp').
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   157
    self assert:(img notNil).
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   158
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   159
    "/ img inspect.
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   160
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   161
     self run:#test009_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   162
     self new test009_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   163
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   164
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   165
test010_bmp
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   166
    |img|
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   167
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   168
    img := Image fromFile:(self class packageDirectory construct:'testData/bmpImages/test32.bmp').
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   169
    self assert:(img notNil).
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   170
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   171
    "/ img inspect.
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   172
    "
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   173
     self run:#test010_bmp
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   174
     self new test010_bmp"
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   175
!
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   176
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   177
test101
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   178
    |alpha s bits img|
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   179
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   180
    img := Depth32Image width:16 height:16.
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   181
    alpha := #[
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   182
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   183
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   184
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   185
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   186
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   187
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   188
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   189
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   190
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   191
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   192
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   193
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   194
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   195
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   196
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   197
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   198
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   199
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   200
                    0 0 0 0 63 63 63 63 127 127 127 127 255 255 255 255
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   201
              ].
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   202
    s := WriteStream on:#[].
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   203
    alpha do:[:a |
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   204
        s nextPut:127.    "/ r
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   205
        s nextPut:127.    "/ g
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   206
        s nextPut:127.    "/ b
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   207
        s nextPut:a.    
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   208
    ].
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   209
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   210
    bits := (s contents).
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   211
    img bits:bits.
699
3316cd60b7c2 changed: #test101
Claus Gittinger <cg@exept.de>
parents: 576
diff changeset
   212
    "/ img inspect.
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   213
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   214
    "
526
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   215
     self run:#test101
5494927465be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 382
diff changeset
   216
     self new test101
357
01c5f0c27106 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   217
    "
382
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   218
!
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   219
576
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   220
testPNG_001_basn0g01
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   221
    |img|
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   222
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   223
    img := Image fromFile:(self class packageDirectory construct:'testData/pngImages/basn0g01.png').
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   224
    self assert:(img notNil).
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   225
    self assert:(img depth == 1).
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   226
    self assert:(img extent = (32@32)).
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   227
    self assert:(img colorAt:(0@0)) = Color white.
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   228
    self assert:(img colorAt:(31@31)) = Color black.
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   229
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   230
    "/ img inspect.
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   231
    "
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   232
     self run:#testPNG_001_basn0g01
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   233
     self new testPNG_001_basn0g01
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   234
    "
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   235
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   236
    "Created: / 05-02-2011 / 10:32:32 / cg"
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   237
!
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   238
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   239
testPNG_002_basn0g02
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   240
    |img|
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   241
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   242
    img := Image fromFile:(self class packageDirectory construct:'testData/pngImages/basn0g02.png').
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   243
    self assert:(img notNil).
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   244
    self assert:(img depth == 2).
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   245
    self assert:(img extent = (32@32)).
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   246
    self assert:(img colorAt:(0@0)) rgbValue = 0.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   247
    self assert:(img colorAt:(31@31)) rgbValue = 16rAAAAAA.
576
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   248
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   249
    "/ img inspect.
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   250
    "
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   251
     self run:#testPNG_002_basn0g02
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   252
     self new testPNG_002_basn0g02
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   253
    "
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   254
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   255
    "Created: / 05-02-2011 / 10:33:24 / cg"
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   256
!
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   257
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   258
test_bmp_01
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   259
    |img allOK|
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   260
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   261
    allOK := true.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   262
    (self class packageDirectory construct:'testData/bmpImages') directoryContentsAsFilenamesDo:[:f |
1334
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   263
        (f isRegularFile and:[f hasSuffix:'bmp']) ifTrue:[
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   264
            Error handle:[:ex |
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   265
                img := nil.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   266
            ] do:[
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   267
                img := Image fromFile:f.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   268
            ].
1334
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   269
            img isNil ifTrue:[ 
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   270
                Transcript printf:'failed: %s\n' with:f baseName.
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   271
                allOK := false
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   272
            ].                
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   273
        ].
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   274
    ].
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   275
    self assert:allOK.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   276
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   277
    "
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   278
     self run:#test_bmp_01
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   279
     self new test_bmp_01
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   280
    "
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   281
!
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   282
382
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   283
test_png_01
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   284
    |img allOK|
382
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   285
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   286
    allOK := true.
382
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   287
    (self class packageDirectory construct:'testData/pngImages') directoryContentsAsFilenamesDo:[:f |
1334
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   288
        (f isRegularFile and:[f hasSuffix:'png']) ifTrue:[
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   289
            Error handle:[:ex |
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   290
                img := nil.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   291
            ] do:[
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   292
                img := Image fromFile:f.
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   293
            ].    
1334
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   294
            img isNil ifTrue:[ 
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   295
                Transcript printf:'failed: %s\n' with:f baseName.
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   296
                allOK := false 
7361d2e60e51 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 1326
diff changeset
   297
            ].
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   298
        ].
382
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   299
    ].
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   300
    self assert:allOK.
382
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   301
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   302
    "
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   303
     self run:#test_png_01
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   304
     self new test_png_01
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   305
    "
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   306
!
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   307
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   308
test_png_02
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   309
    |referenceImg img|
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   310
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   311
    img := Image fromFile:(self class packageDirectory construct:'testData/pngImages/basn0g01.png').
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   312
    self assert:(img notNil).
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   313
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   314
    referenceImg := (Depth1Image new) width: 32; height: 32; 
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   315
                            photometric:(#palette); 
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   316
                            bitsPerSample:(#[1]); 
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   317
                            samplesPerPixel:(1); 
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   318
                            bits:(ByteArray fromPackedString:'
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   319
?????/????3????8????<OO3?>C3<??@<?O? OL3?0C3L?8@<3O<@O G>@C8A?@@?L? @O3O0@C??8@@??<@@O?>@@C??@@@?? O8O?0C>C?8@00?<@LLO>@
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   320
C>C?@@? ? @LLO0@CCC8@@? <@@O8N@@@@C@@@@@ @@@@@@@@@@b') ; 
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   321
                            colorMapFromArray:#[0 0 0 255 255 255]; 
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   322
                            yourself.
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   323
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   324
    self assert:(img asImageWithDepth:1) = (referenceImg asImageWithDepth:1).
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   325
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   326
    "
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   327
     self run:#test_png_02
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   328
     self new test_png_02
25933e1d5a67 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 358
diff changeset
   329
    "
356
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
! !
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   332
!ImageReaderTest class methodsFor:'documentation'!
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   333
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   334
version
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
    ^ '$Header$'
576
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   336
!
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   337
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   338
version_CVS
0cbc67ca4ab3 png stuff
Claus Gittinger <cg@exept.de>
parents: 526
diff changeset
   339
    ^ '$Header$'
356
3f420735d670 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
! !
1326
3497aa4bf680 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 699
diff changeset
   341