/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
D | GLMessageFormatterTest.java | 66 String expected = String.format("glBindBuffer(target = %s, buffer = %s)", in testBindBuffer() local 71 assertEquals(expected, actual); in testBindBuffer() 83 String expected = String.format("%s(name = %s) = (const GLchar*) %s", Function.glGetString, in testGlGetString() local 87 assertEquals(expected, actual); in testGlGetString() 98 String expected = "eglBindAPI(arg = GL_POINTS) = (GLenum) GL_NO_ERROR"; in testGLEnum0() local 101 assertEquals(expected, actual); in testGLEnum0() 111 String expected = "glTexImage2D(level = 1, width = 2, pixels = 0xbadc0ffe)"; in testMessageWithPointer() local 114 assertEquals(expected, actual); in testMessageWithPointer() 124 String expected = "glMultMatrixf(m = 0xbadc0ffe)"; in testMessageWithMismatchedPointer() local 127 assertEquals(expected, actual); in testMessageWithMismatchedPointer() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | Predicates.java | 23 public IntegerPropertyEqualsPredicate(Integer expected) { in IntegerPropertyEqualsPredicate() argument 24 mExpected = expected.intValue(); in IntegerPropertyEqualsPredicate() 33 public static IPredicate matchesInteger(int expected) { in matchesInteger() argument 34 return new IntegerPropertyEqualsPredicate(expected); in matchesInteger()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SwtUtilsTest.java | 71 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); in testImageConvertNoAlpha() local 73 assertEquals(expected, actual); in testImageConvertNoAlpha() 125 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); in testImageConvertGlobalAlpha() local 127 assertEquals(expected, actual); in testImageConvertGlobalAlpha() 155 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); in testImageConvertAlpha() local 157 assertEquals(expected, actual); in testImageConvertAlpha() 192 RGB expected = inPalette.getRGB( inImage.getRGB( x, y)); in testImageConvertAlphaMultiplied() local 194 assertEquals(expected, actual); in testImageConvertAlphaMultiplied() 258 RGB expected = new RGB(r, g, 0); in testCrop1() local 260 assertEquals(expected, actual); in testCrop1() [all …]
|
D | SimpleElementTest.java | 36 private static void assertArrayEquals(Object[] expected, Object[] actual) { in assertArrayEquals() argument 37 if (!Arrays.equals(expected, actual)) { in assertArrayEquals() 40 String strExpected = expected == null ? "(null)" : Arrays.toString(expected); in assertArrayEquals() 45 expected == null ? 0 : expected.length, in assertArrayEquals()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/ |
D | ApplicationPackageNameRefactoringTest.java | 108 @NonNull String expected) throws Exception { in renamePackage() argument 110 renamePackage(project, newName, expected); in renamePackage() 116 @NonNull String expected) throws Exception { in renamePackage() argument 126 checkRefactoring(refactoring, expected); in renamePackage()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | EclipseXmlPrettyPrinterTest.java | 49 String expected, String delimiter, String startNodeName, in checkFormat() argument 80 if (!expected.equals(formatted)) { in checkFormat() 83 assertEquals(expected, formatted); in checkFormat() 116 String expected, String delimiter) throws Exception { in checkFormat() argument 117 checkFormat(prefs, baseLocation, xml, expected, delimiter, null, false, null); in checkFormat() 121 String expected) throws Exception { in checkFormat() argument 122 checkFormat(prefs, baseLocation, xml, expected, "\n"); //$NON-NLS-1$ in checkFormat() 124 private void checkFormat(String baseLocation, String xml, String expected) in checkFormat() argument 127 checkFormat(prefs, baseLocation, xml, expected); in checkFormat()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceParticipantTest.java | 342 @NonNull String expected) throws Exception { in renameResource() argument 343 renameResource(testData, resource, updateReferences, newName, expected, null); in renameResource() 351 @NonNull String expected, in renameResource() argument 354 renameResource(project, resource, updateReferences, newName, expected, expectedWarnings); in renameResource() 362 @NonNull String expected, in renameResource() argument 400 checkRefactoring(refactoring, expected, expectedWarnings); in renameResource()
|
D | AndroidPackageRenameParticipantTest.java | 207 @NonNull String expected, in renamePackage() argument 212 renamePackage(project, renameSubpackages, updateReferences, newName, expected, in renamePackage() 221 @NonNull String expected, in renamePackage() argument 235 checkRefactoring(refactoring, expected, expectedWarnings); in renamePackage()
|
D | RefactoringTestBase.java | 54 protected void checkRefactoring(Refactoring refactoring, String expected) throws Exception { in checkRefactoring() argument 55 checkRefactoring(refactoring, expected, null); in checkRefactoring() 63 protected void checkRefactoring(Refactoring refactoring, String expected, in checkRefactoring() argument 87 if (!expected.trim().equals(explanation.trim())) { // allow trimming endlines in expected in checkRefactoring() 88 assertEquals(expected, explanation); in checkRefactoring()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategyTest.java | 32 String expected, XmlFormatPreferences prefs) in check() argument 61 assertEquals(expected, contents); in check() 67 String before, String insert, String expected, in check() argument 78 check(before, replaceStart, replaceEnd, insert, expected, prefs); in check()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | FmEscapeXmlTextMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmExtractLettersMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmActivityToLayoutMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmEscapeXmlAttributeMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmSlashedPackageNameMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmCamelCaseToUnderscoreMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmLayoutToActivityMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmUnderscoreToCamelCaseMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmEscapeXmlStringMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
D | FmClassNameToResourceMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { in check() argument 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString()); in check()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidDoubleClickStrategyTest.java | 54 private void checkWord(String before, String expected) throws Exception { in checkWord() argument 69 assertEquals(expected, after); in checkWord()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | AndroidTypeRenameParticipantTest.java | 141 @NonNull String expected) throws Exception { in renameType() argument 158 checkRefactoring(refactoring, expected); in renameType()
|
D | AndroidTypeMoveParticipantTest.java | 105 @NonNull String expected) throws Exception { in moveType() argument 133 checkRefactoring(refactoring, expected); in moveType()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | LayoutTestBase.java | 165 public static void assertContainsSame(Collection<String> expected, Collection<String> actual) { in assertContainsSame() argument 166 if (expected.size() != actual.size()) { in assertContainsSame() 167 fail("Collection sizes differ; expected " + expected.size() + " but was " in assertContainsSame() 173 List<String> expectedList = new ArrayList<String>(expected); in assertContainsSame()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | ValueCompleterTest.java | 42 List<String> expected) { in checkCompletion() argument 55 assertEquals(expected.toString(), actual.toString()); in checkCompletion()
|