Directory Tests/Reflection/

Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
14
Lines of Code:
0

[root]/Tests/Reflection
            Folder removed from repo Fixture (0 files, 0 lines)
                Folder removed from repo Model (0 files, 0 lines)

Lines of Code

Tests/Reflection/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 98 (100.0%) 2123 (100.0%) 21.6
robert 25 (25.5%) 956 (45.0%) 38.2
k-fish 68 (69.4%) 930 (43.8%) 13.6
sebastian 4 (4.1%) 213 (10.0%) 53.2
andi 1 (1.0%) 24 (1.1%) 24.0

Most Recent Commits

k-fish 2010-08-24 10:42 Rev.: 5057

Removed everything in trunk after move to git.

0 lines of code changed in 14 files:

  • Tests/Reflection: ClassSchemaTest.php (del), ClassTest.php (del), F3_FLOW3_Reflection_ClassFactoryTest.php (del), F3_FLOW3_Reflection_ClassTest.php (del), F3_FLOW3_Reflection_MethodTest.php (del), F3_FLOW3_Reflection_ObjectAccessTest.php (del), F3_FLOW3_Reflection_ParameterTest.php (del), F3_FLOW3_Reflection_PropertyTest.php (del), F3_FLOW3_Reflection_ServiceTest.php (del), MethodTest.php (del), ObjectAccessTest.php (del), ParameterTest.php (del), PropertyTest.php (del), ServiceTest.php (del)
sebastian 2009-10-07 08:41 Rev.: 3296

[+TASK] FLOW3 (Reflection): Added a new helper method in ObjectAccess which can traverse object graphs (with the "."-Syntax)
[+TASK] Fluid (ViewHelpers): Refactored the generation of the hidden identity field.
[+FEATURE] Fluid (ViewHelpers): properties of nested objects are now correctly outputted, and the identity fields for the nested objects are generated as well. Related to #4218.

17 lines of code changed in 1 file:

  • Tests/Reflection: ObjectAccessTest.php (+17 -1)
k-fish 2009-09-16 13:23 Rev.: 3185

[~TASK] FLOW3 (Reflection): Adjusted tests to changed reflection service...

25 lines of code changed in 1 file:

  • Tests/Reflection: ServiceTest.php (+25 -49)
k-fish 2009-07-20 16:52 Rev.: 2836

[+FEATURE] FLOW3 (Reflection): Class schemata now contain information about requested element types for collection-like properties, use @var type<elementType> annotations. Relates to #3933.

79 lines of code changed in 2 files:

  • Tests/Reflection: ClassSchemaTest.php (+72 -2), ServiceTest.php (+7 -26)
k-fish 2009-07-20 12:36 Rev.: 2835

[~TASK] FLOW3: moved class schema handling from Persistence to Reflection, resolves #3934.

299 lines of code changed in 2 files:

  • Tests/Reflection: ClassSchemaTest.php (new 106), ServiceTest.php (+193)
k-fish 2009-07-16 15:02 Rev.: 2813

[+TASK] FLOW3: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Fluid: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Kickstart: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHP6: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] PHPUnit: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Testing: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] Welcome: Removed file level docblocks and @package/@subpackage annotations.
[+TASK] YAML: Removed file level docblocks and @package/@subpackage annotations.

0 lines of code changed in 6 files:

  • Tests/Reflection: ClassTest.php (-8), MethodTest.php (-8), ObjectAccessTest.php (-8), ParameterTest.php (-8), PropertyTest.php (-8), ServiceTest.php (-8)
andi 2009-07-09 12:41 Rev.: 2759

[+API] FLOW3 (Object): Added a new method getObjectNameByClassName() to retrieve the object name by a given class name.
[~TASK] FLOW3 (Reflection): setValue() in a property reflection is now able to set private properties.
[+TASK] FLOW3 (Core): Prepared the bootstrap for the upcoming session scope.
[+FEATURE] FLOW3 (Object): Implemented the first part of the new session registry, which is the foundation of the upcoming session scope.

24 lines of code changed in 1 file:

  • Tests/Reflection: PropertyTest.php (+24)
robert 2009-04-03 16:04 Rev.: 2123

