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