public class com.google.common.collect.testing.testers.SortedSetNavigationTester extends com.google.common.collect.testing.testers.AbstractSetTester
{
private java.util.SortedSet sortedSet;
private java.util.List values;
private java.lang.Object a;
private java.lang.Object b;
private java.lang.Object c;
public void <init>()
{
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
specialinvoke v.<com.google.common.collect.testing.testers.AbstractSetTester: void <init>()>();
return;
}
public void setUp() throws java.lang.Exception
{
java.util.SortedSet v;
int v, v, v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
java.util.Collection v;
java.util.Set v;
com.google.common.collect.testing.features.CollectionSize v;
java.util.List v, v, v, v, v, v, v;
java.lang.Object v, v, v, v, v;
java.util.Comparator v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
specialinvoke v.<com.google.common.collect.testing.testers.AbstractSetTester: void setUp()>();
v = virtualinvoke v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.Set getSet()>();
v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet> = v;
v = virtualinvoke v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object getSubjectGenerator()>();
v = virtualinvoke v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object getSubjectGenerator()>();
v = interfaceinvoke v.<com.google.common.collect.testing.OneSizeTestContainerGenerator: com.google.common.collect.testing.features.CollectionSize getCollectionSize()>();
v = virtualinvoke v.<com.google.common.collect.testing.features.CollectionSize: int getNumElements()>();
v = interfaceinvoke v.<com.google.common.collect.testing.OneSizeTestContainerGenerator: java.util.Collection getSampleElements(int)>(v);
v = staticinvoke <com.google.common.collect.testing.Helpers: java.util.List copyToList(java.lang.Iterable)>(v);
v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values> = v;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values>;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
staticinvoke <java.util.Collections: void sort(java.util.List,java.util.Comparator)>(v, v);
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v < 1 goto label;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(0);
v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object a> = v;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v < 3 goto label;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(1);
v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object b> = v;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.List values>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(2);
v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object c> = v;
label:
return;
}
public void testEmptySetFirst()
{
java.util.NoSuchElementException v;
java.util.SortedSet v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
label:
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
interfaceinvoke v.<java.util.SortedSet: java.lang.Object first()>();
staticinvoke <com.google.common.collect.testing.testers.SortedSetNavigationTester: void fail()>();
label:
goto label;
label:
v := @caughtexception;
label:
return;
catch java.util.NoSuchElementException from label to label with label;
}
public void testEmptySetLast()
{
java.util.NoSuchElementException v;
java.util.SortedSet v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
label:
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
interfaceinvoke v.<java.util.SortedSet: java.lang.Object last()>();
staticinvoke <com.google.common.collect.testing.testers.SortedSetNavigationTester: void fail()>();
label:
goto label;
label:
v := @caughtexception;
label:
return;
catch java.util.NoSuchElementException from label to label with label;
}
public void testSingletonSetFirst()
{
java.util.SortedSet v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
java.lang.Object v, v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object a>;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
v = interfaceinvoke v.<java.util.SortedSet: java.lang.Object first()>();
staticinvoke <com.google.common.collect.testing.testers.SortedSetNavigationTester: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void testSingletonSetLast()
{
java.util.SortedSet v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
java.lang.Object v, v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object a>;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
v = interfaceinvoke v.<java.util.SortedSet: java.lang.Object last()>();
staticinvoke <com.google.common.collect.testing.testers.SortedSetNavigationTester: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void testFirst()
{
java.util.SortedSet v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
java.lang.Object v, v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object a>;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
v = interfaceinvoke v.<java.util.SortedSet: java.lang.Object first()>();
staticinvoke <com.google.common.collect.testing.testers.SortedSetNavigationTester: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void testLast()
{
java.util.SortedSet v;
com.google.common.collect.testing.testers.SortedSetNavigationTester v;
java.lang.Object v, v;
v := @this: com.google.common.collect.testing.testers.SortedSetNavigationTester;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.lang.Object c>;
v = v.<com.google.common.collect.testing.testers.SortedSetNavigationTester: java.util.SortedSet sortedSet>;
v = interfaceinvoke v.<java.util.SortedSet: java.lang.Object last()>();
staticinvoke <com.google.common.collect.testing.testers.SortedSetNavigationTester: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
}