tests/stx_goodies_petitparser_tests.st
changeset 377 6112a403a52d
parent 376 a2656b27cace
child 403 7063d523b064
--- a/tests/stx_goodies_petitparser_tests.st	Fri Oct 03 01:59:10 2014 +0100
+++ b/tests/stx_goodies_petitparser_tests.st	Fri Oct 03 02:33:08 2014 +0100
@@ -10,6 +10,20 @@
 
 !stx_goodies_petitparser_tests class methodsFor:'accessing - monticello'!
 
+monticelloLastMergedVersionInfo
+    "The last merged version is: "
+
+    ^ '
+    Name: PetitTests-JanKurs.60
+    Author: JanKurs
+    Time: 29-09-2014, 11:48:10 AM
+    UUID: 28fd2e65-c287-4f73-b71e-5b6bb25bebaa
+    Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main
+    '
+
+    "Created: / 03-10-2014 / 02:28:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 monticelloName
     "Return name of the package for Monticello. This is used when package is exported"
 
@@ -29,29 +43,28 @@
 !
 
 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)"
+    "list packages which are mandatory as a prerequisite.
+     This are packages containing superclasses of my classes and classes which
+     are extended by myself.
+     They are mandatory, because we need these packages as a prerequisite for loading and compiling.
+     This method is generated automatically,
+     by searching along the inheritance chain of all of my classes."
 
     ^ #(
-        #'stx:goodies/sunit'    "TestAsserter - superclass of PPAbstractParserTest "
-        #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_petitparser_tests "
+        #'stx:goodies/petitparser'    "PPCompositeParser - superclass of PPArithmeticParser"
+        #'stx:goodies/sunit'    "TestAsserter - superclass of PPAbstractParseTest"
+        #'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."
+    "list packages which are a prerequisite, because they contain
+     classes which are referenced by my classes.
+     We do not need these packages as a prerequisite for loading or compiling.
+     This method is generated automatically,
+     by searching all classes (and their packages) which are referenced by my classes."
 
     ^ #(
-        #'stx:goodies/petitparser'    "PPParserResource - referenced by PPCompositeParserTest class>>resources "
     )
 !
 
@@ -75,30 +88,32 @@
 
     ^ #(
         "<className> or (<className> attributes...) in load order"
+        (PPAbstractParseTest autoload)
         (PPAbstractParserTest autoload)
+        (PPArithmeticParser autoload)
+        PPContextMementoTest
+        PPContextTest
+        (PPLambdaParser autoload)
+        (PPParserResource autoload)
         #'stx_goodies_petitparser_tests'
+        (PPComposedTest autoload)
         (PPCompositeParserTest autoload)
-        (PPAbstractParseTest autoload)
-        (PPArithmeticParserTest autoload)
-        (PPComposedTest autoload)
         (PPExtensionTest autoload)
-        (PPLambdaParserTest autoload)
+        (PPMappingTest autoload)
         (PPObjectTest autoload)
-        (PPParserResource autoload)
         (PPParserTest autoload)
         (PPPredicateTest autoload)
         (PPScriptingTest autoload)
         (PPTokenTest autoload)
+        (PPArithmeticParserTest autoload)
+        (PPLambdaParserTest 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."
+    "list class/selector pairs of extensions.
+     A correponding method with real names must be present in my concrete subclasses"
 
     ^ #(
     )