public class com.google.common.collect.testing.google.MultimapContainsKeyTester extends com.google.common.collect.testing.google.AbstractMultimapTester
{
public void <init>()
{
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
specialinvoke v.<com.google.common.collect.testing.google.AbstractMultimapTester: void <init>()>();
return;
}
public void testContainsKeyYes()
{
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
java.lang.Object v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: java.lang.Object k0()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void assertTrue(boolean)>(v);
return;
}
public void testContainsKeyNo()
{
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
java.lang.Object v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: java.lang.Object k3()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void assertFalse(boolean)>(v);
return;
}
public void testContainsKeysFromKeySet()
{
java.util.Iterator v;
java.util.Set v;
com.google.common.collect.Multimap v, v;
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
java.lang.Object v;
boolean v, v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Set keySet()>();
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 = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: 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.MultimapContainsKeyTester: void assertTrue(boolean)>(v);
goto label;
label:
return;
}
public void testContainsKeyAgreesWithGet()
{
java.util.Iterator v;
com.google.common.collect.testing.SampleElements v;
java.util.Collection v;
com.google.common.collect.Multimap v, v;
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
java.lang.Object v;
boolean v, v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.testing.SampleElements sampleKeys()>();
v = virtualinvoke v.<com.google.common.collect.testing.SampleElements: 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 = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Collection get(java.lang.Object)>(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.MultimapContainsKeyTester: 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.MultimapContainsKeyTester: void assertEquals(boolean,boolean)>(v, v);
goto label;
label:
return;
}
public void testContainsKeyAgreesWithAsMap()
{
java.util.Iterator v;
com.google.common.collect.testing.SampleElements v;
com.google.common.collect.Multimap v, v;
java.util.Map v;
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
java.lang.Object v;
boolean v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.testing.SampleElements sampleKeys()>();
v = virtualinvoke v.<com.google.common.collect.testing.SampleElements: 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 = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Map asMap()>();
v = interfaceinvoke v.<java.util.Map: boolean containsKey(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void assertEquals(boolean,boolean)>(v, v);
goto label;
label:
return;
}
public void testContainsKeyAgreesWithKeySet()
{
java.util.Iterator v;
com.google.common.collect.testing.SampleElements v;
java.util.Set v;
com.google.common.collect.Multimap v, v;
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
java.lang.Object v;
boolean v, v, v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.testing.SampleElements sampleKeys()>();
v = virtualinvoke v.<com.google.common.collect.testing.SampleElements: 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 = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(v);
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: java.util.Set keySet()>();
v = interfaceinvoke v.<java.util.Set: boolean contains(java.lang.Object)>(v);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void assertEquals(boolean,boolean)>(v, v);
goto label;
label:
return;
}
public void testContainsKeyNullPresent()
{
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: void initMultimapWithNullKey()>();
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(null);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void assertTrue(boolean)>(v);
return;
}
public void testContainsKeyNullAbsent()
{
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
com.google.common.collect.Multimap v;
boolean v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
v = interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(null);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void assertFalse(boolean)>(v);
return;
}
public void testContainsKeyNullDisallowed()
{
com.google.common.collect.testing.google.MultimapContainsKeyTester v;
com.google.common.collect.Multimap v;
java.lang.NullPointerException v;
v := @this: com.google.common.collect.testing.google.MultimapContainsKeyTester;
label:
v = virtualinvoke v.<com.google.common.collect.testing.google.MultimapContainsKeyTester: com.google.common.collect.Multimap multimap()>();
interfaceinvoke v.<com.google.common.collect.Multimap: boolean containsKey(java.lang.Object)>(null);
staticinvoke <com.google.common.collect.testing.google.MultimapContainsKeyTester: void fail(java.lang.String)>("Expected NullPointerException");
label:
goto label;
label:
v := @caughtexception;
label:
return;
catch java.lang.NullPointerException from label to label with label;
}
}