/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
D | BundleCoverageImplTest.java | 100 assertEquals(Collections.singletonList(ca), p1.getClasses()); in testGroupByPackage() 105 assertEquals(Collections.singletonList(cb), p2.getClasses()); in testGroupByPackage() 106 assertEquals(Collections.singletonList(sb), p2.getSourceFiles()); in testGroupByPackage() 111 assertEquals(Collections.singletonList(sc), p3.getSourceFiles()); in testGroupByPackage()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | SingletonImmutableList.java | 20 import static java.util.Collections.singletonList; 38 this.delegate = singletonList(checkNotNull(element)); in SingletonImmutableList()
|
/external/testng/src/test/java/test/testnames/ |
D | TestNamesTest.java | 17 tng.setTestNames(Collections.singletonList("testGroup2")); in checkWithoutChildSuites() 18 … tng.setTestSuites(Collections.singletonList(getPathToResource("testnames/upstream-suite.xml"))); in checkWithoutChildSuites()
|
/external/testng/src/test/java/test/asserttests/ |
D | ArrayEqualityAssertTest.java | 144 List<List<int[]>> list = Collections.singletonList(Arrays.asList(new int[]{ 42 })); in arrayDeepInListsAssertEquals() 145 List<List<int[]>> listCopy = Collections.singletonList(Arrays.asList(new int[]{ 42 })); in arrayDeepInListsAssertEquals() 206 List<List<int[]>> iterable = Collections.singletonList(Arrays.asList(new int[]{ 42 })); in arrayDeepInIterablesAssertEquals() 207 List<List<int[]>> iterableCopy = Collections.singletonList(Arrays.asList(new int[]{ 42 })); in arrayDeepInIterablesAssertEquals()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
D | CounterColumnTest.java | 100 column.init(Collections.singletonList(item), item.getNode()); in testItemTotal() 113 column.init(Collections.singletonList(item), item.getNode()); in testItemMissed() 126 column.init(Collections.singletonList(item), item.getNode()); in testItemCovered() 139 column.init(Collections.singletonList(item), item.getNode()); in testLocale() 152 column.init(Collections.singletonList(item), item.getNode()); in testFooter()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
D | TimeStampRespTest.java | 54 Collections.singletonList(statusString), in testGetEncoded() 92 .singletonList(new AlgorithmIdentifier(sha1)), tSTInfoEncoded, in testGetEncoded() 93 null, null, Collections.singletonList(sigInfo)); in testGetEncoded()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ListsTest.java | 22 import static java.util.Collections.singletonList; 235 new IteratorTester<String>(3, UNMODIFIABLE, singletonList("foo"), in testAsList1Small() 553 List<Integer> source = Collections.singletonList(1); in testPartition_badSize() 569 List<Integer> source = Collections.singletonList(1); in testPartition_1_1() 572 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_1() 576 List<Integer> source = Collections.singletonList(1); in testPartition_1_2() 579 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_2() 586 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_2_1() 587 assertEquals(Collections.singletonList(2), partitions.get(1)); in testPartition_2_1()
|
D | ImmutableListTest.java | 52 assertEquals(Collections.singletonList("a"), list); in testCreation_oneElement() 163 assertEquals(Collections.singletonList(array), list); in testCreation_arrayOfArray() 175 assertEquals(Collections.singletonList("a"), list); in testCopyOf_arrayOfOneElement() 205 assertEquals(Collections.singletonList("a"), list); in testCopyOf_collection_oneElement() 236 assertEquals(Collections.singletonList("a"), list); in testCopyOf_iterator_oneElement()
|
D | IterablesTest.java | 140 Iterable<String> iterable = Collections.singletonList("foo"); 163 Iterable<String> iterable = Collections.singletonList("foo"); 400 assertEquals(Collections.singletonList(1), partitions.iterator().next()); 523 Iterable<String> singletonList = Collections.singletonList("foo"); 524 assertFalse(Iterables.isEmpty(singletonList)); 725 Iterable<String> iterable = Collections.singletonList("foo"); 763 Iterable<String> iterable = Collections.singletonList("foo");
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | CollectionAddAllTester.java | 24 import static java.util.Collections.singletonList; 130 List<E> containsNull = singletonList(null); in testAddAll_nullSupported() 143 List<E> containsNull = singletonList(null); in testAddAll_nullUnsupported()
|
D | MapPutAllTester.java | 24 import static java.util.Collections.singletonList; 56 containsNullKey = singletonList(entry(null, samples.e3.getValue())); in setUp() 57 containsNullValue = singletonList(entry(samples.e3.getKey(), null)); in setUp()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | CollectionAddAllTester.java | 24 import static java.util.Collections.singletonList; 133 List<E> containsNull = singletonList(null); in testAddAll_nullSupported() 146 List<E> containsNull = singletonList(null); in testAddAll_nullUnsupported()
|
D | ListAddAllAtIndexTester.java | 23 import static java.util.Collections.singletonList; 111 List<E> containsNull = singletonList(null); in testAddAllAtIndex_nullSupported() 124 List<E> containsNull = singletonList(null); in testAddAllAtIndex_nullUnsupported()
|
D | MapPutAllTester.java | 24 import static java.util.Collections.singletonList; 59 containsNullKey = singletonList(entry(null, samples.e3.getValue())); in setUp() 60 containsNullValue = singletonList(entry(samples.e3.getKey(), null)); in setUp()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | CookiesTest.java | 269 result.put("Cookie", Collections.singletonList("Bar=bar")); in testHeadersSentToCookieHandler() 270 result.put("Cookie2", Collections.singletonList("Baz=baz")); in testHeadersSentToCookieHandler() 271 result.put("Quux", Collections.singletonList("quux")); in testHeadersSentToCookieHandler() 321 result.put("COOKIE", Collections.singletonList("Bar=bar")); in testCookiesSentIgnoresCase() 322 result.put("cooKIE2", Collections.singletonList("Baz=baz")); in testCookiesSentIgnoresCase()
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | DefaultValueTest.java | 90 this.list = singletonList("defaultValue"); in MyOptsWithDefaultValues() 102 public static final List<String> singletonList(String value) { in singletonList() method in DefaultValueTest
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ListsTest.java | 23 import static java.util.Collections.singletonList; 439 new IteratorTester<String>(3, UNMODIFIABLE, singletonList("foo"), in testAsList1Small() 798 List<Integer> source = Collections.singletonList(1); in testPartition_badSize() 814 List<Integer> source = Collections.singletonList(1); in testPartition_1_1() 817 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_1() 821 List<Integer> source = Collections.singletonList(1); in testPartition_1_2() 824 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_1_2() 831 assertEquals(Collections.singletonList(1), partitions.get(0)); in testPartition_2_1() 832 assertEquals(Collections.singletonList(2), partitions.get(1)); in testPartition_2_1()
|
D | IterablesTest.java | 146 Iterable<String> iterable = Collections.singletonList("foo"); 169 Iterable<String> iterable = Collections.singletonList("foo"); 201 Iterable<String> iterable = Collections.singletonList("a"); 437 assertEquals(Collections.singletonList(1), partitions.iterator().next()); 588 Iterable<String> singletonList = Collections.singletonList("foo"); 589 assertFalse(Iterables.isEmpty(singletonList)); 810 Iterable<String> iterable = Collections.singletonList("foo"); 848 Iterable<String> iterable = Collections.singletonList("foo");
|
/external/autotest/frontend/client/src/autotest/tko/embedded_spreadsheet/ |
D | EmbeddedSpreadsheetPresenter.java | 50 Collections.singletonList((HeaderField) new SimpleHeaderField(ROW_HEADER)); 52 Collections.singletonList((HeaderField) new SimpleHeaderField(COLUMN_HEADER));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | IteratorTestSuiteBuilder.java | 35 return Collections.<Class<? extends AbstractTester>>singletonList( in getTesters()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
D | AbstractAppleMetaDataBox.java | 26 return Collections.singletonList((Box) appleDataBox); in getBoxes() 44 return (List<T>) Collections.singletonList(appleDataBox); in getBoxes()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | HeaderSection.java | 43 this.list = Collections.singletonList(item); in HeaderSection()
|
/external/jarjar/src/test/com/tonicsystems/jarjar/ |
D | PackageRemapperTest.java | 32 remapper = new PackageRemapper(Collections.singletonList(rule), false); in setUp()
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 204 return Collections.singletonList(getEntry(path)); in listFiles() 232 return Collections.singletonList(getName(path)); in listNames() 499 return Collections.singletonList(""); in normalizedComponents()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 205 return Collections.singletonList(getEntry(path)); in listFiles() 233 return Collections.singletonList(getName(path)); in listNames() 508 return Collections.singletonList(""); in normalizedComponents()
|