* FLOW3: (Object) The Object Builder now throws an exception if no default implementation for an object type could be found and an instance of this object type should be built.
* FLOW3: (Object) Introduced a new marker interface "ProxyInterface" which must be implemented by all proxy classes.
* FLOW3: (Reflection) Made the getDefaultImplementationClassNameOfInterface() aware of proxyies: If exactly two classes implement an interface and one of them implements the Proxy marker interface, the name of this class is returned. Fixes #3027

38 lines of code changed in 1 file:

  • Tests/Reflection: ServiceTest.php (+38)
robert 2009-04-02 16:40 Rev.: 2122

This commit mostly consists of speed optimizations.

* FLOW3: (AOP) Fixed a few pointcut filters which crashed while trying to match against an automatically created constructor which didn't existing originally in the target class.
* FLOW3: (AOP) The ProxyClassBuilder won't add a __wakeup() method to each proxy class anymore. Instead such a method must be introduced manually.
* FLOW3: (Object) Removed the check for abstract classes in the Object Manager's registerObject() method. It's still not allowed to do that but omitting the check means less use of reflection = more speed and PHP will complain about the abstract class anyway.
* FLOW3: (Object) Optimized the use of the reflection service in the Object Manager's registerObject() method.* FLOW3: (Cache) The FileBackend now logs if entries are set instead of removed. Still not the final solution (for logging in general that is)
* FLOW3: (Object) Optimized the instantiation of classes in the ObejctBuilder: The use of ReflectionClass::newInstanceArgs() is now avoided in most cases
* FLOW3: (Object) !!! changed the name of the autowiring setting: it is now "autowiring" instead of "autoWiringMode"
* FLOW3: (Reflection) Optimized the caching of reflection data: All classes which were reflected after the cache has been loaded will be added to the cache during shutdown. Therefore they will be available earlier on the next script run.
* FLOW3: (Reflection) The reflection service now logs important actions for debugging.
* FLOW3: (Log) Enabled the Production log by default (see .../Data/Logs/FLOW3_Production.log)
* FLOW3: Switched autowiring off for a few objects which are loaded at a time when the Reflection Service is not yet initialized and therefore costy to use.

83 lines of code changed in 1 file:

  • Tests/Reflection: ServiceTest.php (+83 -29)
sebastian 2009-03-24 15:01 Rev.: 2036

FLOW3:
* Validation: Rewrote the ValidatorResolver, and removed the NoValidatorFound exception
* Reflection: when calling Reflection\Service->getMethodParameters(), a "type" is returned, taken from the PHPDoc comment above
* MVC: Controller\ActionController: Refactored to use the new ReflectionService

3 lines of code changed in 1 file:

  • Tests/Reflection: ServiceTest.php (+3 -3)
robert 2009-03-12 10:07 Rev.: 1987

This is a commit of work in progress. If you're already using FLOW3 (semi-) productively, you better skip this version because the MVC framework currently lacks validation and might lead to some other unexpected behavior. OTOH the code seems to be quite stable, so nothing to really worry about. More code related to the MVC framework and especially validation will follow soon, I just had to get rid of all these changes ...

* FLOW3: (Persistence) Made sure that the object name "...\Persistence\ManagerInterface" is used everywhere instead of "...\Persistence\Manager".
* FLOW3: (Error) Annotated the "Error" and "Warning" class as prototype and renamed *ErrorMessage() and *ErrorCode() to *Message() and *Code().
* FLOW3: (MVC) Fixed and re-enabled tests of the Abstract Controller
* FLOW3: (MVC) !!! Started rewriting the argument mapping mechanism. It should work but be aware that NO VALIDATION and NO FILTERING is active at the moment!
* FLOW3: (MVC) The automatic argument registration in the Action Controller now detects optional arguments and registers them as such.
* FLOW3: (MVC) Cleaned up the Argument(s) classes and implemented an early version of identity support in setValue()
* FLOW3: (MVC) Added initial implementation of identity support for the resolve() method of a DynamicRoutePart. I'll give more information on this topic as soon as it's completely implemented.
* FLOW3: (MVC) Removed the emit* method in the router and replaced it by a call to the System Logger: Now the log contains an entry stating which route has been chosen.
* FLOW3: (Persistence) In the ClassSchema renamed the (is)RepositoryManaged property and methods to (is)AggregateRoot.
* FLOW3: (Persistence) Added safeguard to the Persistence\Manager::getClassSchema() method
* FLOW3: (Property / MVC) For now, completely removed the concept of Property Converters!
* FLOW3: (Property) Started reimplementing the Property Mapper. Most of the old functionality has been removed but much of it will return soon.
* FLOW3: (Reflection) Changed the order of access method detection in the ObjectAccess class. Any other order causes proplems in the MVC mechanism. If a property could not be accessed, now NULL is returned (instead of throwing an exception)
* FLOW3: (Validation) Moved the AbstractValidator and Validation interfaces to the Validator sub package

