Searched refs:expectedNames (Results 1 – 6 of 6) sorted by relevance
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | ClassTypeTests.java | 49 private void assertAllMethodNames(List<String> expectedNames, in assertAllMethodNames() argument 53 assertTrue(expectedNames.contains(clazz.getClassName())); in assertAllMethodNames() 119 private Map<String, List<String>> getExpectedMethodsMap(List<String> expectedNames, in getExpectedMethodsMap() argument 121 return getExpectedMethodsMap(expectedNames, clazz, new String[0]); in getExpectedMethodsMap() 124 private Map<String, List<String>> getExpectedMethodsMap(List<String> expectedNames, in getExpectedMethodsMap() argument 127 expectedMethods.put(expectedNames.get(0), new ArrayList<String>(Arrays.asList(new String[] { in getExpectedMethodsMap() 129 expectedMethods.put(expectedNames.get(1), new ArrayList<String>(Arrays.asList(new String[] { in getExpectedMethodsMap() 131 expectedMethods.get(expectedNames.get(0)).addAll( in getExpectedMethodsMap() 133 expectedMethods.get(expectedNames.get(1)).addAll( in getExpectedMethodsMap() 149 List<String> expectedNames = getExpectedNames(ClassHasDelegateMethods.class); in testClassHasDelegateMethods() local [all …]
|
D | AndroidMockGeneratorTest.java | 80 List<String> expectedNames = new ArrayList<String>(); in getExpectedNamesForObjectClass() local 81 expectedNames.addAll(Arrays.asList(new String[] {"clone", "finalize"})); in getExpectedNamesForObjectClass() 82 return expectedNames; in getExpectedNamesForObjectClass() 86 List<String> expectedNames = getExpectedNamesForObjectClass(); in getExpectedNamesForNumberClass() local 87 expectedNames.addAll(Arrays.asList(new String[] {"byteValue", "doubleValue", "floatValue", in getExpectedNamesForNumberClass() 90 expectedNames.addAll(Arrays.asList(new String[] {"getDelegate___AndroidMock", in getExpectedNamesForNumberClass() 93 return expectedNames; in getExpectedNamesForNumberClass() 97 List<String> expectedNames = getExpectedNamesForNumberClass(); in getExpectedNamesForBigIntegerClass() local 98 expectedNames.addAll(Arrays.asList(new String[] {"abs", "add", "and", "andNot", "bitCount", in getExpectedNamesForBigIntegerClass() 104 return expectedNames; in getExpectedNamesForBigIntegerClass() [all …]
|
D | AndroidFrameworkMockGeneratorTest.java | 93 List<String> expectedNames = new ArrayList<String>(); in testCreateMockForClass() local 94 expectedNames.addAll(Arrays.asList(new String[] { in testCreateMockForClass() 98 assertUnorderedContentsSame(expectedNames, actualNames); in testCreateMockForClass()
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
D | SubstituteLoggerFactoryTest.java | 49 Set<String> expectedNames = new HashSet<String>(Arrays.asList("foo1", "foo2")); in testLoggerNameList() local 52 assertEquals(expectedNames, actualNames); in testLoggerNameList() 59 Set<String> expectedNames = new HashSet<String>(Arrays.asList("foo1", "foo2")); in testLoggers() local 66 assertEquals(expectedNames, actualNames); in testLoggers()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cucdapi.c | 199 const char* expectedNames[]={ in TestUScriptCodeAPI() local 214 if(strcmp(expectedNames[i],name)!=0){ in TestUScriptCodeAPI() 215 log_err("Error getting abbreviations Got: %s Expected: %s\n",name,expectedNames[i]); in TestUScriptCodeAPI()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | TestUScript.java | 278 final String[] expectedNames={ in TestGetName() local 288 if(!expectedNames[i].equals(scriptName)){ in TestGetName() 289 … logln("Error getting abbreviations Got: " +scriptName +" Expected: "+expectedNames[i]); in TestGetName()
|