public class com.google.common.collect.testing.SafeTreeSetTest extends junit.framework.TestCase
{
public void <init>()
{
com.google.common.collect.testing.SafeTreeSetTest v;
v := @this: com.google.common.collect.testing.SafeTreeSetTest;
specialinvoke v.<junit.framework.TestCase: void <init>()>();
return;
}
public static junit.framework.Test suite()
{
java.lang.Object[] v, v;
junit.framework.TestSuite v, v, v;
com.google.common.collect.testing.features.CollectionFeature v, v, v, v, v;
com.google.common.collect.testing.SafeTreeSetTest$2 v;
com.google.common.collect.testing.SafeTreeSetTest$1 v;
com.google.common.collect.testing.features.CollectionSize v, v;
com.google.common.collect.testing.SetTestSuiteBuilder v, v;
com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder v, v, v, v;
v = new junit.framework.TestSuite;
specialinvoke v.<junit.framework.TestSuite: void <init>()>();
virtualinvoke v.<junit.framework.TestSuite: void addTestSuite(java.lang.Class)>(class "Lcom/google/common/collect/testing/SafeTreeSetTest;");
v = new com.google.common.collect.testing.SafeTreeSetTest$1;
specialinvoke v.<com.google.common.collect.testing.SafeTreeSetTest$1: void <init>()>();
v = staticinvoke <com.google.common.collect.testing.NavigableSetTestSuiteBuilder: com.google.common.collect.testing.SetTestSuiteBuilder using(com.google.common.collect.testing.TestSetGenerator)>(v);
v = newarray (com.google.common.collect.testing.features.Feature)[3];
v = <com.google.common.collect.testing.features.CollectionSize: com.google.common.collect.testing.features.CollectionSize ANY>;
v[0] = v;
v = <com.google.common.collect.testing.features.CollectionFeature: com.google.common.collect.testing.features.CollectionFeature KNOWN_ORDER>;
v[1] = v;
v = <com.google.common.collect.testing.features.CollectionFeature: com.google.common.collect.testing.features.CollectionFeature GENERAL_PURPOSE>;
v[2] = v;
v = virtualinvoke v.<com.google.common.collect.testing.SetTestSuiteBuilder: com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder withFeatures(com.google.common.collect.testing.features.Feature[])>(v);
v = virtualinvoke v.<com.google.common.collect.testing.SetTestSuiteBuilder: com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder named(java.lang.String)>("SafeTreeSet with natural comparator");
v = virtualinvoke v.<com.google.common.collect.testing.SetTestSuiteBuilder: junit.framework.TestSuite createTestSuite()>();
virtualinvoke v.<junit.framework.TestSuite: void addTest(junit.framework.Test)>(v);
v = new com.google.common.collect.testing.SafeTreeSetTest$2;
specialinvoke v.<com.google.common.collect.testing.SafeTreeSetTest$2: void <init>()>();
v = staticinvoke <com.google.common.collect.testing.SetTestSuiteBuilder: com.google.common.collect.testing.SetTestSuiteBuilder using(com.google.common.collect.testing.TestSetGenerator)>(v);
v = newarray (com.google.common.collect.testing.features.Feature)[4];
v = <com.google.common.collect.testing.features.CollectionSize: com.google.common.collect.testing.features.CollectionSize ANY>;
v[0] = v;
v = <com.google.common.collect.testing.features.CollectionFeature: com.google.common.collect.testing.features.CollectionFeature KNOWN_ORDER>;
v[1] = v;
v = <com.google.common.collect.testing.features.CollectionFeature: com.google.common.collect.testing.features.CollectionFeature GENERAL_PURPOSE>;
v[2] = v;
v = <com.google.common.collect.testing.features.CollectionFeature: com.google.common.collect.testing.features.CollectionFeature ALLOWS_NULL_VALUES>;
v[3] = v;
v = virtualinvoke v.<com.google.common.collect.testing.SetTestSuiteBuilder: com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder withFeatures(com.google.common.collect.testing.features.Feature[])>(v);
v = virtualinvoke v.<com.google.common.collect.testing.SetTestSuiteBuilder: com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder named(java.lang.String)>("SafeTreeSet with null-friendly comparator");
v = virtualinvoke v.<com.google.common.collect.testing.SetTestSuiteBuilder: junit.framework.TestSuite createTestSuite()>();
virtualinvoke v.<junit.framework.TestSuite: void addTest(junit.framework.Test)>(v);
return v;
}
public void testViewSerialization()
{
com.google.common.collect.testing.SafeTreeSetTest v;
java.util.Collection v, v;
java.util.Set v, v;
java.lang.Integer v, v, v;
java.util.ArrayList v, v;
java.lang.Object v;
com.google.common.collect.ImmutableSortedMap v;
v := @this: com.google.common.collect.testing.SafeTreeSetTest;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(1);
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(2);
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(3);
v = staticinvoke <com.google.common.collect.ImmutableSortedMap: com.google.common.collect.ImmutableSortedMap of(java.lang.Comparable,java.lang.Object,java.lang.Comparable,java.lang.Object,java.lang.Comparable,java.lang.Object)>("one", v, "two", v, "three", v);
v = interfaceinvoke v.<java.util.Map: java.util.Set entrySet()>();
staticinvoke <com.google.common.testing.SerializableTester: java.lang.Object reserializeAndAssert(java.lang.Object)>(v);
v = interfaceinvoke v.<java.util.Map: java.util.Set keySet()>();
staticinvoke <com.google.common.testing.SerializableTester: java.lang.Object reserializeAndAssert(java.lang.Object)>(v);
v = interfaceinvoke v.<java.util.Map: java.util.Collection values()>();
v = staticinvoke <com.google.common.collect.Lists: java.util.ArrayList newArrayList(java.lang.Iterable)>(v);
v = interfaceinvoke v.<java.util.Map: java.util.Collection values()>();
v = staticinvoke <com.google.common.testing.SerializableTester: java.lang.Object reserialize(java.lang.Object)>(v);
v = staticinvoke <com.google.common.collect.Lists: java.util.ArrayList newArrayList(java.lang.Iterable)>(v);
staticinvoke <com.google.common.collect.testing.SafeTreeSetTest: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void testEmpty_serialization()
{
com.google.common.collect.testing.SafeTreeSetTest v;
java.lang.Object v;
java.util.Comparator v, v;
com.google.common.collect.testing.SafeTreeSet v;
v := @this: com.google.common.collect.testing.SafeTreeSetTest;
v = new com.google.common.collect.testing.SafeTreeSet;
specialinvoke v.<com.google.common.collect.testing.SafeTreeSet: void <init>()>();
v = staticinvoke <com.google.common.testing.SerializableTester: java.lang.Object reserializeAndAssert(java.lang.Object)>(v);
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
staticinvoke <com.google.common.collect.testing.SafeTreeSetTest: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void testSingle_serialization()
{
com.google.common.collect.testing.SafeTreeSetTest v;
java.lang.Object v;
java.util.Comparator v, v;
com.google.common.collect.testing.SafeTreeSet v;
v := @this: com.google.common.collect.testing.SafeTreeSetTest;
v = new com.google.common.collect.testing.SafeTreeSet;
specialinvoke v.<com.google.common.collect.testing.SafeTreeSet: void <init>()>();
interfaceinvoke v.<java.util.SortedSet: boolean add(java.lang.Object)>("e");
v = staticinvoke <com.google.common.testing.SerializableTester: java.lang.Object reserializeAndAssert(java.lang.Object)>(v);
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
staticinvoke <com.google.common.collect.testing.SafeTreeSetTest: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
public void testSeveral_serialization()
{
com.google.common.collect.testing.SafeTreeSetTest v;
java.lang.Object v;
java.util.Comparator v, v;
com.google.common.collect.testing.SafeTreeSet v;
v := @this: com.google.common.collect.testing.SafeTreeSetTest;
v = new com.google.common.collect.testing.SafeTreeSet;
specialinvoke v.<com.google.common.collect.testing.SafeTreeSet: void <init>()>();
interfaceinvoke v.<java.util.SortedSet: boolean add(java.lang.Object)>("a");
interfaceinvoke v.<java.util.SortedSet: boolean add(java.lang.Object)>("b");
interfaceinvoke v.<java.util.SortedSet: boolean add(java.lang.Object)>("c");
v = staticinvoke <com.google.common.testing.SerializableTester: java.lang.Object reserializeAndAssert(java.lang.Object)>(v);
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
v = interfaceinvoke v.<java.util.SortedSet: java.util.Comparator comparator()>();
staticinvoke <com.google.common.collect.testing.SafeTreeSetTest: void assertEquals(java.lang.Object,java.lang.Object)>(v, v);
return;
}
}