Directory Tests/Cache/

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

[root]/Tests/Cache
            Folder removed from repo Backend (0 files, 0 lines)
            Folder removed from repo Frontend (0 files, 0 lines)

Lines of Code

Tests/Cache/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 110 (100.0%) 1142 (100.0%) 10.3
k-fish 88 (80.0%) 847 (74.2%) 9.6
robert 22 (20.0%) 295 (25.8%) 13.4

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

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (del), F3_FLOW3_Cache_AbstractCacheTest.php (del), F3_FLOW3_Cache_Backend_FileTest.php (del), F3_FLOW3_Cache_Backend_MemcachedTest.php (del), F3_FLOW3_Cache_FactoryTest.php (del), F3_FLOW3_Cache_ManagerTest.php (del), F3_FLOW3_Cache_MockBackend.php (del), F3_FLOW3_Cache_StringCacheTest.php (del), F3_FLOW3_Cache_VariableCacheTest.php (del), FactoryTest.php (del), ManagerTest.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 2 files:

  • Tests/Cache: FactoryTest.php (-8), ManagerTest.php (-8)
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

16 lines of code changed in 2 files:

  • Tests/Cache: FactoryTest.php (new 8), ManagerTest.php (new 8)
k-fish 2009-01-27 16:53 Rev.: 1803

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

24 lines of code changed in 2 files:

  • Tests/Cache: F3_FLOW3_Cache_FactoryTest.php (+11 -11), F3_FLOW3_Cache_ManagerTest.php (+13 -13)
k-fish 2009-01-27 14:29 Rev.: 1802

FLOW3 (Cache):
* removed wildcard support (from documentation) in getByTag() and findIdentifierByTag()
* moved some methods, constants and checks to better-fitting places

fixes #1844, refs #1843

136 lines of code changed in 3 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+68), F3_FLOW3_Cache_StringCacheTest.php (+34), F3_FLOW3_Cache_VariableCacheTest.php (+34)
k-fish 2009-01-26 21:57 Rev.: 1797

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

Widget:
* adjusted one reference to Cache\Backend\File to the new name

39 lines of code changed in 5 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+6 -6), F3_FLOW3_Cache_FactoryTest.php (+10 -10), F3_FLOW3_Cache_ManagerTest.php (+9 -9), F3_FLOW3_Cache_StringCacheTest.php (+6 -6), F3_FLOW3_Cache_VariableCacheTest.php (+8 -8)
k-fish 2009-01-15 16:06 Rev.: 1749

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

7 lines of code changed in 7 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+1 -1), F3_FLOW3_Cache_AbstractCacheTest.php (+1 -1), F3_FLOW3_Cache_FactoryTest.php (+1 -1), F3_FLOW3_Cache_ManagerTest.php (+1 -1), F3_FLOW3_Cache_MockBackend.php (+1 -1), F3_FLOW3_Cache_StringCacheTest.php (+1 -1), F3_FLOW3_Cache_VariableCacheTest.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

35 lines of code changed in 2 files:

  • Tests/Cache: F3_FLOW3_Cache_FactoryTest.php (+8 -4), F3_FLOW3_Cache_ManagerTest.php (+27)
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!

13 lines of code changed in 7 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+2 -2), F3_FLOW3_Cache_AbstractCacheTest.php (+2 -2), F3_FLOW3_Cache_FactoryTest.php (+2 -2), F3_FLOW3_Cache_ManagerTest.php (+2 -2), F3_FLOW3_Cache_MockBackend.php (+1 -1), F3_FLOW3_Cache_StringCacheTest.php (+2 -2), F3_FLOW3_Cache_VariableCacheTest.php (+2 -2)
k-fish 2009-01-07 11:37 Rev.: 1707

FLOW3:
* changed license to LGPL v3 or later

