Lines Matching refs:obj1
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()
221 var result = cache.Get(obj1, obj2, Generator3); in ShouldNotMixOrderOfParameteres()
224 var resultAfter = cache.Get(obj2, obj1, Generator3); in ShouldNotMixOrderOfParameteres()
235 cache.Get(obj1, Generator1); in ShouldClearCache()
237 cache.Get(obj1, Generator2); in ShouldClearCache()
281 private object obj1; field in Antmicro.Renode.Utilities.SimpleCacheTests