CallProcessEntry allows the cache benchmarking tool to call directly into processEntry, not to be used from outside test code
(t *testing.T, ctx context.Context, log *LogEntry)
| 108 | // CallProcessEntry allows the cache benchmarking tool to call directly into processEntry, not to |
| 109 | // be used from outside test code |
| 110 | func (db *DatabaseContext) CallProcessEntry(t *testing.T, ctx context.Context, log *LogEntry) { |
| 111 | db.changeCache.processEntry(ctx, log) |
| 112 | } |
| 113 | |
| 114 | // GetCachedChanges will grab cached changes form channel cache for caching tool, not to be used outside test code. |
| 115 | func (db *DatabaseContext) GetCachedChanges(t *testing.T, ctx context.Context, chanID channels.ID) ([]*LogEntry, error) { |
no test coverage detected