tests/stx_goodies_petitparser_tests.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 03 Oct 2014 01:36:33 +0100
changeset 375 e2b2f08d054e
parent 324 68f6e07a7837
child 376 a2656b27cace
permissions -rw-r--r--
All tests moved from stx:goodies/petitparser to stx:goodies/petitparser/tests ..,to conform package layout standards.

"{ 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 #<os> where os is one of win32, unix,..."

    ^ #(
        "<className> or (<className> attributes...) in load order"
        (PPAbstractParserTest autoload)
        #'stx_goodies_petitparser_tests'
        (PPCompositeParserTest autoload)
        (PPAbstractParseTest autoload)
        (PPArithmeticParserTest autoload)
        (PPComposedTest autoload)
        (PPExtensionTest autoload)
        (PPLambdaParserTest autoload)
        (PPObjectTest autoload)
        (PPParserResource autoload)
        (PPParserTest autoload)
        (PPPredicateTest autoload)
        (PPScriptingTest autoload)
        (PPTokenTest autoload)
        (PPExpressionParserTest autoload)
        (PPMappingTest autoload)
        (PPArithmeticParser autoload)
        (PPLambdaParser autoload)
    )
!

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 <lib>.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 <lib>.rc"

    ^ 'Copyright Claus Gittinger 1988-2014\nCopyright eXept Software AG 1998-2014'
!

productName
    "Return a product name which will appear in <lib>.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.3 2014-03-04 20:32:06 cg Exp $'
!

version_CVS
    ^ '$Header: /cvs/stx/stx/goodies/petitparser/tests/stx_goodies_petitparser_tests.st,v 1.3 2014-03-04 20:32:06 cg Exp $'
! !