Changeset 949
- Timestamp:
- 07/24/08 06:57:15 (3 months ago)
- Files:
-
- branches/arnoschn/cache/CiTestsTask.php (modified) (1 diff)
- branches/arnoschn/cache/build-test.xml (modified) (2 diffs)
- branches/arnoschn/cache/script/extras/DEFAULT-caching.yml (modified) (1 diff)
- branches/arnoschn/cache/script/extras/DEFAULT-sessions.yml (modified) (1 diff)
- branches/arnoschn/cache/test/unit/lib/AkCache/AkMemcache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/arnoschn/cache/CiTestsTask.php
r948 r949 53 53 $this->_execute("chmod 777 ".$this->_testDir.DS.'log'.DS."testing.log", true); 54 54 $this->_execute("cp -Rf ".$this->_akelosPath.DS.'test'." ".$this->_testDir.DS, true); 55 $this->_execute("cp ".$this->_akelosPath.DS.'test'.DS.'.nwaccess'." ".$this->_testDir.DS, true);56 //$this->_execute("find ".$this->_testDir.DS."/ -type d -name '.svn' -exec sh -c 'exec rm -Rf \"$@\"' find-copy {} +",true);57 55 } 58 56 private function _execute($cmd,$execute=true) branches/arnoschn/cache/build-test.xml
r948 r949 90 90 </else> 91 91 </if> 92 <phingCall target="generate-caching-config" /> 93 <phingCall target="generate-sessions-config" /> 92 94 </target> 93 95 … … 107 109 <phingCall target="generate-yaml-config-file" /> 108 110 <phingCall target="generate-fix-htaccess" /> 109 </target> 111 112 </target> 113 <target name="generate-caching-config"> 114 <available file="${config.dir}/caching.yml" property="caching.config.exists"/> 115 <if> 116 <equals arg1="${caching.config.exists}" arg2="true"/> 117 <then> 118 <echo>${config.dir}/caching.yml exists</echo> 119 </then> 120 <else> 121 <copy file="${config.dir}/DEFAULT-caching.yml" tofile="${config.dir}/caching.yml"/> 122 </else> 123 </if> 124 </target> 125 <target name="generate-sessions-config"> 126 <available file="${config.dir}/sessions.yml" property="session.config.exists"/> 127 <if> 128 <equals arg1="${session.config.exists}" arg2="true"/> 129 <then> 130 <echo>${config.dir}/sessions.yml exists</echo> 131 </then> 132 <else> 133 <copy file="${config.dir}/DEFAULT-sessions.yml" tofile="${config.dir}/sessions.yml"/> 134 </else> 135 </if> 136 </target> 110 137 <target name="generate-config-mysql"> 111 138 <phingCall target="generate-config-file"> branches/arnoschn/cache/script/extras/DEFAULT-caching.yml
r906 r949 1 1 enabled: true 2 2 handler: 3 type: 3#1=PEAR,2=AdoDB,3=Memcache3 type: 1 #1=PEAR,2=AdoDB,3=Memcache 4 4 options: 5 5 servers: branches/arnoschn/cache/script/extras/DEFAULT-sessions.yml
r933 r949 1 1 enabled: true 2 2 handler: 3 type: 2#1=File based,2=AdoDB,3=Memcache3 type: 1 #1=File based,2=AdoDB,3=Memcache 4 4 options: 5 5 lifeTime: 3600 branches/arnoschn/cache/test/unit/lib/AkCache/AkMemcache.php
r948 r949 13 13 { 14 14 $cache_settings = Ak::getSettings('caching',false); 15 $cache_settings['handler']['type']=3; 15 16 $this->memcache=AkCache::lookupStore($cache_settings); 16 17 $this->assertIsA($this->memcache,'AkCache');
