Tests moved to category SCM-Monticello-Tests
authorJan Vrany <jan.vrany@fit.cvut.cz>
Wed, 29 May 2013 02:01:21 +0200
changeset 814 a1d60cadec92
parent 813 eabdb5055eac
child 815 dca22fdcd65e
Tests moved to category SCM-Monticello-Tests
test/stx_goodies_monticello_test.st
--- a/test/stx_goodies_monticello_test.st	Wed May 29 02:01:14 2013 +0200
+++ b/test/stx_goodies_monticello_test.st	Wed May 29 02:01:21 2013 +0200
@@ -18,20 +18,45 @@
     )
 !
 
-preRequisites
-    "list all required packages.
+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 and looking for
-     global variable accesses. (the browser has a menu function for that)
-     Howevery, often too much is found, and you may want to explicitely
-     exclude individual packages in the #excludedFromPrerequisites method."
+     updated by scanning the superclass hierarchies
+     (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/monticello'    "MCChangeSelectionRequest - referenced by MCWorkingCopyTest>>testBackport "
-        #'stx:goodies/sunit'    "TestCase - superclass of MCPackageTest "
-        #'stx:libbasic'    "Object - superclass of MCFileInTest "
-        #'stx:libbasic2'    "UUID - referenced by MCTestCase>>mockVersionInfoWithAncestor: "
-        #'stx:libcomp'    "Parser - referenced by MCStWriterTest>>assertMethodChunkIsWellFormed: "
+        #'stx:goodies/sunit'    "TestAsserter - superclass of MCAncestryTest "
+        #'stx:libbasic'    "LibraryDefinition - superclass of stx_goodies_monticello_test "
+    )
+!
+
+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/monticello'    "MCCacheRepository - referenced by MCWorkingCopyTest>>clearPackageCache "
+        #'stx:libbasic2'    "UUID - referenced by MCTestCase>>mockVersionInfo: "
+        #'stx:libcomp'    "Parser - referenced by MCStWriterTest>>assertChunkIsWellFormed: "
+        #'stx:libcompat'    "MczInstaller - referenced by MCInitializationTest>>testWorkingCopy "
+    )
+!
+
+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"
+
+    ^ #(
     )
 ! !
 
@@ -45,33 +70,33 @@
 
     ^ #(
         "<className> or (<className> attributes...) in load order"
-        (MCDependencySorterTest autoload)
-        (MCSnapshotResource autoload)
-        (MCSortingTest autoload)
-        (MCTestCase autoload)
+        MCDependencySorterTest
+        MCSnapshotResource
+        MCSortingTest
+        MCTestCase
         #'stx_goodies_monticello_test'
-        (MCAncestryTest autoload)
-        (MCChangeNotificationTest autoload)
-        (MCClassDefinitionTest autoload)
-        (MCFileInTest autoload)
-        (MCInitializationTest autoload)
-        (MCMczInstallerTest autoload)
-        (MCMergingTest autoload)
-        (MCMethodDefinitionTest autoload)
-        (MCOrganizationTest autoload)
-        (MCPackageTest autoload)
-        (MCPatchTest autoload)
-        (MCRepositoryTest autoload)
-        (MCScannerTest autoload)
-        (MCSerializationTest autoload)
-        (MCSnapshotBrowserTest autoload)
-        (MCSnapshotTest autoload)
-        (MCStReaderTest autoload)
-        (MCStWriterTest autoload)
-        (MCVersionTest autoload)
-        (MCWorkingCopyTest autoload)
-        (MCDictionaryRepositoryTest autoload)
-        (MCDirectoryRepositoryTest autoload)
+        MCAncestryTest
+        MCChangeNotificationTest
+        MCClassDefinitionTest
+        MCFileInTest
+        MCInitializationTest
+        MCMczInstallerTest
+        MCMergingTest
+        MCMethodDefinitionTest
+        MCOrganizationTest
+        MCPackageTest
+        MCPatchTest
+        MCRepositoryTest
+        MCScannerTest
+        MCSerializationTest
+        MCSnapshotBrowserTest
+        MCSnapshotTest
+        MCStReaderTest
+        MCStWriterTest
+        MCVersionTest
+        MCWorkingCopyTest
+        MCDictionaryRepositoryTest
+        MCDirectoryRepositoryTest
     )
 !
 
@@ -119,5 +144,6 @@
 !stx_goodies_monticello_test class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/goodies/monticello/test/stx_goodies_monticello_test.st,v 1.1 2010-10-30 12:42:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/goodies/monticello/test/stx_goodies_monticello_test.st,v 1.2 2013-05-29 00:01:21 vrany Exp $'
 ! !
+