* Fluid: (ViewHelpers) Added support for an "arguments" attribute in the FormViewHelper which allows for specifying arguments for the action URI.

15 lines of code changed in 1 file:

  • Tests/Reflection: ObjectAccessTest.php (+15 -47)
robert 2009-01-28 13:04 Rev.: 1811

!!! Globally renamed all class files to the new shorter version. Resolves #2524
FLOW3: (Resource) Adapted the class loader and other related parts of FLOW3 to the new class filename convention
FLOW3: Moved the FLOW3 bootstrap into the F3\FLOW3 namepace

100 lines of code changed in 6 files:

  • Tests/Reflection: ClassTest.php (new 8), MethodTest.php (new 8), ObjectAccessTest.php (new 47), ParameterTest.php (new 8), PropertyTest.php (new), ServiceTest.php (new 29)
k-fish 2009-01-27 16:53 Rev.: 1803

FLOW3:
* moved and renamed cache frontend classes and interfaces, refs #2515

23 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+23 -23)
k-fish 2009-01-15 16:06 Rev.: 1749

FLOW3:
* fixed license name in @license annotation, fixes #2454

6 lines of code changed in 6 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+1 -1), F3_FLOW3_Reflection_MethodTest.php (+1 -1), F3_FLOW3_Reflection_ObjectAccessTest.php (+1 -1), F3_FLOW3_Reflection_ParameterTest.php (+1 -1), F3_FLOW3_Reflection_PropertyTest.php (+1 -1), F3_FLOW3_Reflection_ServiceTest.php (+1 -1)
robert 2009-01-15 15:24 Rev.: 1747

This is a big commit (sorry - not exactly Continuous Integration ...)
While all seems to be fine and stable, many features introduced in this commit are not complete. Especially AOP Proxy Caching, Logging (API), the System Logger and the Signal Slots mechanism need some further work.

* TYPO3 Distribution: Added a Log directory
* TYPO3 Distribution: Disabled security (for now) because some thing need to be refactored and tested again after this commit
* FLOW3: Further cleanup of the bootstrap. Addresses #2117
* FLOW3: Removed manual registration of objects from all classes and created an Objects.yaml configuration instead which declares the objects and configures their dependencies. This manual registration is necessary for objects such as the AOP Framework because at the time it is created, the Object Manager is not yet fully initialized.
* FLOW3: (AOP) Refactored and cleaned up the AOP initialization process. Resolves #441.
* FLOW3: (AOP) Completely rewrote all unit tests and added many new ones. Now no AOP test relies on the TestPackage anymore. Addresses #1868
* FLOW3: (AOP) Improved the automatic documentation rendering of the Proxy Class Builder. Resolves #35.
* FLOW3: (AOP) Externalized the creation of the AOP proxy and instead use the Caches.yaml configuration.
* FLOW3: (AOP) Removed all use of PHP's Reflection classes and replaced them with calls to the Reflection Service
* FLOW3: (AOP) Converted all classes involved in the proxy building process from static into dynamic calls
* FLOW3: (Cache) Introduced an (semi) automatic cache registration feature which assures that all necessary caches are registered when file changes are detected. In order to register a cache, just define it in the new "Caches.yaml" configuration file. See the FLOW3 package for examples. Resolves #1787
* FLOW3: (Cache) Wrote more tests for the File Backend. Resolves #1843
* FLOW3: (Configuration) Improved the performance of the special configuration management
* FLOW3: (Configuration) Added support for Caches.* configuration
* FLOW3: (Error) The exception handlers now log uncaught exceptions to the System Logger
* FLOW3: (Monitor) Introduced a new sub package "Monitor" which provides a mechanism for automatic detection of changes on monitored files. If monitored files or directories (the latter not yet implemented) change, a signal is emitted which can be catched by a slot taking further action. Currently all cache entries tagged with a class tag are flushed automatically if a class file changes.
* FLOW3: (Log) Introduced a special System Logger which is created automatically and can be injected if needed. Although it works quite well already, the general concept of injecting the logger and the LoggerInterface itself is not final! Watch for log files in the Data/Log/ directory when running TYPO3 / FLOW3 in development context.
* FLOW3: (Log) Introduced a Logger Factory for use in Objects configuration. Warning: the API might still change
* FLOW3: (Log) Made the SEVERITY constants conform to RFC3164 and PHP's LOG_* constants
* FLOW3: (Object) Refactored and detached more unit tests from the TestPackage. Addresses #2123
* FLOW3: (Object) Implemented an early configuration parse step which allows for configuring objects in the Objects.yaml file of the FLOW3 package even before the Package Manager is initialized.
* FLOW3: (Object) Introduced a lifecycle shutdown method (default is "shutdownObject") which can be used as a clean alternative to __destruct().
* FLOW3: (Reflection) Added new API methods: isClassReflected, getInterfaceNamesImplementedByClass, isMethodFinal, isMethodStatic, isMethodPublic, isMethodProtected, isMethodPrivate
* FLOW3: (Reflection) getMethods() now returns information about the method visibility
* FLOW3: (Security) Refactored the ACL Policy Service - might still need some final work
* FLOW3: (SignalSlot) Fixed some small issues in the Dispatcher and implemented support for System Logger
* FLOW3: (Utility) Fixed a bug in Arrays::getValueByPath
* Testing: Implemented a method buildAccessibleProxy() in the BaseTestCase which allows for conveniently calling protected methods of a class. See FLOW3 unit tests for examples.
* TestPackage: Removed many classes which became obsolete due to the AOP tests refactoring. refs #1868

