(Rocks rocks, Table<Integer, Bean1> table)
| 326 | } |
| 327 | |
| 328 | private static void edit(Rocks rocks, Table<Integer, Bean1> table) throws Exception { |
| 329 | rocks.newProcedure(() -> { |
| 330 | update(table, 10); |
| 331 | verifyChanges("{(tRocksRaft#0,1):State=2 PutValue=null\n" + |
| 332 | "Log=[{1:Value=11,3: Putted:{13:13} Removed:[],4:{1:Value=12},5: Putted:{14:Bean1(14 I=15 L=0 Map1={} Bean2=Bean2(I=0) Map2={})} Removed:[] Changed:[{1:Value=15}]}]\n" + |
| 333 | "AllLog=[{1:Value=11,3: Putted:{13:13} Removed:[],4:{1:Value=12},5: Putted:{14:Bean1(14 I=15 L=0 Map1={} Bean2=Bean2(I=0) Map2={})} Removed:[] Changed:[{1:Value=15}]}]}"); |
| 334 | return 0L; |
| 335 | }).call(); |
| 336 | } |
| 337 | |
| 338 | private static void editAndPut(Rocks rocks, Table<Integer, Bean1> table) throws Exception { |
| 339 | rocks.newProcedure(() -> { |
no test coverage detected