Directory Tests/AOP/

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

[root]/Tests/AOP
            Folder removed from repo Builder (0 files, 0 lines)
            Folder removed from repo Fixture (0 files, 0 lines)
            Folder removed from repo Pointcut (0 files, 0 lines)

Lines of Code

Tests/AOP/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 192 (100.0%) 3553 (100.0%) 18.5
robert 63 (32.8%) 2490 (70.1%) 39.5
k-fish 121 (63.0%) 605 (17.0%) 5.0
andi 8 (4.2%) 458 (12.9%) 57.2

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 37 files:

  • Tests/AOP: AbstractMethodInterceptorBuilderTest.php (del), Advice (del), AdvicedConstructorInterceptorBuilderTest.php (del), AdvicedMethodInterceptorBuilderTest.php (del), EmptyConstructorInterceptorBuilderTest.php (del), EmptyMethodInterceptorBuilderTest.php (del), F3_FLOW3_AOP_AbstractMethodInterceptorBuilderTest.php (del), F3_FLOW3_AOP_AdvicedConstructorInterceptorBuilderTest.php (del), F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (del), F3_FLOW3_AOP_EmptyConstructorInterceptorBuilderTest.php (del), F3_FLOW3_AOP_EmptyMethodInterceptorBuilderTest.php (del), F3_FLOW3_AOP_FrameworkTest.php (del), F3_FLOW3_AOP_MockPointcutExpressionParser.php (del), F3_FLOW3_AOP_PointcutClassFilterTest.php (del), F3_FLOW3_AOP_PointcutClassNameFilterTest.php (del), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (del), F3_FLOW3_AOP_PointcutClassTypeFilterTest.php (del), F3_FLOW3_AOP_PointcutConfigurationFilterTest.php (del), F3_FLOW3_AOP_PointcutExpressionParserTest.php (del), F3_FLOW3_AOP_PointcutFilterTest.php (del), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (del), F3_FLOW3_AOP_PointcutMethodTaggedWithFilter.php (del), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (del), F3_FLOW3_AOP_PointcutSettingFilterTest.php (del), F3_FLOW3_AOP_PointcutTest.php (del), F3_FLOW3_AOP_ProxyClassBuilderTest.php (del), FrameworkTest.php (del), PointcutClassNameFilterTest.php (del), PointcutClassTaggedWithFilterTest.php (del), PointcutClassTypeFilterTest.php (del), PointcutExpressionParserTest.php (del), PointcutFilterTest.php (del), PointcutMethodNameFilterTest.php (del), PointcutMethodTaggedWithFilterTest.php (del), PointcutSettingFilterTest.php (del), PointcutTest.php (del), ProxyClassBuilderTest.php (del)
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 1 file:

  • Tests/AOP: FrameworkTest.php (-8)
k-fish 2009-07-02 14:16 Rev.: 2731

[TASK] FLOW3 (Tests): Fixed some issues found while trying PHPUnit 3.4
[TASK] Fluid (Tests): Fixed some issues found while trying PHPUnit 3.4
[TASK] TYPO3CR (Tests): Fixed some issues found while trying PHPUnit 3.4

1 lines of code changed in 1 file:

  • Tests/AOP: FrameworkTest.php (+1 -1)
robert 2009-05-20 12:36 Rev.: 2282

* FLOW3: Renamed a few classes / moved them in the namespaces hierarchy to make naming more consistent. Resolves #2515
* FLOW3: (MVC) Removed the AbstractWidget

10 lines of code changed in 2 files:

  • Tests/AOP: Advice (new), FrameworkTest.php (+10 -10)
robert 2009-04-06 10:48 Rev.: 2144

* FLOW3: (AOP) And here's the updated test for my last commit (sorry ...)

4 lines of code changed in 1 file:

  • Tests/AOP: ProxyClassBuilderTest.php (+4)
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.

3 lines of code changed in 1 file:

  • Tests/AOP: ProxyClassBuilderTest.php (+3 -37)
robert 2009-03-25 00:53 Rev.: 2047

* FLOW3: (AOP) Renamed all occurrences of AOPProxy* to FLOW3_AOP_Proxy_*
* FLOW3: (Persistence) Prefixed names of the methods introduced by the DirtyMonitoringAspect

