diff options
author | Siva Velusamy <vsiva@google.com> | 2013-07-25 16:02:46 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2013-07-25 16:03:12 -0700 |
commit | d17e34217f9790cafb84faa1247f9afa0c4223ee (patch) | |
tree | 630c4fd03756e0227ea5c7fcdbf96d5b91089479 /eclipse/plugins | |
parent | 991c78d61548eaec24715f566225878495583af3 (diff) | |
download | sdk-d17e34217f9790cafb84faa1247f9afa0c4223ee.zip sdk-d17e34217f9790cafb84faa1247f9afa0c4223ee.tar.gz sdk-d17e34217f9790cafb84faa1247f9afa0c4223ee.tar.bz2 |
Fix gldebugger formatter test
Change-Id: Ife2254ec1e1500d36d68add788bfa7699d9eb2fa
Diffstat (limited to 'eclipse/plugins')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/GLMessageFormatterTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/GLMessageFormatterTest.java b/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/GLMessageFormatterTest.java index afbc09a..5d18041 100644 --- a/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/GLMessageFormatterTest.java +++ b/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/GLMessageFormatterTest.java @@ -60,7 +60,7 @@ public class GLMessageFormatterTest { int arg2 = 10; GLMessage msg = constructGLMessage(null, Function.glBindBuffer, - createEnumDataType(arg1.value), + createEnumDataType((int)arg1.value), createIntegerDataType(arg2)); String expected = String.format("glBindBuffer(target = %s, buffer = %s)", @@ -79,7 +79,7 @@ public class GLMessageFormatterTest { GLMessage msg = constructGLMessage( createStringDataType(retValue), Function.glGetString, - createEnumDataType(arg1.value)); + createEnumDataType((int)arg1.value)); String expected = String.format("%s(name = %s) = (const GLchar*) %s", Function.glGetString, arg1.toString(), retValue); String actual = sGLMessageFormatter.formatGLMessage(msg); @@ -132,7 +132,7 @@ public class GLMessageFormatterTest { //void, glGetActiveAttrib, GLenum* type GLMessage msg = constructGLMessage(null, Function.glGetActiveAttrib, - createIntegerPointerDataType(GLEnum.GL_FLOAT_MAT4.value)); + createIntegerPointerDataType((int)GLEnum.GL_FLOAT_MAT4.value)); String expected = "glGetActiveAttrib(type = [GL_FLOAT_MAT4])"; String actual = sGLMessageFormatter.formatGLMessage(msg); |