10888a09821a98ac0680fad765217302858e70fa4Paul Duffin/* 20888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Copyright (C) 2008 The Guava Authors 30888a09821a98ac0680fad765217302858e70fa4Paul Duffin * 40888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Licensed under the Apache License, Version 2.0 (the "License"); 50888a09821a98ac0680fad765217302858e70fa4Paul Duffin * you may not use this file except in compliance with the License. 60888a09821a98ac0680fad765217302858e70fa4Paul Duffin * You may obtain a copy of the License at 70888a09821a98ac0680fad765217302858e70fa4Paul Duffin * 80888a09821a98ac0680fad765217302858e70fa4Paul Duffin * http://www.apache.org/licenses/LICENSE-2.0 90888a09821a98ac0680fad765217302858e70fa4Paul Duffin * 100888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Unless required by applicable law or agreed to in writing, software 110888a09821a98ac0680fad765217302858e70fa4Paul Duffin * distributed under the License is distributed on an "AS IS" BASIS, 120888a09821a98ac0680fad765217302858e70fa4Paul Duffin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 130888a09821a98ac0680fad765217302858e70fa4Paul Duffin * See the License for the specific language governing permissions and 140888a09821a98ac0680fad765217302858e70fa4Paul Duffin * limitations under the License. 150888a09821a98ac0680fad765217302858e70fa4Paul Duffin */ 160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpackage com.google.common.collect; 170888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic class IterablesTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 180888a09821a98ac0680fad765217302858e70fa4Paul Duffin@Override public String getModuleName() { 190888a09821a98ac0680fad765217302858e70fa4Paul Duffin return "com.google.common.collect.testModule"; 200888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testAddAllToList() throws Exception { 220888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 230888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testAddAllToList(); 240888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 250888a09821a98ac0680fad765217302858e70fa4Paul Duffin 260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testAll() throws Exception { 270888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 280888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testAll(); 290888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 300888a09821a98ac0680fad765217302858e70fa4Paul Duffin 310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testAny() throws Exception { 320888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 330888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testAny(); 340888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 350888a09821a98ac0680fad765217302858e70fa4Paul Duffin 360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConcatIterable() throws Exception { 370888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 380888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConcatIterable(); 390888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 400888a09821a98ac0680fad765217302858e70fa4Paul Duffin 410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConcatNullPointerException() throws Exception { 420888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 430888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConcatNullPointerException(); 440888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 450888a09821a98ac0680fad765217302858e70fa4Paul Duffin 460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConcatPeformingFiniteCycle() throws Exception { 470888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 480888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConcatPeformingFiniteCycle(); 490888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 500888a09821a98ac0680fad765217302858e70fa4Paul Duffin 510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConcatVarargs() throws Exception { 520888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 530888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConcatVarargs(); 540888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 550888a09821a98ac0680fad765217302858e70fa4Paul Duffin 560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConsumingIterable() throws Exception { 570888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 580888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConsumingIterable(); 590888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 600888a09821a98ac0680fad765217302858e70fa4Paul Duffin 610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConsumingIterable_noIteratorCall() throws Exception { 620888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 630888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConsumingIterable_noIteratorCall(); 640888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 650888a09821a98ac0680fad765217302858e70fa4Paul Duffin 660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConsumingIterable_queue_iterator() throws Exception { 670888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 680888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConsumingIterable_queue_iterator(); 690888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 700888a09821a98ac0680fad765217302858e70fa4Paul Duffin 710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConsumingIterable_queue_removesFromQueue() throws Exception { 720888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 730888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testConsumingIterable_queue_removesFromQueue(); 740888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 750888a09821a98ac0680fad765217302858e70fa4Paul Duffin 760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testCycle() throws Exception { 770888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 780888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testCycle(); 790888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 800888a09821a98ac0680fad765217302858e70fa4Paul Duffin 810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testElementsEqual() throws Exception { 820888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 830888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testElementsEqual(); 840888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 850888a09821a98ac0680fad765217302858e70fa4Paul Duffin 860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testFind() throws Exception { 870888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 880888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testFind(); 890888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 900888a09821a98ac0680fad765217302858e70fa4Paul Duffin 910888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testFind_withDefault() throws Exception { 920888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 930888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testFind_withDefault(); 940888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 950888a09821a98ac0680fad765217302858e70fa4Paul Duffin 960888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testFrequency_list() throws Exception { 970888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 980888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testFrequency_list(); 990888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1000888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1010888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testFrequency_multiset() throws Exception { 1020888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1030888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testFrequency_multiset(); 1040888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1050888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1060888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testFrequency_set() throws Exception { 1070888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1080888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testFrequency_set(); 1090888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1100888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1110888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetFirst_withDefault_empty() throws Exception { 1120888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1130888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetFirst_withDefault_empty(); 1140888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1150888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetFirst_withDefault_empty_null() throws Exception { 1170888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1180888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetFirst_withDefault_empty_null(); 1190888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1200888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetFirst_withDefault_multiple() throws Exception { 1220888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1230888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetFirst_withDefault_multiple(); 1240888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1250888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetFirst_withDefault_singleton() throws Exception { 1270888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1280888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetFirst_withDefault_singleton(); 1290888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1300888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_emptyIterable() throws Exception { 1320888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1330888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_emptyIterable(); 1340888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1350888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_emptyList() throws Exception { 1370888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1380888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_emptyList(); 1390888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1400888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_emptySortedSet() throws Exception { 1420888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1430888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_emptySortedSet(); 1440888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1450888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_iterable() throws Exception { 1470888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1480888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_iterable(); 1490888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1500888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_list() throws Exception { 1520888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1530888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_list(); 1540888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1550888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_sortedSet() throws Exception { 1570888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1580888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_sortedSet(); 1590888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1600888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_withDefault_empty() throws Exception { 1620888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1630888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_withDefault_empty(); 1640888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1650888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_withDefault_empty_null() throws Exception { 1670888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1680888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_withDefault_empty_null(); 1690888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1700888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_withDefault_multiple() throws Exception { 1720888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1730888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_withDefault_multiple(); 1740888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1750888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_withDefault_not_empty_list() throws Exception { 1770888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1780888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_withDefault_not_empty_list(); 1790888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1800888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetLast_withDefault_singleton() throws Exception { 1820888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1830888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetLast_withDefault_singleton(); 1840888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1850888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_noDefault_empty() throws Exception { 1870888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1880888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_noDefault_empty(); 1890888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1900888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1910888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_noDefault_multiple() throws Exception { 1920888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1930888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_noDefault_multiple(); 1940888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 1950888a09821a98ac0680fad765217302858e70fa4Paul Duffin 1960888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_noDefault_valid() throws Exception { 1970888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 1980888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_noDefault_valid(); 1990888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2000888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2010888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_withDefault_empty() throws Exception { 2020888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2030888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_withDefault_empty(); 2040888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2050888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2060888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_withDefault_empty_null() throws Exception { 2070888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2080888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_withDefault_empty_null(); 2090888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2100888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2110888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_withDefault_multiple() throws Exception { 2120888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2130888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_withDefault_multiple(); 2140888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2150888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGetOnlyElement_withDefault_singleton() throws Exception { 2170888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2180888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGetOnlyElement_withDefault_singleton(); 2190888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2200888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_emptyIterable() throws Exception { 2220888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2230888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_emptyIterable(); 2240888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2250888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_emptyList() throws Exception { 2270888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2280888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_emptyList(); 2290888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2300888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_emptySortedSet() throws Exception { 2320888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2330888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_emptySortedSet(); 2340888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2350888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_iterable() throws Exception { 2370888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2380888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_iterable(); 2390888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2400888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_list() throws Exception { 2420888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2430888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_list(); 2440888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2450888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_sortedSet() throws Exception { 2470888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2480888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_sortedSet(); 2490888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2500888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_withDefault_doesntIterate() throws Exception { 2520888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2530888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_withDefault_doesntIterate(); 2540888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2550888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_withDefault_iterable() throws Exception { 2570888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2580888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_withDefault_iterable(); 2590888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2600888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_withDefault_last() throws Exception { 2620888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2630888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_withDefault_last(); 2640888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2650888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_withDefault_lastPlusOne() throws Exception { 2670888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2680888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_withDefault_lastPlusOne(); 2690888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2700888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_withDefault_negativePosition() throws Exception { 2720888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2730888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_withDefault_negativePosition(); 2740888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2750888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testGet_withDefault_simple() throws Exception { 2770888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2780888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testGet_withDefault_simple(); 2790888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2800888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIndexOf_empty() throws Exception { 2820888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2830888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIndexOf_empty(); 2840888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2850888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIndexOf_genericPredicate() throws Exception { 2870888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2880888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIndexOf_genericPredicate(); 2890888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2900888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2910888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIndexOf_genericPredicate2() throws Exception { 2920888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2930888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIndexOf_genericPredicate2(); 2940888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 2950888a09821a98ac0680fad765217302858e70fa4Paul Duffin 2960888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIndexOf_oneElement() throws Exception { 2970888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 2980888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIndexOf_oneElement(); 2990888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3000888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3010888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIndexOf_twoElements() throws Exception { 3020888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3030888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIndexOf_twoElements(); 3040888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3050888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3060888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIndexOf_withDuplicates() throws Exception { 3070888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3080888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIndexOf_withDuplicates(); 3090888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3100888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3110888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIsEmpty() throws Exception { 3120888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3130888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIsEmpty(); 3140888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3150888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIterableWithToString() throws Exception { 3170888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3180888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIterableWithToString(); 3190888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3200888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIterableWithToStringNull() throws Exception { 3220888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3230888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testIterableWithToStringNull(); 3240888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3250888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testLimit() throws Exception { 3270888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3280888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testLimit(); 3290888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3300888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testLimit_illegalArgument() throws Exception { 3320888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3330888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testLimit_illegalArgument(); 3340888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3350888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testMergeSorted_empty() throws Exception { 3370888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3380888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testMergeSorted_empty(); 3390888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3400888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testMergeSorted_pyramid() throws Exception { 3420888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3430888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testMergeSorted_pyramid(); 3440888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3450888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testMergeSorted_single() throws Exception { 3470888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3480888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testMergeSorted_single(); 3490888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3500888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testMergeSorted_single_empty() throws Exception { 3520888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3530888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testMergeSorted_single_empty(); 3540888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3550888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testMergeSorted_skipping_pyramid() throws Exception { 3570888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3580888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testMergeSorted_skipping_pyramid(); 3590888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3600888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testNullFriendlyTransform() throws Exception { 3620888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3630888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testNullFriendlyTransform(); 3640888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3650888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPaddedPartitionNonRandomAccessInput() throws Exception { 3670888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3680888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPaddedPartitionNonRandomAccessInput(); 3690888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3700888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPaddedPartitionRandomAccessInput() throws Exception { 3720888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3730888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPaddedPartitionRandomAccessInput(); 3740888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3750888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPaddedPartition_basic() throws Exception { 3770888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3780888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPaddedPartition_basic(); 3790888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3800888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPartition_badSize() throws Exception { 3820888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3830888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPartition_badSize(); 3840888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3850888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPartition_empty() throws Exception { 3870888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3880888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPartition_empty(); 3890888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3900888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3910888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPartition_singleton1() throws Exception { 3920888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3930888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPartition_singleton1(); 3940888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 3950888a09821a98ac0680fad765217302858e70fa4Paul Duffin 3960888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPartition_view() throws Exception { 3970888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 3980888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPartition_view(); 3990888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4000888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4010888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testPoorlyBehavedTransform() throws Exception { 4020888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4030888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testPoorlyBehavedTransform(); 4040888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4050888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4060888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRemoveAll_collection() throws Exception { 4070888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4080888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRemoveAll_collection(); 4090888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4100888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4110888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRemoveAll_iterable() throws Exception { 4120888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4130888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRemoveAll_iterable(); 4140888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4150888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRemoveIf_noRandomAccess() throws Exception { 4170888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4180888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRemoveIf_noRandomAccess(); 4190888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4200888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRemoveIf_randomAccess() throws Exception { 4220888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4230888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRemoveIf_randomAccess(); 4240888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4250888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRemoveIf_transformedList() throws Exception { 4270888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4280888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRemoveIf_transformedList(); 4290888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4300888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRetainAll_collection() throws Exception { 4320888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4330888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRetainAll_collection(); 4340888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4350888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testRetainAll_iterable() throws Exception { 4370888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4380888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testRetainAll_iterable(); 4390888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4400888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSize0() throws Exception { 4420888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4430888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSize0(); 4440888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4450888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSize1Collection() throws Exception { 4470888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4480888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSize1Collection(); 4490888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4500888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSize2NonCollection() throws Exception { 4520888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4530888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSize2NonCollection(); 4540888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4550888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSize_collection_doesntIterate() throws Exception { 4570888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4580888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSize_collection_doesntIterate(); 4590888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4600888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_allOfImmutableList_modifiable() throws Exception { 4620888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4630888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_allOfImmutableList_modifiable(); 4640888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4650888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_allOfMutableList_modifiable() throws Exception { 4670888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4680888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_allOfMutableList_modifiable(); 4690888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4700888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_illegalArgument() throws Exception { 4720888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4730888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_illegalArgument(); 4740888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4750888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_nonStructurallyModifiedList() throws Exception { 4770888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4780888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_nonStructurallyModifiedList(); 4790888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4800888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_pastEnd() throws Exception { 4820888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4830888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_pastEnd(); 4840888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4850888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_pastEndList() throws Exception { 4870888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4880888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_pastEndList(); 4890888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4900888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4910888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_removal() throws Exception { 4920888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4930888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_removal(); 4940888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 4950888a09821a98ac0680fad765217302858e70fa4Paul Duffin 4960888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_simple() throws Exception { 4970888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 4980888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_simple(); 4990888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5000888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5010888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_simpleList() throws Exception { 5020888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5030888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_simpleList(); 5040888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5050888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5060888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_skipNone() throws Exception { 5070888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5080888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_skipNone(); 5090888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5100888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5110888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_skipNoneList() throws Exception { 5120888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5130888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_skipNoneList(); 5140888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5150888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_structurallyModifiedSkipAll() throws Exception { 5170888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5180888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_structurallyModifiedSkipAll(); 5190888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5200888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_structurallyModifiedSkipAllList() throws Exception { 5220888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5230888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_structurallyModifiedSkipAllList(); 5240888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5250888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_structurallyModifiedSkipSome() throws Exception { 5270888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5280888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_structurallyModifiedSkipSome(); 5290888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5300888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSkip_structurallyModifiedSkipSomeList() throws Exception { 5320888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5330888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testSkip_structurallyModifiedSkipSomeList(); 5340888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5350888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testToString() throws Exception { 5370888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5380888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testToString(); 5390888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5400888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testTransform() throws Exception { 5420888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5430888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testTransform(); 5440888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5450888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testTryFind() throws Exception { 5470888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5480888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testTryFind(); 5490888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5500888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testUnmodifiableIterable() throws Exception { 5520888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5530888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testUnmodifiableIterable(); 5540888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5550888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testUnmodifiableIterableShortCircuit() throws Exception { 5570888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5580888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.testUnmodifiableIterableShortCircuit(); 5590888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5600888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_nonnull_iterable_no() throws Exception { 5620888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5630888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_nonnull_iterable_no(); 5640888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5650888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_nonnull_iterable_yes() throws Exception { 5670888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5680888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_nonnull_iterable_yes(); 5690888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5700888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_nonnull_set_no() throws Exception { 5720888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5730888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_nonnull_set_no(); 5740888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5750888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_nonnull_set_yes() throws Exception { 5770888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5780888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_nonnull_set_yes(); 5790888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5800888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_null_iterable_no() throws Exception { 5820888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5830888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_null_iterable_no(); 5840888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5850888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_null_iterable_yes() throws Exception { 5870888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5880888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_null_iterable_yes(); 5890888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5900888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5910888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_null_set_no() throws Exception { 5920888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5930888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_null_set_no(); 5940888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 5950888a09821a98ac0680fad765217302858e70fa4Paul Duffin 5960888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void test_contains_null_set_yes() throws Exception { 5970888a09821a98ac0680fad765217302858e70fa4Paul Duffin com.google.common.collect.IterablesTest testCase = new com.google.common.collect.IterablesTest(); 5980888a09821a98ac0680fad765217302858e70fa4Paul Duffin testCase.test_contains_null_set_yes(); 5990888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 6000888a09821a98ac0680fad765217302858e70fa4Paul Duffin} 601