analyzer/tests/stx_goodies_petitparser_analyzer_tests.st
changeset 425 0a5c4929af56
parent 420 b2f2f15cef26
equal deleted inserted replaced
424:77c414db3cca 425:0a5c4929af56
     1 "{ Package: 'stx:goodies/petitparser/analyzer/tests' }"
     1 "{ Package: 'stx:goodies/petitparser/analyzer/tests' }"
       
     2 
       
     3 "{ NameSpace: Smalltalk }"
     2 
     4 
     3 LibraryDefinition subclass:#stx_goodies_petitparser_analyzer_tests
     5 LibraryDefinition subclass:#stx_goodies_petitparser_analyzer_tests
     4 	instanceVariableNames:''
     6 	instanceVariableNames:''
     5 	classVariableNames:''
     7 	classVariableNames:''
     6 	poolDictionaries:''
     8 	poolDictionaries:''
    50      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    52      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    51      This method is generated automatically,
    53      This method is generated automatically,
    52      by searching along the inheritance chain of all of my classes."
    54      by searching along the inheritance chain of all of my classes."
    53 
    55 
    54     ^ #(
    56     ^ #(
    55         #'stx:libbasic'    "Autoload - superclass of PPAnalyzerTest"
    57         #'stx:goodies/petitparser/tests'    "PPAbstractParserTest - superclass of PPAnalyzerTest"
       
    58         #'stx:goodies/sunit'    "TestAsserter - superclass of PPAnalyzerTest"
       
    59         #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_petitparser_analyzer_tests"
    56     )
    60     )
    57 !
    61 !
    58 
    62 
    59 referencedPreRequisites
    63 referencedPreRequisites
    60     "list packages which are a prerequisite, because they contain
    64     "list packages which are a prerequisite, because they contain
    61      classes which are referenced by my classes.
    65      classes which are referenced by my classes.
    62      We do not need these packages as a prerequisite for loading or compiling.
    66      We do not need these packages as a prerequisite for compiling or loading,
       
    67      however, a class from it may be referenced during execution and having it
       
    68      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
       
    69      includes explicit checks for the package being present.
    63      This method is generated automatically,
    70      This method is generated automatically,
    64      by searching all classes (and their packages) which are referenced by my classes."
    71      by searching all classes (and their packages) which are referenced by my classes."
    65 
    72 
    66     ^ #(
    73     ^ #(
       
    74         #'stx:goodies/petitparser'    "PPAndParser - referenced by PPAnalyzerTest>>testIsNullable"
       
    75         #'stx:goodies/petitparser/analyzer'    "PPListPattern - referenced by PPRewriterTest>>testDuplicationRemoval"
    67     )
    76     )
    68 !
    77 !
    69 
    78 
    70 subProjects
    79 subProjects
    71     "list packages which are known as subprojects.
    80     "list packages which are known as subprojects.
    85      or an array-literal consisting of class name and attributes.
    94      or an array-literal consisting of class name and attributes.
    86      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
    95      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
    87 
    96 
    88     ^ #(
    97     ^ #(
    89         "<className> or (<className> attributes...) in load order"
    98         "<className> or (<className> attributes...) in load order"
       
    99         PPAnalyzerTest
       
   100         PPRewriterTest
       
   101         PPSearcherTest
    90         #'stx_goodies_petitparser_analyzer_tests'
   102         #'stx_goodies_petitparser_analyzer_tests'
    91         (PPAnalyzerTest autoload)
       
    92         (PPRewriterTest autoload)
       
    93         (PPSearcherTest autoload)
       
    94     )
   103     )
    95 !
   104 !
    96 
   105 
    97 extensionMethodNames
   106 extensionMethodNames
    98     "list class/selector pairs of extensions.
   107     "list class/selector pairs of extensions.