16 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+16)
k-fish 2009-01-09 16:39 Rev.: 1723

FLOW3, Lucene, PHP6, PHPCR, Smarty, Testing, TYPO3, TYPO3CR, TypoScript:
* fixed broken @version $Id$ annotations that got hosed during new namespace refactoring. Sorry!

5 lines of code changed in 5 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+1 -1), F3_FLOW3_Reflection_MethodTest.php (+1 -1), F3_FLOW3_Reflection_ObjectAccessTest.php (+1 -1), F3_FLOW3_Reflection_ParameterTest.php (+1 -1), F3_FLOW3_Reflection_PropertyTest.php (+1 -1)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

84 lines of code changed in 6 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+14 -7), F3_FLOW3_Reflection_MethodTest.php (+14 -7), F3_FLOW3_Reflection_ObjectAccessTest.php (+14 -7), F3_FLOW3_Reflection_ParameterTest.php (+14 -7), F3_FLOW3_Reflection_PropertyTest.php (+14 -7), F3_FLOW3_Reflection_ServiceTest.php (+14 -7)
k-fish 2009-01-06 16:08 Rev.: 1704

FLOW3:
* yet another fix to ObjectAccess vs. ArrayObject handling
* renamed getAllProperties to getAccessibleProperties()

2 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ObjectAccessTest.php (+2 -2)
k-fish 2009-01-06 12:47 Rev.: 1699

FLOW3:
* variable and method name adjustments
* some code adjustments in ObjectAccess
* some style fixes removing colons, whitespace, ...
* setting svn:keywords property on two files

19 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ObjectAccessTest.php (+19 -18)
sebastian 2009-01-06 00:02 Rev.: 1697

FLOW3:
* (Reflection): Added ArrayAccess handling in ObjectAccess
* (Property): Extended Property Mapper so it can map arbitary objects to other arbitary objects

20 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ObjectAccessTest.php (+20)
sebastian 2009-01-05 21:03 Rev.: 1695

FLOW3:
* (Reflection): Added generic ObjectAccessor Helper
* (Reflection): Extended DocCommentParser so you can get the DocComment as well

173 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ObjectAccessTest.php (new 173)
k-fish 2008-12-10 15:39 Rev.: 1599

!!! 5.3.0alpha3 namespaces refactoring:
* changed namespace delimiter from :: to \
* all class references in namespaced code prepended by \

PHPUnit:
* adapted mock object handling to the new namespaces syntax

FLOW3:
* PropertyReflection now uses setAccessible() instead of array cast to access protected properties

PHPCR:
* added a missing interface already used for type hints

163 lines of code changed in 5 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+18 -18), F3_FLOW3_Reflection_MethodTest.php (+7 -7), F3_FLOW3_Reflection_ParameterTest.php (+8 -8), F3_FLOW3_Reflection_PropertyTest.php (+11 -15), F3_FLOW3_Reflection_ServiceTest.php (+119 -119)
robert 2008-12-10 11:35 Rev.: 1595

