org.springframework.binding.support
Class ReflectionAnnotationTranslatorTests

Show UML class diagram
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.binding.support.ReflectionAnnotationTranslatorTests
All Implemented Interfaces:
junit.framework.Test

public class ReflectionAnnotationTranslatorTests
extends junit.framework.TestCase

Since:
May 8, 2006 4:18:44 PM
Author:
andy

Constructor Summary
ReflectionAnnotationTranslatorTests()
           
 
Method Summary
 void testMultiValueAnnotation()
           
 void testNoValueAnnotation()
           
 void testSingleValueAnnotation()
           
 void testSingleValueAnnotationWithDefaultValue()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReflectionAnnotationTranslatorTests

public ReflectionAnnotationTranslatorTests()
Method Detail

testNoValueAnnotation

@NoValueAnnotation
public void testNoValueAnnotation()
                           throws Exception
Throws:
Exception

testSingleValueAnnotation

@SingleValueAnnotation(value="Hello, world!")
public void testSingleValueAnnotation()
                               throws Exception
Throws:
Exception

testSingleValueAnnotationWithDefaultValue

@SingleValueAnnotation
public void testSingleValueAnnotationWithDefaultValue()
                                               throws Exception
Throws:
Exception

testMultiValueAnnotation

@MultiValueAnnotation(name="John Doe",
                      age=25.5,
                      rank=10)
public void testMultiValueAnnotation()
                              throws Exception
Throws:
Exception


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.