stx_goodies_sunit.st
author Stefan Vogel <sv@exept.de>
Sat, 09 Mar 2013 00:56:24 +0100
changeset 544 9e6bee79a390
parent 543 0426c166e29d
child 545 17675608b914
permissions -rw-r--r--
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:goodies/sunit' }"
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     2
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     3
LibraryDefinition subclass:#stx_goodies_sunit
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     4
	instanceVariableNames:''
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     5
	classVariableNames:''
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     6
	poolDictionaries:''
173
6fe46bec2948 Category change
Stefan Vogel <sv@exept.de>
parents: 172
diff changeset
     7
	category:'* Projects & Packages *'
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     8
!
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     9
245
49ef4f1295cd changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents: 235
diff changeset
    10
!stx_goodies_sunit class methodsFor:'documentation'!
49ef4f1295cd changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents: 235
diff changeset
    11
457
ae823abf01c0 comment
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
    12
documentation
ae823abf01c0 comment
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
    13
"
ae823abf01c0 comment
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
    14
    Build- and package information for creation of the st/x standard library: stx_goodies_sunit
ae823abf01c0 comment
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
    15
    This library contains the sunit test framework.
ae823abf01c0 comment
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
    16
"
245
49ef4f1295cd changed: #extensionsVersion_CVS
Claus Gittinger <cg@exept.de>
parents: 235
diff changeset
    17
! !
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
156
6a4aebabacbd automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 149
diff changeset
    19
!stx_goodies_sunit class methodsFor:'description'!
6a4aebabacbd automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 149
diff changeset
    20
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    21
excludedFromPreRequisites
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    22
    "list all packages which should be ignored in the automatic
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    23
     preRequisites scan. See #preRequisites for more."
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    24
156
6a4aebabacbd automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 149
diff changeset
    25
    ^ #(
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    26
    )
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    27
!
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    28
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    29
mandatoryPreRequisites
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    30
    "list all required mandatory packages.
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    31
     Packages are mandatory, if they contain superclasses of the package's classes
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    32
     or classes which are extended by this package.
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    33
     This list can be maintained manually or (better) generated and
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    34
     updated by scanning the superclass hierarchies
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    35
     (the browser has a menu function for that)
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    36
     However, often too much is found, and you may want to explicitely
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    37
     exclude individual packages in the #excludedFromPreRequisites method."
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    38
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    39
    ^ #(
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    40
        #'stx:libbasic'    "String - extended "
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    41
        #'stx:libview2'    "ApplicationModel - superclass of TestRunner "
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    42
    )
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    43
!
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    44
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    45
referencedPreRequisites
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    46
    "list all packages containing classes referenced by the packages's members.
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    47
     This list can be maintained manually or (better) generated and
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    48
     updated by looking for global variable accesses
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    49
     (the browser has a menu function for that)
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    50
     However, often too much is found, and you may want to explicitely
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    51
     exclude individual packages in the #excludedFromPreRequisites method."
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    52
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    53
    ^ #(
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    54
        #'stx:libbasic2'    "SplittingWriteStream - referenced by TestResultStX>>performCase: "
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    55
        #'stx:libview'    "Color - referenced by TestRunner>>displayNormalColorInProgress "
156
6a4aebabacbd automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 149
diff changeset
    56
    )
6a4aebabacbd automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 149
diff changeset
    57
! !
6a4aebabacbd automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 149
diff changeset
    58
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
!stx_goodies_sunit class methodsFor:'description - contents'!
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
classNamesAndAttributes
213
f40a88c5ec53 changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    62
    "lists the classes which are to be included in the project.
f40a88c5ec53 changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    63
     Each entry in the list may be: a single class-name (symbol),
f40a88c5ec53 changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    64
     or an array-literal consisting of class name and attributes.
f40a88c5ec53 changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    65
     Attributes are: #autoload or #<os> where os is one of win32, unix,..."
f40a88c5ec53 changed: #classNamesAndAttributes
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    66
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    67
    ^ #(