* FLOW3: Added a dedicated initialization method for Reflection in the FLOW3 bootstrap
* FLOW3: (Cache) Optimized the findCacheFilesByIdentifier() method. Speed gain: 300% for the Default View, even more if more caching is used.
* FLOW3: (Package) Fixed yet some more type hints (::SimpleXMLElement)
* FLOW3: (Reflection) Added "allowsNull" to the Parameter information array
* Testing: (Model) Applied necessary changes to match the new bootstrap

4 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+4 -4)
robert 2008-12-09 20:33 Rev.: 1590

* Fixed several global typehints (eg. DateTime > ::DateTime)
* Removed / fixed non existent classes used in some typehints
* FLOW3: (Object) Optimized the setter autowiring method: It now uses the Reflection Service instead of its own reflection
* FLOW3: (Reflection) Implemented a new API method "getMethodParameters"
* FLOW3: (MVC) Fixed a few Dispatcher tests which were not providing proper mock objects (and now exploded)
* PHPCR: Fixed type hinting in QueryObjectModelFactoryInterface::join()

23 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+23)
robert 2008-12-09 10:10 Rev.: 1582

Note: Although this commit contains the new File/Class Alteration Monitoring which is supposed to speed up FLOW3, a lot of speed optimizations are still missing and will follow during the next days.

* FLOW3: Started cleaning up the bootstrap. Addresses #2117
* FLOW3: Implemented a first version of a Class Alteration Monitoring which automatically flushes cache entries based on class reflection. Addresses #2284
* FLOW3: (Reflection) Refactored the Reflection Service so that information for one class can be flushed / rebuild individually instead of having to rebuild the whole reflection information. Resolves #2284
* FLOW3: (Cache) Fixed the *byTag() methods in the File Backend: If cache entry identifiers contained an underscore "_", the findByTag etc. didn't work any more. Now using "-" as an internal separator.
* FLOW3: (Utility) The temporary directory base is now set via a setter method instead of passing the whole FLOW3 settings to the constructor
* Testing: Adjusted the test runner to reflect the new bootstrap initialization methods

22 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+22 -3)
k-fish 2008-09-23 15:05 Rev.: 1276

FLOW3:
* added two more tests for the ReflectionService to make sure a spurious error isn't caused there. It's not.

33 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+33)
k-fish 2008-09-18 14:12 Rev.: 1247

FLOW3:
* Repositories no longer need to be tagged with @repository, implementing the repository interface is enough
* the reflection service now provides isClassImplementationOf() to check if a class

Blog, TYPO3:
* removed @repository annotations

15 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+15)
k-fish 2008-09-16 11:55 Rev.: 1225

FLOW3: Renamed some classes in the Reflection subpackage, fixes #1523.

28 lines of code changed in 4 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+15 -15), F3_FLOW3_Reflection_MethodTest.php (+4 -4), F3_FLOW3_Reflection_ParameterTest.php (+4 -4), F3_FLOW3_Reflection_PropertyTest.php (+5 -5)
k-fish 2008-09-12 16:07 Rev.: 1210

!!! Major change, will break existing code.

Part 3 - Packages

FLOW3, most other packages:
* added namespaces to the code of FLOW3 and all packages in the current TYPO3v5 distribution.

PHPUnit:
* some changes to make PHPUnit (more) namespace-compatible.

Some notes:
* Documentation updates will follow
* you might need to change your class names when adapting namespaces to avoid using "Class", "Empty", "Default", ...
* expect FLOW3CGL and/or PHPCodeSniffer to be broken (I'll have a look)
* some parts might still be broken, especially in edge-cases where the global namespace needs to explicitly used

137 lines of code changed in 6 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassFactoryTest.php (+11 -10), F3_FLOW3_Reflection_ClassTest.php (+18 -17), F3_FLOW3_Reflection_MethodTest.php (+7 -6), F3_FLOW3_Reflection_ParameterTest.php (+8 -7), F3_FLOW3_Reflection_PropertyTest.php (+10 -9), F3_FLOW3_Reflection_ServiceTest.php (+83 -82)
robert 2008-07-08 11:12 Rev.: 1000

* FLOW3: (AOP) Prefixed names of all internal proxy class methods with "AOPProxy" in order to prevent namespace conflicts with existing methods of the target class.
* FLOW3: (Persistence) Extended the interface for a persistence backend
* FLOW3: (Persistence) Initial implementation of the persistAll() method and further development of the Unit of Work (Session)
* FLOW3: (Persistence) Initial implementation of the Dirty Monitoring Aspect. Make sure to clear your caches (AOP especially)
* FLOW3: (Reflection) Added new method getPropertyNamesByTag to the reflection service
* FLOW3: ()

17 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+17)
robert 2008-06-26 17:21 Rev.: 977

