Searched refs:obj1 (Results 1 – 1 of 1) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | SimpleCacheTests.cs | 18 obj1 = new object(); in Init() 25 var result = cache.Get(obj1, Generator1); in ShouldNotMissCache() 28 var resultAfter = cache.Get(obj1, Generator1); in ShouldNotMissCache() 39 var result = cache.Get(obj1, obj2, Generator3); in ShouldNotMissCacheWithTwoParameters() 42 var resultAfter = cache.Get(obj1, obj2, Generator3); in ShouldNotMissCacheWithTwoParameters() 65 cache.Get(obj1, Generator2); in ShouldNotMixParametersAndGenerators() 70 cache.Get(obj1, obj2, Generator3); in ShouldNotMixParametersAndGenerators() 75 cache.Get(obj1, obj2, Generator4); in ShouldNotMixParametersAndGenerators() 214 Assert.Throws<ArgumentNullException>(() => cache.Get(obj1, (Func<object, string>)null)); in ShouldNotHandleNullAsAGenerator() 215 …Assert.Throws<ArgumentNullException>(() => cache.Get(obj1, obj2, (Func<object, object, string>)nul… in ShouldNotHandleNullAsAGenerator() [all …]
|