compiler/tests/ctu_dart_compiler_tests.st
changeset 8 c2de4aaa2670
equal deleted inserted replaced
7:cccc239c8833 8:c2de4aaa2670
       
     1 "{ Package: 'ctu:dart/compiler/tests' }"
       
     2 
       
     3 LibraryDefinition subclass:#ctu_dart_compiler_tests
       
     4 	instanceVariableNames:''
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'* Projects & Packages *'
       
     8 !
       
     9 
       
    10 
       
    11 !ctu_dart_compiler_tests class methodsFor:'description'!
       
    12 
       
    13 excludedFromPreRequisites
       
    14     "list packages which are to be explicitely excluded from the automatic constructed
       
    15      prerequisites list. If empty, everything that is found along the inheritance of any of
       
    16      my classes is considered to be a prerequisite package."
       
    17 
       
    18     ^ #(
       
    19     )
       
    20 !
       
    21 
       
    22 mandatoryPreRequisites
       
    23     "list packages which are mandatory as a prerequisite.
       
    24      This are packages containing superclasses of my classes and classes which
       
    25      are extended by myself.
       
    26      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
       
    27      This method is generated automatically,
       
    28      by searching along the inheritance chain of all of my classes."
       
    29 
       
    30     ^ #(
       
    31         #'stx:goodies/petitparser/tests'    "PPAbstractParserTest - superclass of Dart::ParserTests"
       
    32         #'stx:goodies/sunit'    "TestAsserter - superclass of Dart::ParserTests"
       
    33         #'stx:libbasic'    "LibraryDefinition - superclass of ctu_dart_compiler_tests"
       
    34     )
       
    35 !
       
    36 
       
    37 referencedPreRequisites
       
    38     "list packages which are a prerequisite, because they contain
       
    39      classes which are referenced by my classes.
       
    40      We do not need these packages as a prerequisite for loading or compiling.
       
    41      This method is generated automatically,
       
    42      by searching all classes (and their packages) which are referenced by my classes."
       
    43 
       
    44     ^ #(
       
    45         #'ctu:dart/compiler'    "Dart::Parser - referenced by Dart::ParserTests>>parse:rule:"
       
    46     )
       
    47 !
       
    48 
       
    49 subProjects
       
    50     "list packages which are known as subprojects.
       
    51      The generated makefile will enter those and make there as well.
       
    52      However: they are not forced to be loaded when a package is loaded;
       
    53      for those, redefine requiredPrerequisites."
       
    54 
       
    55     ^ #(
       
    56     )
       
    57 ! !
       
    58 
       
    59 !ctu_dart_compiler_tests class methodsFor:'description - contents'!
       
    60 
       
    61 classNamesAndAttributes
       
    62     "lists the classes which are to be included in the project.
       
    63      Each entry in the list may be: a single class-name (symbol),
       
    64      or an array-literal consisting of class name and attributes.
       
    65      Attributes are: #autoload or #<os> where os is one of win32, unix,..."
       
    66 
       
    67     ^ #(
       
    68         "<className> or (<className> attributes...) in load order"
       
    69         #'Dart::ParserTests'
       
    70         #'Dart::ScannerTests'
       
    71         #'ctu_dart_compiler_tests'
       
    72     )
       
    73 !
       
    74 
       
    75 extensionMethodNames
       
    76     "list class/selector pairs of extensions.
       
    77      A correponding method with real names must be present in my concrete subclasses"
       
    78 
       
    79     ^ #(
       
    80     )
       
    81 ! !
       
    82 
       
    83 !ctu_dart_compiler_tests class methodsFor:'description - project information'!
       
    84 
       
    85 companyName
       
    86     "Returns a company string which will appear in <lib>.rc.
       
    87      Under win32, this is placed into the dlls file-info"
       
    88 
       
    89     ^ 'My Company'
       
    90 !
       
    91 
       
    92 description
       
    93     "Returns a description string which will appear in nt.def / bc.def"
       
    94 
       
    95     ^ 'Class Library'
       
    96 !
       
    97 
       
    98 legalCopyright
       
    99     "Returns a copyright string which will appear in <lib>.rc.
       
   100      Under win32, this is placed into the dlls file-info"
       
   101 
       
   102     ^ 'My CopyRight or CopyLeft'
       
   103 !
       
   104 
       
   105 productName
       
   106     "Returns a product name which will appear in <lib>.rc.
       
   107      Under win32, this is placed into the dlls file-info.
       
   108      This method is usually redefined in a concrete application definition"
       
   109 
       
   110     ^ 'LibraryName'
       
   111 ! !
       
   112 
       
   113 !ctu_dart_compiler_tests class methodsFor:'documentation'!
       
   114 
       
   115 version_HG
       
   116     ^ '$Changeset: <not expanded> $'
       
   117 ! !
       
   118