(Rocks rocks, Table<Integer, Bean1> table)
| 316 | } |
| 317 | |
| 318 | private static void putAndEdit(Rocks rocks, Table<Integer, Bean1> table) throws Exception { |
| 319 | rocks.newProcedure(() -> { |
| 320 | update(table, 0); |
| 321 | verifyChanges("{(tRocksRaft#0,1):State=1 PutValue=Bean1(0 I=1 L=0 Map1={3:3} Bean2=Bean2(I=2) Map2={4:Bean1(4 I=5 L=0 Map1={} Bean2=Bean2(I=0) Map2={})})\n" + |
| 322 | "Log=[]\n" + |
| 323 | "AllLog=[{0:Value=Bean1(0 I=1 L=0 Map1={3:3} Bean2=Bean2(I=2) Map2={4:Bean1(4 I=5 L=0 Map1={} Bean2=Bean2(I=0) Map2={})})},{1:Value=1,3: Putted:{3:3} Removed:[],4:{1:Value=2},5: Putted:{4:Bean1(4 I=5 L=0 Map1={} Bean2=Bean2(I=0) Map2={})} Removed:[] Changed:[{1:Value=5}]}]}"); |
| 324 | return 0L; |
| 325 | }).call(); |
| 326 | } |
| 327 | |
| 328 | private static void edit(Rocks rocks, Table<Integer, Bean1> table) throws Exception { |
| 329 | rocks.newProcedure(() -> { |
no test coverage detected