You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: balbhadra_singh <bal...@in...> - 2003-05-20 05:30:45
|
Hi, I am trying to use a complex data type (eg. hashtable of hashtable ) but, in my test.java program i am getting empty hashtable. What could be the problem? Do i need to change .xsd file for this kind of datatype. I am pasting below my .xml file for your reference. <?xml version ="1.0" encoding = "UTF-8"?> <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="File:\\\D:/wsalib/jtestcase-2.xsd"> <class name="BusinessProcessEngineTest"> <!-- global params --> <method name="testExecute" test-case="positive-test"> <params> <param name="isIncluded" type="java.lang.String">Yes</param> <param name="busniessProcesName" type="java.lang.String">Name</param> <param name="inputDataCollection" type="java.util.Hashtable"> <java.util.Map class-type="java.util.Hashtable" key-type="java.lang.String" value-type="java.util.Hashtable"> <item> <key>1</key> <value> <java.util.Map class-type="java.util.Hashtable" key-type="java.lang.String" value-type="java.lang.String"> <item> <key>releaseNumber</key> <value>100</value> </item> <item> <key>releaseDescription</key> <value>Testing Release</value> </item> <item> <key>programNumber</key> <value>ph</value> </item> </java.util.Map> </value> </item> <item> <key>2</key> <value> <java.util.Map class-type="java.util.Hashtable" key-type="java.lang.String" value-type="java.lang.String"> <item> <key>releaseNumber</key> <value>100</value> </item> <item> <key>releaseDescription</key> <value>Testing Release</value> </item> </java.util.Map> </value> </item> </java.util.Map> </param> </params> <asserts> <assert name="result" type="boolean" action="EQUALS">true</assert> </asserts> </method> </class> </tests> Can u figure out what is going wrong? Thanx in advance. Regards, Balbahdra Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now ! |
|
From: Amish S. <am...@me...> - 2002-05-02 17:21:22
|
Does the JTestCase support user defined types like List, Map as parameters to methods etc? Amish |