public class com.google.common.collect.testing.google.MultimapRemoveEntryTester extends com.google.common.collect.testing.google.AbstractMultimapTester
{
public void <init>()
{
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
specialinvoke v.<com.google.common.collect.testing.google.AbstractMultimapTester: void <init>()>();
return;
}
public void testRemoveAbsent()
{
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.lang.Object v, v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object k0()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object v1()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertFalse(boolean)>(v);
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectUnchanged()>();
return;
}
public void testRemovePresent()
{
com.google.common.collect.Multimap v, v, v;
com.google.common.collect.ImmutableList v;
int v, v, v;
java.util.Map$Entry[] v;
boolean v, v;
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.lang.Object v, v, v, v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object k0()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object v0()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertTrue(boolean)>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object k0()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object v0()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsEntry(java.lang.Object,java.lang.Object)>(v, v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertFalse(boolean)>(v);
v = newarray (java.util.Map$Entry)[1];
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object e0()>();
v[0] = v;
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectMissing(java.lang.Object[])>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: int getNumElements()>();
v = v - 1;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: int size()>();
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertEquals(int,int)>(v, v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object k0()>();
v = staticinvoke <com.google.common.collect.ImmutableList: com.google.common.collect.ImmutableList of()>();
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertGet(java.lang.Object,java.util.Collection)>(v, v);
return;
}
public void testRemoveNullKeyPresent()
{
java.util.Map$Entry v;
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
com.google.common.collect.Multimap v;
com.google.common.collect.ImmutableList v;
java.lang.Object v, v, v;
java.util.Map$Entry[] v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void initMultimapWithNullKey()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object getValueForNullKey()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(null, v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertTrue(boolean)>(v);
v = newarray (java.util.Map$Entry)[1];
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object getValueForNullKey()>();
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.Map$Entry mapEntry(java.lang.Object,java.lang.Object)>(null, v);
v[0] = v;
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectMissing(java.lang.Object[])>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object getKeyForNullValue()>();
v = staticinvoke <com.google.common.collect.ImmutableList: com.google.common.collect.ImmutableList of()>();
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertGet(java.lang.Object,java.util.Collection)>(v, v);
return;
}
public void testRemoveNullValuePresent()
{
java.util.Map$Entry v;
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
com.google.common.collect.Multimap v;
com.google.common.collect.ImmutableList v;
java.lang.Object v, v, v;
java.util.Map$Entry[] v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void initMultimapWithNullValue()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object getKeyForNullValue()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, null);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertTrue(boolean)>(v);
v = newarray (java.util.Map$Entry)[1];
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object getKeyForNullValue()>();
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.Map$Entry mapEntry(java.lang.Object,java.lang.Object)>(v, null);
v[0] = v;
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectMissing(java.lang.Object[])>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object getKeyForNullValue()>();
v = staticinvoke <com.google.common.collect.ImmutableList: com.google.common.collect.ImmutableList of()>();
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertGet(java.lang.Object,java.util.Collection)>(v, v);
return;
}
public void testRemoveNullKeyAbsent()
{
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.lang.Object v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object v0()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(null, v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertFalse(boolean)>(v);
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectUnchanged()>();
return;
}
public void testRemoveNullValueAbsent()
{
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.lang.Object v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object k0()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, null);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertFalse(boolean)>(v);
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectUnchanged()>();
return;
}
public void testRemoveNullValueForbidden()
{
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.lang.Object v;
com.google.common.collect.Multimap v;
java.lang.NullPointerException v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
label:
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object k0()>();
interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, null);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void fail(java.lang.String)>("Expected NullPointerException");
label:
goto label;
label:
v := @caughtexception;
label:
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectUnchanged()>();
return;
catch java.lang.NullPointerException from label to label with label;
}
public void testRemoveNullKeyForbidden()
{
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.lang.Object v;
com.google.common.collect.Multimap v;
java.lang.NullPointerException v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
label:
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object v0()>();
interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(null, v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void fail(java.lang.String)>("Expected NullPointerException");
label:
goto label;
label:
v := @caughtexception;
label:
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: void expectUnchanged()>();
return;
catch java.lang.NullPointerException from label to label with label;
}
public void testRemovePropagatesToGet()
{
com.google.common.collect.Multimap v, v, v, v;
boolean v, v, v, v;
java.util.Iterator v;
java.util.Collection v, v;
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.util.List v, v;
java.lang.Object v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Collection entries()>();
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object resetContainer()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Collection get(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertNotNull(java.lang.Object)>(v);
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, v);
interfaceinvoke v.<java.util.Collection: boolean remove(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.Helpers: void assertEqualIgnoringOrder(java.lang.Iterable,java.lang.Iterable)>(v, v);
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertEquals(boolean,boolean)>(v, v);
goto label;
label:
return;
}
public void testRemovePropagatesToAsMap()
{
com.google.common.collect.Multimap v, v, v, v;
java.util.Map v;
boolean v, v, v, v;
java.util.Iterator v;
java.util.Collection v;
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.util.List v, v;
java.lang.Object v, v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Collection entries()>();
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object resetContainer()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Map asMap()>();
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertNotNull(java.lang.Object)>(v);
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, v);
interfaceinvoke v.<java.util.Collection: boolean remove(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.Helpers: void assertEqualIgnoringOrder(java.lang.Iterable,java.lang.Iterable)>(v, v);
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertEquals(boolean,boolean)>(v, v);
goto label;
label:
return;
}
public void testRemovePropagatesToAsMapEntrySet()
{
com.google.common.collect.Multimap v, v, v, v;
java.util.Map v;
boolean v, v, v, v, v, v;
java.util.Iterator v, v;
java.util.Collection v;
com.google.common.collect.testing.google.MultimapRemoveEntryTester v;
java.util.Set v;
java.util.List v, v;
java.lang.Object v, v, v, v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapRemoveEntryTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Collection entries()>();
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: java.lang.Object resetContainer()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Map asMap()>();
v = interfaceinvoke v.<java.util.Map: java.util.Set entrySet()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
label:
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertNotNull(java.lang.Object)>(v);
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
interfaceinvoke v.<com.google.common.collect.Multimap: boolean remove(java.lang.Object,java.lang.Object)>(v, v);
interfaceinvoke v.<java.util.Collection: boolean remove(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.Helpers: void assertEqualIgnoringOrder(java.lang.Iterable,java.lang.Iterable)>(v, v);
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapRemoveEntryTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapRemoveEntryTester: void assertEquals(boolean,boolean)>(v, v);
goto label;
label:
return;
}
}