Title: [1410] trunk/qdox/src/test/java/com/thoughtworks/qdox/model/_expression_/CastTest.java: Let CastTest use JavaType instead of Type
Revision
1410
Author
rfscholte
Date
2011-10-12 15:08:53 -0500 (Wed, 12 Oct 2011)

Log Message

Let CastTest use JavaType instead of Type

Modified Paths


Diff

Modified: trunk/qdox/src/test/java/com/thoughtworks/qdox/model/_expression_/CastTest.java (1409 => 1410)

--- trunk/qdox/src/test/java/com/thoughtworks/qdox/model/_expression_/CastTest.java	2011-10-12 20:06:16 UTC (rev 1409)
+++ trunk/qdox/src/test/java/com/thoughtworks/qdox/model/_expression_/CastTest.java	2011-10-12 20:08:53 UTC (rev 1410)
@@ -7,15 +7,14 @@
 
 import org.junit.Test;
 
-import com.thoughtworks.qdox.model.Type;
+import com.thoughtworks.qdox.model.JavaType;
 
-
 public class CastTest
 {
     @Test
     public void testParameterValue()
     {
-        Type type = mock(Type.class);
+        JavaType type = mock(JavaType.class);
         AnnotationValue value = mock( AnnotationValue.class );
         when( type.getCanonicalName() ).thenReturn( "int" );
         when( value.getParameterValue() ).thenReturn( "3" );
@@ -26,7 +25,7 @@
     @Test
     public void testToString()
     {
-        Type type = mock(Type.class);
+        JavaType type = mock(JavaType.class);
         AnnotationValue value = mock( AnnotationValue.class );
         Cast expr = new Cast( type, value );
         assertEquals( "(" +type+ ") " + value, expr.toString() );


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to