11 lines of code changed in 3 files:

  • Tests/AOP: AbstractMethodInterceptorBuilderTest.php (+2 -2), AdvicedConstructorInterceptorBuilderTest.php (+5 -5), EmptyConstructorInterceptorBuilderTest.php (+4 -4)
andi 2009-03-10 18:15 Rev.: 1981

FLOW3 (AOP):
* Changed the setting filter to use the '.' as separator.
* Adjusted the documentation accordingly.

11 lines of code changed in 2 files:

  • Tests/AOP: PointcutExpressionParserTest.php (+2 -2), PointcutSettingFilterTest.php (+9 -9)
k-fish 2009-03-02 15:33 Rev.: 1954

FLOW3:
* fixed use of get_class_methods in reflection service and proxy class builder, fixes #2683
* made Router.findMatchResults() protected (was blocked by #2683)

9 lines of code changed in 1 file:

  • Tests/AOP: ProxyClassBuilderTest.php (+9 -2)
k-fish 2009-02-12 15:19 Rev.: 1912

FLOW3:
* __wakeup() is no longer handled in a special way in AOP to support persistence, fixes #1724
* changed the persistence aspect to no longer attach to __wakeup(), refs #1724
* replaced reconstituteObject() by three seperate methods to allow two-step reconstitution, refs #1849

TYPO3CR:
* split initialize() into seperate methods in FLOW3 persistence backend
* the FLOW3 persistence DataMapper now uses two-step reconstitution allowing to load bidirectional object relations
* the FLOW3 persistence DataMapper asks the object Builder to inject setter dependencies during reconstitution, fixes #1849

3 lines of code changed in 2 files:

  • Tests/AOP: AdvicedMethodInterceptorBuilderTest.php (+1 -2), EmptyMethodInterceptorBuilderTest.php (+2 -5)
robert 2009-02-02 14:03 Rev.: 1838

* FLOW3: (Package) Implemented support for multiple package directories and symlinked packages. This will surely break your current installation - some documentation and fixes for the distributions are on the way ...
* FLOW3: !!! Removed the FLOW3_PATH_PACKAGES constant. Please use relative packages within your own package or ask the Package Manager for paths if you need one.
* FLOW3: (Testing) Quick fix for the only-execute-this-testcase-function in the test runner (by Karsten)
* FLOW3: (Resource) Implemented a feature for publishing package-independent resources: Just place any installation specific resources into the /Data/Resources/Public folder. Kind of a "fileadmin" folder for FLOW3.
* FLOW3: (Resource) Resources are not mirrored anymore in CLI context
* FLOW3: Cleaned up a few testcases

2 lines of code changed in 1 file:

  • Tests/AOP: PointcutClassNameFilterTest.php (+2 -2)
k-fish 2009-01-30 22:43 Rev.: 1828

FLOW3:
* fixed use of closure using $this in AOP\FrameworkTest

29 lines of code changed in 1 file:

  • Tests/AOP: FrameworkTest.php (+29 -19)
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

80 lines of code changed in 16 files:

  • Tests/AOP: AbstractMethodInterceptorBuilderTest.php (new 2), AdvicedConstructorInterceptorBuilderTest.php (new 5), AdvicedMethodInterceptorBuilderTest.php (new 2), EmptyConstructorInterceptorBuilderTest.php (new 4), EmptyMethodInterceptorBuilderTest.php (new 5), FrameworkTest.php (new 19), PointcutClassNameFilterTest.php (new 2), PointcutClassTaggedWithFilterTest.php (new), PointcutClassTypeFilterTest.php (new), PointcutExpressionParserTest.php (new 2), PointcutFilterTest.php (new), PointcutMethodNameFilterTest.php (new), PointcutMethodTaggedWithFilterTest.php (new), PointcutSettingFilterTest.php (new 9), PointcutTest.php (new), ProxyClassBuilderTest.php (new 30)
k-fish 2009-01-15 16:06 Rev.: 1749

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

16 lines of code changed in 16 files:

  • Tests/AOP: F3_FLOW3_AOP_AbstractMethodInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_AdvicedConstructorInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_EmptyConstructorInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_EmptyMethodInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_FrameworkTest.php (+1 -1), F3_FLOW3_AOP_PointcutClassNameFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutClassTypeFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+1 -1), F3_FLOW3_AOP_PointcutFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutSettingFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutTest.php (+1 -1), F3_FLOW3_AOP_ProxyClassBuilderTest.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

