net.sf.jsefa.test.xml
Class ShortSyntaxMapTypeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jsefa.test.xml.ShortSyntaxMapTypeTest
All Implemented Interfaces:
junit.framework.Test

public class ShortSyntaxMapTypeTest
extends junit.framework.TestCase

Test to test maps whereas the type of the map keys and values is determinable from the generic argument of the map field.

Author:
Norman Lahme-Huetig

Constructor Summary
ShortSyntaxMapTypeTest()
           
 
Method Summary
 void testExplicitListWithStringElements()
          Tests an explicit map with String keys and Integer values.
 void testImplicitListWithStringElements()
          Tests an implicit map with String keys and Integer values.
 
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

ShortSyntaxMapTypeTest

public ShortSyntaxMapTypeTest()
Method Detail

testExplicitListWithStringElements

public void testExplicitListWithStringElements()
Tests an explicit map with String keys and Integer values.


testImplicitListWithStringElements

public void testImplicitListWithStringElements()
Tests an implicit map with String keys and Integer values.



Copyright © 2014. All rights reserved.