()
| 11 | |
| 12 | public class TestMemoryTable { |
| 13 | @Test |
| 14 | public void test() throws Exception { |
| 15 | App.Instance.Start(); |
| 16 | App.Instance.demo_Module1.tMemorySize().getTableConf().setCacheCapacity(1); |
| 17 | App.Instance.demo_Module1.tMemorySize().getTableConf().setCacheFactor(1); |
| 18 | |
| 19 | test(false, false); |
| 20 | test(false, true); |
| 21 | test(true, false); |
| 22 | test(true, true); |
| 23 | } |
| 24 | |
| 25 | private static void callNewLruHot(TableX<?, ?> table) throws ReflectiveOperationException { |
| 26 | var tableCache = table.getCache(); |
nothing calls this directly
no test coverage detected