09a3300b7c 
								
							
								 
							
						 
						
							
							
								
								refactored redis cache, added mset()  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1a7a15a3ef 
								
							
								 
							
						 
						
							
							
								
								Implemented mset, madd for cache. Added tests.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3ebbab0284 
								
							
								 
							
						 
						
							
							
								
								marked mset() test incomplete  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4cf05205d4 
								
							
								 
							
						 
						
							
							
								
								added cache mset() base test  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ee2af2661c 
								
							
								 
							
						 
						
							
							
								
								Removed unneeded use statements  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1f6a823073 
								
							
								 
							
						 
						
							
							
								
								Short array syntax  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3f88320595 
								
							
								 
							
						 
						
							
							
								
								second try to fix random memcache failure on travis  
							
							... 
							
							
 
							
							issue #877  
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f3504f426d 
								
							
								 
							
						 
						
							
							
								
								fix test fail when not on travis  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9542fd24d4 
								
							
								 
							
						 
						
							
							
								
								try to fix: memcache testExpire fails randomly on travis  
							
							... 
							
							
 
							
							issue #877  
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0e2ac86566 
								
							
								 
							
						 
						
							
							
								
								added Cache::exists() to check key existance in cache  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0596fa82fd 
								
							
								 
							
						 
						
							
							
								
								code style fixes  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f5d0bcbcfc 
								
							
								 
							
						 
						
							
							
								
								Refactored cache key generation.  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								7cd9123c3b 
								
							
								 
							
						 
						
							
							
								
								Tests cleanup  
							
							... 
							
							
 
							
							- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								e2513de6c6 
								
							
								 
							
						 
						
							
							
								
								better testing: time()-function-mock  
							
							... 
							
							
 
							
							as discussed in #203 
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631  
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								71a9efdd55 
								
							
								 
							
						 
						
							
							
								
								changed cache test to wait more than expirytime  
							
							... 
							
							
 
							
							change is to avoid random test failure on race condition.
fixes  #203  #231  
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								6a7529505e 
								
							
								 
							
						 
						
							
							
								
								cache tests refactoring cherry picked from redis branch  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								f23a677bdf 
								
							
								 
							
						 
						
							
							
								
								mod: incorporate suggestions  
							
							... 
							
							
 
							
							- rename requireApp() to mockApplication()
- always destroy app on tearDown()
  - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
  - mockApplication() becomes a lot easier. Destroying app on each tearDown
    means creating it on every call is fine. No more checking if it already
    exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								d4b30e26c2 
								
							
								 
							
						 
						
							
							
								
								allow unit tests to requireApp() on setUp()  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								38a1938847 
								
							
								 
							
						 
						
							
							
								
								documentation and code style fixes  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								fad011274c 
								
							
								 
							
						 
						
							
							
								
								added missing init() method to Cache class  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								3d3f711d6a 
								
							
								 
							
						 
						
							
							
								
								testing and fixing RedisCache  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								09dbaeb700 
								
							
								 
							
						 
						
							
							
								
								more assertions for cache test  
							
							
 
							
						 
						
							13 years ago  
				
					
						
							
							
								 
						
							
							
								64fb2a815c 
								
							
								 
							
						 
						
							
							
								
								added tests for cache  
							
							
 
							
						 
						
							13 years ago