* FLOW3: (Persistence) Speed up of the persistence manager / class schema builder: It now uses the new reflection service instead of ReflectionClass
* FLOW3: (Reflection) Added two new methods to the Reflection Service

35 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+35 -1)
robert 2008-06-20 20:46 Rev.: 960

* FLOW3: (Configuration) Fixed a fatal bug which ocurred in the configuration cascade when the container tried to override an existing array with a container. See test mergeDoesNotTryToMergeAContainerWithAnArray()
* FLOW3: (Cache) Added a check into the Memcached backend constructor which asserts that the Memcached PHP extension is loaded.
* FLOW3: (Reflection) Optimized the caching of the reflection service.

45 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+45 -12)
robert 2008-06-20 15:32 Rev.: 959

Further implementaion of the new Reflection Service and integration into the AOP proxy building process and the component manager. Note that reflection information is now cached even in development mode (you can disable it through the FLOW3.php configuration file). In practice that means that annotations and new classes (or removed classes) will only be recognized by FLOW3 if you flush the cache (currently manually by delteing the FLOW3 directories in /tmp).

Speed gain for the default view: 350%.

162 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (+162 -2)
robert 2008-06-19 13:12 Rev.: 952

* FLOW3: (Reflection) Added tests for the Reflection Service.

119 lines of code changed in 1 file:

  • Tests/Reflection: F3_FLOW3_Reflection_ServiceTest.php (new 119)
robert 2008-06-19 12:42 Rev.: 951

* FLOW3: (AOP) Optimized the proxy class builder - replaced method calls by static calls.
* FLOW3: (AOP) Removed the IntroductionInterface
* FLOW3: (Component) Removed unused arguments in some methods of the component manager
* FLOW3: (Reflection) Implemented the initial parts of the new Reflection Service and moved the getDefaultImplementation* methods from the component manager to this service.
* FLOW3: (MVC) The available reqeuest handler resolvers are not detected automatically anymore but must be configured in the FLOW3.php configuration. The Web and CLI request handler resolver are registered by default.

97 lines of code changed in 2 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassFactoryTest.php (new 85), F3_FLOW3_Reflection_ClassTest.php (+12)
robert 2008-06-06 13:28 Rev.: 915

* FLOW3: (Reflection) Added more tests for FLOW3's reflection subpackage which now covers the whole functionality. Added reflection support for Parameter.

See also r913.

111 lines of code changed in 3 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+41 -1), F3_FLOW3_Reflection_MethodTest.php (+13 -1), F3_FLOW3_Reflection_ParameterTest.php (new 57)
robert 2008-06-04 12:47 Rev.: 903

* FLOW3: (AOP) Added support for a new pointcut designator which allows to filter for matching annotations. This designator is called "classTaggedWith()". Resolves #47.
* FLOW3: (Documentation) Added documentation for the above pointcut designator.
* FLOW3: (Reflection) FLOW3's Reflection Class and Reflection Method implementation did not always return reflection objects of their own kinds if asked for getDeclaringClass() etc. - added some tests and support for that.
* FLOW3: (AOP) Refactored the pointcut filtering for making the classTaggedWith() filter possible.

69 lines of code changed in 2 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+21), F3_FLOW3_Reflection_MethodTest.php (new 48)
k-fish 2008-05-17 16:32 Rev.: 844

Making FLOW3 run green(er) in FLOW3CGL, part 1.

12 lines of code changed in 2 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (+3), F3_FLOW3_Reflection_PropertyTest.php (+9)
k-fish 2008-05-10 16:43 Rev.: 831

Pending commit, fixes #477.

0 lines of code changed in 4 files:

  • Tests/Reflection: F3_FLOW3_Reflection_ClassTest.php (new), F3_FLOW3_Reflection_PropertyTest.php (-1)
Generated by StatSVN 0.5.0