Details
-
Task
-
Resolution: Won't Do
-
Optional
-
None
-
None
-
None
Description
Positive test are fully covered in https://github.com/infinispan/infinispan/pull/5325 , negative tests could use enhancement.
API: (Manager/Factory classes have one basically unbreakable method)
public interface RemoteMultimapCache<K, V> { CompletableFuture<Void> put(K key, V value); - Put wrong class of key/value/both - Put duplicates, confirm duplicates not supported CompletableFuture<Collection<V>> get(K key); - positive get - crash on retrieving too big Collection on get - get invalid key* CompletableFuture<MetadataValue<Collection<V>>> getWithMetadata(K key); - get invalid key* CompletableFuture<Boolean> remove(K key); - remove invalid key* CompletableFuture<Long> size(); - size with duplicates, removes and invalid puts* }
- - wrong value/wrong class/null