1934 lines of code changed in 16 files:

  • Tests/AOP: F3_FLOW3_AOP_AbstractMethodInterceptorBuilderTest.php (new 266), F3_FLOW3_AOP_AdvicedConstructorInterceptorBuilderTest.php (new 101), F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+117 -10), F3_FLOW3_AOP_EmptyConstructorInterceptorBuilderTest.php (new 86), F3_FLOW3_AOP_EmptyMethodInterceptorBuilderTest.php (new 124), F3_FLOW3_AOP_FrameworkTest.php (+87 -178), F3_FLOW3_AOP_PointcutClassNameFilterTest.php (new 112), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+14 -25), F3_FLOW3_AOP_PointcutClassTypeFilterTest.php (new 62), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+183 -90), F3_FLOW3_AOP_PointcutFilterTest.php (new 82), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+72 -10), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (+18 -28), F3_FLOW3_AOP_PointcutSettingFilterTest.php (+63 -67), F3_FLOW3_AOP_PointcutTest.php (+45 -159), F3_FLOW3_AOP_ProxyClassBuilderTest.php (new 502)
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!

12 lines of code changed in 10 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_FrameworkTest.php (+1 -1), F3_FLOW3_AOP_MockPointcutExpressionParser.php (+1 -1), F3_FLOW3_AOP_PointcutClassFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+2 -2), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutSettingFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutTest.php (+2 -2)
k-fish 2009-01-08 12:12 Rev.: 1713

FLOW3:
* fixed some more license and style issues.

30 lines of code changed in 4 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+10 -3), F3_FLOW3_AOP_MockPointcutExpressionParser.php (+2 -2), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+8 -1), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+10 -3)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

138 lines of code changed in 10 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+13 -6), F3_FLOW3_AOP_FrameworkTest.php (+14 -7), F3_FLOW3_AOP_MockPointcutExpressionParser.php (+14 -7), F3_FLOW3_AOP_PointcutClassFilterTest.php (+14 -7), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+14 -7), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+14 -8), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+13 -6), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (+14 -7), F3_FLOW3_AOP_PointcutSettingFilterTest.php (+14 -7), F3_FLOW3_AOP_PointcutTest.php (+14 -7)
robert 2008-12-30 14:32 Rev.: 1670

* FLOW3: (Cache) Introduced two new interfaces - for Cache frontends and backends
* FLOW3: (Cache) Fixed an issue with the File Backend: initializeObject() overrode the cacheDirectory setting even if it has been set through setter injection
* FLOW3: (Object) The property / argument type "reference" has been renamed to "object" (see also updated documentation)
* FLOW3: (Object) The object configuration option "constructorArguments" has been renamed to "arguments"
* FLOW3: (Object) In the code "Constructor Arguments" are now referred to simply as "Arguments"
* FLOW3: (Object) Implemented support for custom factories. Resolves #2110
* FLOW3: (Object) Implemented support for specifying arguments / properties for objects which are injected. Resolves #2109
* FLOW3: (Resource) Added the file_exists() check again to the Class Loader. Ommitting the check resulted in hard-to-track error messages
* FLOW3: (Documentation) Updated the documentation. Still missing: custom factories and syntax of feature #2109
* FLOW3: (TestPackage) Adopted and cleaned up the Object related tests

2 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+2 -2)
andi 2008-12-23 17:20 Rev.: 1667

FLOW3 (AOP):
* Renamed the ConfigurationFilter to SettingFilter
* Implemented conditions. Resolves #2365.
* Adjusted the documentation.

210 lines of code changed in 2 files:

  • Tests/AOP: F3_FLOW3_AOP_PointcutExpressionParserTest.php (+21 -16), F3_FLOW3_AOP_PointcutSettingFilterTest.php (new 189)
andi 2008-12-19 18:36 Rev.: 1663

FLOW3 (AOP):
* Implemented the after advice. Resolves #46.

49 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+49)
andi 2008-12-19 14:42 Rev.: 1662