98 lines of code changed in 7 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+14 -7), F3_FLOW3_Cache_AbstractCacheTest.php (+14 -7), F3_FLOW3_Cache_FactoryTest.php (+14 -7), F3_FLOW3_Cache_ManagerTest.php (+14 -7), F3_FLOW3_Cache_MockBackend.php (+14 -7), F3_FLOW3_Cache_StringCacheTest.php (+14 -7), F3_FLOW3_Cache_VariableCacheTest.php (+14 -7)
k-fish 2008-12-18 12:05 Rev.: 1657

FLOW3:
* refactored a bunch of unit tests so they no longer need a real FLOW3 to run, refs #2123

53 lines of code changed in 5 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+2 -2), F3_FLOW3_Cache_FactoryTest.php (+42 -17), F3_FLOW3_Cache_ManagerTest.php (+5 -10), F3_FLOW3_Cache_MockBackend.php (+2), F3_FLOW3_Cache_StringCacheTest.php (+2 -2)
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

16 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+16)
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

114 lines of code changed in 7 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+6 -6), F3_FLOW3_Cache_AbstractCacheTest.php (+18 -18), F3_FLOW3_Cache_FactoryTest.php (+22 -22), F3_FLOW3_Cache_ManagerTest.php (+28 -28), F3_FLOW3_Cache_MockBackend.php (+3 -3), F3_FLOW3_Cache_StringCacheTest.php (+17 -17), F3_FLOW3_Cache_VariableCacheTest.php (+20 -20)
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

11 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+11)
k-fish 2008-11-21 18:44 Rev.: 1525

FLOW3:
* processRequest() in RESTController now matches the signature from ActionController, eliminating a PHP notice
* fixed object instantiation in setup() of Cache::AbstractBackendTest

1 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+1 -1)
robert 2008-11-12 14:45 Rev.: 1501

* FLOW3: (Cache) Fixed a bug in the cache backends which accepted invalid tags in the flushByTag() method. Resolves #2158

30 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+30 -4)
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.

8 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_FactoryTest.php (+8 -8)
k-fish 2008-11-06 21:15 Rev.: 1444

FLOW3:
* refactored cache frontend and backend API: save() is now set(), load() is now get(), findByTag() is now loadByTag()

Related to http://bugs.typo3.org/view.php?id=9747

63 lines of code changed in 4 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+10 -10), F3_FLOW3_Cache_ManagerTest.php (+10 -10), F3_FLOW3_Cache_StringCacheTest.php (+17 -17), F3_FLOW3_Cache_VariableCacheTest.php (+26 -26)
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

4 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_FactoryTest.php (+4)
k-fish 2008-10-28 16:46 Rev.: 1395

FLOW3:
* some cleanup in Cache component, refs #1843, refs #1844
* added findByTag() to cache frontends, fixes #1199

103 lines of code changed in 4 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+45 -4), F3_FLOW3_Cache_ManagerTest.php (+10 -10), F3_FLOW3_Cache_StringCacheTest.php (+22 -5), F3_FLOW3_Cache_VariableCacheTest.php (+26 -9)
k-fish 2008-10-27 11:40 Rev.: 1387

FLOW3:
* the file cache backend now checks the lifetime of entries, fixes #1200
* added collectGarbage() to cache front- and backends, needs to be implemented (touches #1785)

10 lines of code changed in 2 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+2 -2), F3_FLOW3_Cache_VariableCacheTest.php (+8 -8)
robert 2008-10-27 11:32 Rev.: 1384

* FLOW3: (Cache) Fixed method names of some cache manager tests.

2 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_ManagerTest.php (+2 -2)
k-fish 2008-09-30 22:13 Rev.: 1293

FLOW3:
* added new StringCache that doesn't serialize() so it's faster for caching simple strings
* the resource publisher now tracks package mirror status with the StringCache
* fixed some documentation comments in VariableCache

98 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_StringCacheTest.php (new 98)
k-fish 2008-09-15 12:38 Rev.: 1218

Fixed one invalid UTF-8 char, making Kurfuerst Kurf?rst along the way... (I mean, we have UTF-8 sources, right?)

