# HG changeset patch # User Claus Gittinger # Date 1393948995 -3600 # Node ID 6f800e49f6f67671be55c328a1d65cb23bc400e7 # Parent 0f1b5fe3bace343dd25584f339595f27496eb605 initial checkin diff -r 0f1b5fe3bace -r 6f800e49f6f6 tests/stx_goodies_petitparser_tests.st --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/stx_goodies_petitparser_tests.st Tue Mar 04 17:03:15 2014 +0100 @@ -0,0 +1,117 @@ +"{ Package: 'stx:goodies/petitparser/tests' }" + +LibraryDefinition subclass:#stx_goodies_petitparser_tests + instanceVariableNames:'' + classVariableNames:'' + poolDictionaries:'' + category:'* Projects & Packages *' +! + + +!stx_goodies_petitparser_tests class methodsFor:'description'! + +excludedFromPreRequisites + "list all packages which should be ignored in the automatic + preRequisites scan. See #preRequisites for more." + + ^ #( + ) +! + +mandatoryPreRequisites + "list all required mandatory packages. + Packages are mandatory, if they contain superclasses of the package's classes + or classes which are extended by this package. + This list can be maintained manually or (better) generated and + updated by scanning the superclass hierarchies + (the browser has a menu function for that)" + + ^ #( + #'stx:goodies/sunit' "TestAsserter - superclass of PPAbstractParserTest " + #'stx:libbasic' "LibraryDefinition - superclass of stx_goodies_petitparser_tests " + ) +! + +referencedPreRequisites + "list all packages containing classes referenced by the packages's members. + This list can be maintained manually or (better) generated and + updated by looking for global variable accesses + (the browser has a menu function for that) + However, often too much is found, and you may want to explicitely + exclude individual packages in the #excludedFromPreRequisites method." + + ^ #( + #'stx:goodies/petitparser' "PPParserResource - referenced by PPCompositeParserTest class>>resources " + ) +! + +subProjects + "list packages which are known as subprojects. + The generated makefile will enter those and make there as well. + However: they are not forced to be loaded when a package is loaded; + for those, redefine requiredPrerequisites" + + ^ #( + ) +! ! + +!stx_goodies_petitparser_tests class methodsFor:'description - contents'! + +classNamesAndAttributes + "lists the classes which are to be included in the project. + Each entry in the list may be: a single class-name (symbol), + or an array-literal consisting of class name and attributes. + Attributes are: #autoload or # where os is one of win32, unix,..." + + ^ #( + " or ( attributes...) in load order" + PPAbstractParserTest + #'stx_goodies_petitparser_tests' + PPCompositeParserTest + ) +! + +extensionMethodNames + "lists the extension methods which are to be included in the project. + Entries are 2-element array literals, consisting of class-name and selector." + + ^ #( + ) +! ! + +!stx_goodies_petitparser_tests class methodsFor:'description - project information'! + +companyName + "Return a companyname which will appear in .rc" + + ^ 'eXept Software AG' +! + +description + "Return a description string which will appear in vc.def / bc.def" + + ^ 'Smalltalk/X Class library' +! + +legalCopyright + "Return a copyright string which will appear in .rc" + + ^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014' +! + +productName + "Return a product name which will appear in .rc" + + ^ 'Smalltalk/X' +! ! + +!stx_goodies_petitparser_tests class methodsFor:'documentation'! + +version + ^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.1 2014-03-04 16:03:15 cg Exp $' +! + +version_CVS + ^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.1 2014-03-04 16:03:15 cg Exp $' +! ! +