Missing test delete for MapStore

This commit is contained in:
psemenkov 2022-10-06 12:31:22 +03:00
parent b134b94dba
commit adca2cdd1a
2 changed files with 4 additions and 1 deletions

View file

@ -39,7 +39,7 @@ public abstract class SimpleObjectMapStore<T extends SpcexObjectBase> implements
public abstract String[] getFields();
public boolean deleteIsSupported() {
return true;
return false;
}
@Override

View file

@ -3,6 +3,7 @@ package ru.spcex.clearing.imdg;
import com.hazelcast.config.MapStoreConfig;
import com.hazelcast.core.IMap;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.slf4j.Logger;
@ -71,8 +72,10 @@ public class AllMapStoreTest {
}
}
//todo удалить если будет не нужна, пока не работает из-за "deleteIsSupported() return false" в SimpleObjectMapStore.
@Test
public void checkDeletingForAllMapStoreTest() {
Assumptions.assumeTrue(false, "todo удалить если будет не нужна, пока не работает из-за \"deleteIsSupported() return false\" в SimpleObjectMapStore.");
saveObjectToMaps();
for (ObjectForCheckMapStore objectForCheck : objectForCheckMapStores) {