FLOW3 (AOP):
* Implemented new pointcut designator configuration(). Resolves #1528.
* Added missing suffix "Test" to a test class.

188 lines of code changed in 3 files:

  • Tests/AOP: F3_FLOW3_AOP_PointcutConfigurationFilterTest.php (new 102), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+16), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (new 70)
robert 2008-12-16 17:52 Rev.: 1645

* FLOW3: (AOP) Modified the AOP proxy class blacklist so that MVC classes can be proxied by aspects
* FLOW3: (Event) Initial commit of a (yet dummy) Signal Aspect. This is work in progress.
* FLOW3: (Log) Reimplemented the Log subpackage. Now it is cleanly divided into frontend and backend and comes with proper unit tests. Further development will follow soon.
* FLOW3: (MVC) Added a sample signal implementation to the MVC Router route() method.
* FLOW3: (Reflection) Fixed a bug in getDefaultImplementationClassNameForInterface() which sometimes used an invalid array key.
* FLOW3: (Cache) Added a test for the Abstract Backend constructor

70 lines of code changed in 2 files:

  • Tests/AOP: F3_FLOW3_AOP_PointcutMethodTaggedWithFilter.php (new 70), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (del)
robert 2008-12-15 16:53 Rev.: 1634

* FLOW3: (AOP) Implemented new pointcut designator methodTaggedWith(). Resolves #2138

82 lines of code changed in 2 files:

  • Tests/AOP: F3_FLOW3_AOP_PointcutExpressionParserTest.php (+12), F3_FLOW3_AOP_PointcutMethodTaggedWithFilterTest.php (new 70)
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

138 lines of code changed in 8 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+5 -5), F3_FLOW3_AOP_FrameworkTest.php (+25 -26), F3_FLOW3_AOP_MockPointcutExpressionParser.php (+3 -3), F3_FLOW3_AOP_PointcutClassFilterTest.php (+18 -18), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+9 -9), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+29 -29), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+5 -5), F3_FLOW3_AOP_PointcutTest.php (+44 -44)
robert 2008-11-11 12:16 Rev.: 1481

* FLOW3: (Component) Renamed "component" to "object" - everywhere. That means we now have an Object Manager instead of a Component Manager, an Object Factory etc. Resolves #2119

Globally adjusted all code for the above change.

36 lines of code changed in 4 files:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+27 -27), F3_FLOW3_AOP_MockPointcutExpressionParser.php (+4 -4), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+3 -3), F3_FLOW3_AOP_PointcutTest.php (+2 -2)
robert 2008-11-03 19:23 Rev.: 1422

* FLOW3: (Component) Renamed the method Component::Factory->getComponent() to Component::Factory->create(). Resolves #1846
* FLOW3: (Component) Component::Factory->create() will now throw an exception on trying to create a component of scope != prototype
* FLOW3: (Component) The Component::Manager->getComponent() method can still be used as a last resort to retrieve components of any scope. However dependency injection for singletons and the component factory for prototype should always be the first choice!

Refactored all packages of the TYPO3 distribution to match the above changes.

Note: The test "F3::TYPO3CR::NodeTest::setPropertySetsValue" currently fails on my machine with the following message:

Error in setPropertySetsValue with data set #34 Detail
TYPO3CR/Classes/F3_TYPO3CR_Node.php:577
Unable to convert value of type string to Name: Namespace prefix is invalid

23 lines of code changed in 3 files:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+19 -18), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+3 -3), F3_FLOW3_AOP_PointcutTest.php (+1 -1)
k-fish 2008-09-16 11:55 Rev.: 1225

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

35 lines of code changed in 5 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+1 -1), F3_FLOW3_AOP_PointcutClassFilterTest.php (+8 -8), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+3 -3), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+1 -1), F3_FLOW3_AOP_PointcutTest.php (+22 -22)
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

138 lines of code changed in 8 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+5 -4), F3_FLOW3_AOP_FrameworkTest.php (+25 -24), F3_FLOW3_AOP_MockPointcutExpressionParser.php (+3 -2), F3_FLOW3_AOP_PointcutClassFilterTest.php (+18 -17), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (+9 -8), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+29 -28), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+5 -4), F3_FLOW3_AOP_PointcutTest.php (+44 -43)
k-fish 2008-09-01 14:40 Rev.: 1162