343
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    68
        "<className> or (<className> attributes...) in load order"
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    69
        (ExampleTestResource autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    70
        SUnitDelay
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    71
        SUnitNameResolver
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    72
        TestAsserter
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    73
        TestFailure
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    74
        TestResult
476
700cd1a9964c automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 457
diff changeset
    75
        TestResultReporter
343
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    76
        TestRunner
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    77
        TestSuite
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    78
        (TestSuitesCompoundScriptTest autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    79
        (TestSuitesHierarchyScriptTest autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    80
        (TestSuitesScriptTest autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    81
        TestSuitesScripter
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    82
        #'stx_goodies_sunit'
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    83
        ResumableTestFailure
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    84
        TestCase
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
    85
        (TestCaseWithArguments autoload)
343
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    86
        TestResource
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    87
        (ExampleSetTest autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    88
        (ResumableTestFailureTestCase autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    89
        (SUnitTest autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    90
        (SimpleTestResource autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    91
        (SimpleTestResourceTestCase autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    92
        (FailingTestResourceTestCase autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    93
        (ManyTestResourceTestCase autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    94
        (SimpleTestResourceA autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    95
        (SimpleTestResourceA1 autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    96
        (SimpleTestResourceA2 autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    97
        (SimpleTestResourceB autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    98
        (SimpleTestResourceB1 autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    99
        (SimpleTestResourceCircular autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   100
        (SimpleTestResourceCircular1 autoload)
ae5570567e27 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   101
        (CircularTestResourceTestCase autoload)
349
1cd3a8910934 Refactored to use TestResultOutcome
vrany
parents: 343
diff changeset
   102
        TestCaseOutcome
368
4ab674c862a7 Regenerate build files
vrany
parents: 367
diff changeset
   103
        TestResultStX
408
vrany
parents: 404
diff changeset
   104
        TestResultForRunWithDebug
440
4a544fda4bc8 changed: #classNamesAndAttributes
vrany
parents: 427
diff changeset
   105
        (SUnitTests2 autoload)
518
9af19c20c2d6 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 476
diff changeset
   106
        TestCoverageReporter
9af19c20c2d6 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 476
diff changeset
   107
        MetricsReporter
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   108
    )
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   109
!
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   110
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   111
extensionMethodNames
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   112
    "lists the extension methods which are to be included in the project.
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   113
     Entries are 2-element array literals, consisting of class-name and selector."
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   114
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   115
    ^ #(
427
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   116
        Block sunitEnsure:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   117
        Block sunitOn:do:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   118
        GenericException sunitAnnounce:toResult:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   119
        GenericException sunitExitWith:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   120
        Object sunitAddDependent:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   121
        Object sunitChanged:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   122
        Object sunitRemoveDependent:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   123
        String sunitAsSymbol
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   124
        String sunitMatch:
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   125
        String sunitSubStrings
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   126
        Symbol sunitAsClass
24632c550c74 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   127
        'GenericException class' sunitSignalWith:
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   128
        Behavior sunitSelectors
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   129
        Class sunitName
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   130
    )
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   131
! !
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   132
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   133
!stx_goodies_sunit class methodsFor:'description - project information'!
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   134
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   135
applicationIconFileName
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   136
    "Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   137
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   138
    ^ nil
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   139
    "/ ^ self applicationName
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   140
!
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   141
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   142
companyName
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   143
    "Return a companyname which will appear in <lib>.rc"
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   144
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   145
    ^ 'eXept Software AG'
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   146
!
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   147
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   148
description
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   149
    "Return a description string which will appear in nt.def / bc.def"
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   150
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   151
    ^ 'Smalltalk/X Class library'
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   152
!
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   153
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   154
legalCopyright
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   155
    "Return a copyright string which will appear in <lib>.rc"
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   156
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   157
    ^ 'Copyright eXept Software AG 1998-2007'
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   158
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   159
    "Modified: / 08-11-2007 / 16:57:33 / cg"
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   160
!
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   161
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   162
productInstallDirBaseName
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   163
    "Returns a default installDir which will appear in <app>.nsi.
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   164
     This is usually not the one you want to keep"
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   165
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   166
    ^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   167
!
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   168
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   169
productName
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   170
    "Return a product name which will appear in <lib>.rc"
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   171
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   172
    ^ 'Smalltalk/X'
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   173
! !
177
f46c94410480 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 176
diff changeset
   174
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   175
!stx_goodies_sunit class methodsFor:'description - svn'!
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   176
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   177
svnRevisionNr
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   178
    "Return a SVN revision number of myself.
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   179
     This number is updated after a commit"
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   180
543
0426c166e29d automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 518
diff changeset
   181
    ^ "$SVN-Revision:"'Nicht versioniertes Verzeichnis'"$"
235
d06056977c51 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 222
diff changeset
   182
! !
d06056977c51 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 222
diff changeset
   183
251
9c8dafcfbf66 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   184
!stx_goodies_sunit class methodsFor:'documentation'!
235
d06056977c51 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 222
diff changeset
   185
356
17065e3b6395 automatic checkIn
vrany
parents: 349
diff changeset
   186
version
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   187
    ^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.37 2013-03-08 23:56:24 stefan Exp $'
356
17065e3b6395 automatic checkIn
vrany
parents: 349
diff changeset
   188
!
17065e3b6395 automatic checkIn
vrany
parents: 349
diff changeset
   189
235
d06056977c51 automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 222
diff changeset
   190
version_CVS
544
9e6bee79a390 Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents: 543
diff changeset
   191
    ^ '$Header: /cvs/stx/stx/goodies/sunit/stx_goodies_sunit.st,v 1.37 2013-03-08 23:56:24 stefan Exp $'
251
9c8dafcfbf66 automatic checkIn
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   192
!
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   193
222
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   194
version_SVN
8e6f482297fa Jan's 4.1 version
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   195
    ^ '§Id: stx_goodies_sunit.st 214 2011-03-14 12:22:21Z vranyj1 §'
149
4fe695222d0a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   196
! !
543
0426c166e29d automatic checkIn
Stefan Vogel <sv@exept.de>
parents: 518
diff changeset
   197