1 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_VariableCacheTest.php (+1 -1)
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

85 lines of code changed in 6 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+8 -7), F3_FLOW3_Cache_AbstractCacheTest.php (+8 -7), F3_FLOW3_Cache_FactoryTest.php (+20 -19), F3_FLOW3_Cache_ManagerTest.php (+28 -27), F3_FLOW3_Cache_MockBackend.php (+3 -2), F3_FLOW3_Cache_VariableCacheTest.php (+18 -17)
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.

4 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_FactoryTest.php (+4 -4)
robert 2008-07-17 16:31 Rev.: 1029

* FLOW3: Made FLOW3 using the new Cache Factory.

0 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_VariableCacheTest.php (-1)
robert 2008-07-17 15:57 Rev.: 1026

* FLOW3: (Cache) Implemented a cache factory. You should from now on only use the cache factory for creating new instances of the cache frontend and backend. If you don't, it won't be able to flush your cache through the central mechanisms.

23 lines of code changed in 2 files:

  • Tests/Cache: F3_FLOW3_Cache_FactoryTest.php (new 19), F3_FLOW3_Cache_MockBackend.php (new 4)
robert 2008-06-12 15:52 Rev.: 934


* FLOW3: (Cache) Allowed the underscore "_" for cache entry tags.
* FLOW3: Made it possible to actually use the memcached cache backend for the AOP proxy and component configuration (and not only in theory ...). Make sure to pass the servers configuration to the backendOptions in the FLOW3 configuration if you want to try it out.

2 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (+2 -2)
robert 2008-06-10 18:56 Rev.: 930

* FLOW3: (Cache) Added flushCaches() and flushCachesByTag() to the cache manager.

20 lines of code changed in 1 file:

  • Tests/Cache: F3_FLOW3_Cache_ManagerTest.php (+20)
robert 2008-06-10 18:40 Rev.: 929

* FLOW3: (Cache) Implemented flush() and flushByTag() for the file backend. The Memcache Backend only contains empty methods yet to satisfy the abstract backend's contract.

37 lines of code changed in 3 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (+4 -4), F3_FLOW3_Cache_ManagerTest.php (+26 -6), F3_FLOW3_Cache_VariableCacheTest.php (+7 -7)
robert 2008-06-10 16:39 Rev.: 928

* FLOW3: (Cache) Added tagging support (save and find) for the caching framework. For now only the file backend supports tagging, for the memcache backend tagging has not yet been implemented (see #764).

87 lines of code changed in 3 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractBackendTest.php (new 74), F3_FLOW3_Cache_AbstractCacheTest.php (+4 -4), F3_FLOW3_Cache_VariableCacheTest.php (+9 -9)
k-fish 2008-05-17 16:32 Rev.: 844

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

2 lines of code changed in 2 files:

  • Tests/Cache: F3_FLOW3_Cache_Backend_MemcachedTest.php (+1 -1), F3_FLOW3_Cache_ManagerTest.php (+1 -1)
k-fish 2008-05-10 16:43 Rev.: 831

Pending commit, fixes #477.

0 lines of code changed in 9 files:

  • Tests/Cache: F3_FLOW3_Cache_AbstractCacheTest.php (-1), F3_FLOW3_Cache_Backend_FileTest.php (-1), F3_FLOW3_Cache_Backend_MemcachedTest.php (-1), F3_FLOW3_Cache_ManagerTest.php (new), F3_FLOW3_Cache_VariableCacheTest.php (-1)
k-fish 2008-05-09 16:13 Rev.: 820

Some work on Memcached cache backend:

* All identifiers are prefixed with an unique key, fixes #495
* Cleaned up the memcached backend testcase source, mostly cosmetics

0 lines of code changed in 2 files:

  • Tests/Cache: F3_FLOW3_Cache_Backend_MemcachedTest.php (changed)
Generated by StatSVN 0.5.0