FLOW3: fixed an error caused by a missing variable in a testcase.

1 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+1)
k-fish 2008-08-15 17:00 Rev.: 1141

Summary: the persistence layer now handles updates to objects...

FLOW3:
* Advice on __wakeup() is now taken into account, despite the special handling of __wakeup and even if it does not exist in target class
* Reflection_FakeConstructor is now Reflection_FakeMethod - it was needed for __wakeup() as well
* The reflection service has it's cache primed earlier in the FLOW3 bootstrap now, to allow building of class schemata during cached runs
* The persistence subpackage now has advice for registering clean object state after reconstitution and advice implementing dirty checking on an object
* The persistence manager hands over updated objects to the persistence backend

TYPO3CR:
* Multi-valued properties are now stored in their own table and no longer as serialized value - thanks to Matthias H?rmann!
* Objects reconstituted for the FLOW3 persistence layer are registered with the (new) identity map
* The FLOW3 persistence backend has been renamed and handles updates to existing objects now

TestPackage:
* Added AfterNonExistingWakeupAspect and EmptyClass for new afterReturningAdviceOnWakeupWorksEvenIfTargetClassHasNoWakeup() test in FLOW3

16 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+16 -1)
k-fish 2008-08-14 14:15 Rev.: 1139

FLOW3:
* Advice on non-existing constructors is now taken into account, fixes #1257
* AOP only now recognizes __construct() as constructor, no more PHP4-style classname constructors
* some cleanup to comments and whitespace

TestPackage:
* "fixed" some pointcut expressions in GetSomeChinesePropertyAspect
* added AfterNonExistingConstructorAspect for new afterReturningAdviceOnConstructorWorksEvenIfTargetClassHasNoConstructor() test in FLOW3

12 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+12)
robert 2008-07-22 10:46 Rev.: 1047

!!! Important global change !!!

Extracted the getComponent() method from the Component Manager into its own class, the Component Factory. From now on, use the factory if you only need the getComponent() functionality and use the manager if you need the more advanced functions.

18 lines of code changed in 3 files:

  • Tests/AOP: F3_FLOW3_AOP_FrameworkTest.php (+14 -14), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+3 -3), F3_FLOW3_AOP_PointcutTest.php (+1 -1)
robert 2008-07-15 16:45 Rev.: 1010

* FLOW3: (AOP) Added a new pointcut designator: filter() allows for creating custom pointcut filters (see FLOW3 manual). Resolves #889

84 lines of code changed in 2 files:

  • Tests/AOP: F3_FLOW3_AOP_MockPointcutExpressionParser.php (new 44), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+40 -3)
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.

131 lines of code changed in 6 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (+5 -5), F3_FLOW3_AOP_PointcutClassFilterTest.php (+8 -8), F3_FLOW3_AOP_PointcutClassTaggedWithFilterTest.php (new 69), F3_FLOW3_AOP_PointcutExpressionParserTest.php (+23 -11), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (+4 -4), F3_FLOW3_AOP_PointcutTest.php (+22 -22)
k-fish 2008-05-29 21:52 Rev.: 881

FLOW3, PHPCR:
* Heavy updates to the inline documentation, eliminating all phpDocumentor warnings for the FLOW3 package

26 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_PointcutClassFilterTest.php (+26 -19)
k-fish 2008-05-17 16:32 Rev.: 844

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

1 lines of code changed in 1 file:

  • Tests/AOP: F3_FLOW3_AOP_PointcutTest.php (+1 -1)
k-fish 2008-05-10 16:43 Rev.: 831

Pending commit, fixes #477.

0 lines of code changed in 12 files:

  • Tests/AOP: F3_FLOW3_AOP_AdvicedMethodInterceptorBuilderTest.php (new), F3_FLOW3_AOP_FrameworkTest.php (new), F3_FLOW3_AOP_PointcutClassFilterTest.php (new), F3_FLOW3_AOP_PointcutExpressionParserTest.php (new), F3_FLOW3_AOP_PointcutMethodNameFilterTest.php (new), F3_FLOW3_AOP_PointcutTest.php (new)
Generated by StatSVN 0.5.0