tests/stx_goodies_petitparser_tests.st
changeset 256 6f800e49f6f6
child 316 aa62e34ede23
equal deleted inserted replaced
255:0f1b5fe3bace 256:6f800e49f6f6
       
     1 "{ Package: 'stx:goodies/petitparser/tests' }"
       
     2 
       
     3 LibraryDefinition subclass:#stx_goodies_petitparser_tests
       
     4 	instanceVariableNames:''
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'* Projects & Packages *'
       
     8 !
       
     9 
       
    10 
       
    11 !stx_goodies_petitparser_tests class methodsFor:'description'!
       
    12 
       
    13 excludedFromPreRequisites
       
    14     "list all packages which should be ignored in the automatic
       
    15      preRequisites scan. See #preRequisites for more."
       
    16 
       
    17     ^ #(
       
    18     )
       
    19 !
       
    20 
       
    21 mandatoryPreRequisites
       
    22     "list all required mandatory packages.
       
    23      Packages are mandatory, if they contain superclasses of the package's classes
       
    24      or classes which are extended by this package.
       
    25      This list can be maintained manually or (better) generated and
       
    26      updated by scanning the superclass hierarchies
       
    27      (the browser has a menu function for that)"
       
    28 
       
    29     ^ #(
       
    30         #'stx:goodies/sunit'    "TestAsserter - superclass of PPAbstractParserTest "
       
    31         #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_petitparser_tests "
       
    32     )
       
    33 !
       
    34 
       
    35 referencedPreRequisites
       
    36     "list all packages containing classes referenced by the packages's members.
       
    37      This list can be maintained manually or (better) generated and
       
    38      updated by looking for global variable accesses
       
    39      (the browser has a menu function for that)
       
    40      However, often too much is found, and you may want to explicitely
       
    41      exclude individual packages in the #excludedFromPreRequisites method."
       
    42 
       
    43     ^ #(
       
    44         #'stx:goodies/petitparser'    "PPParserResource - referenced by PPCompositeParserTest class>>resources "
       
    45     )
       
    46 !
       
    47 
       
    48 subProjects
       
    49     "list packages which are known as subprojects.
       
    50      The generated makefile will enter those and make there as well.
       
    51      However: they are not forced to be loaded when a package is loaded;
       
    52      for those, redefine requiredPrerequisites"
       
    53 
       
    54     ^ #(
       
    55     )
       
    56 ! !
       
    57 
       
    58 !stx_goodies_petitparser_tests class methodsFor:'description - contents'!
       
    59 
       
    60 classNamesAndAttributes
       
    61     "lists the classes which are to be included in the project.
       
    62      Each entry in the list may be: a single class-name (symbol),
       
    63      or an array-literal consisting of class name and attributes.
       
    64      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
    65 
       
    66     ^ #(
       
    67         "<className> or (<className> attributes...) in load order"
       
    68         PPAbstractParserTest
       
    69         #'stx_goodies_petitparser_tests'
       
    70         PPCompositeParserTest
       
    71     )
       
    72 !
       
    73 
       
    74 extensionMethodNames
       
    75     "lists the extension methods which are to be included in the project.
       
    76      Entries are 2-element array literals, consisting of class-name and selector."
       
    77 
       
    78     ^ #(
       
    79     )
       
    80 ! !
       
    81 
       
    82 !stx_goodies_petitparser_tests class methodsFor:'description - project information'!
       
    83 
       
    84 companyName
       
    85     "Return a companyname which will appear in <lib>.rc"
       
    86 
       
    87     ^ 'eXept Software AG'
       
    88 !
       
    89 
       
    90 description
       
    91     "Return a description string which will appear in vc.def / bc.def"
       
    92 
       
    93     ^ 'Smalltalk/X Class library'
       
    94 !
       
    95 
       
    96 legalCopyright
       
    97     "Return a copyright string which will appear in <lib>.rc"
       
    98 
       
    99     ^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014'
       
   100 !
       
   101 
       
   102 productName
       
   103     "Return a product name which will appear in <lib>.rc"
       
   104 
       
   105     ^ 'Smalltalk/X'
       
   106 ! !
       
   107 
       
   108 !stx_goodies_petitparser_tests class methodsFor:'documentation'!
       
   109 
       
   110 version
       
   111     ^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.1 2014-03-04 16:03:15 cg Exp $'
       
   112 !
       
   113 
       
   114 version_CVS
       
   115     ^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.1 2014-03-04 16:03:15 cg Exp $'
       
   116 ! !
       
   117