<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Unit Testing and XML serialization</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Unit Testing and XML serialization</description>
  <pubDate>Sat, 11 Apr 2026 08:28:08 -700</pubDate>
  <lastBuildDate>Wed, 07 Apr 2010 17:56:16 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1688</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Unit Testing and XML serialization : Tim,   Yes, one of our customers...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1688&amp;PID=6457#6457</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1688<br /><strong>Posted:</strong> 07-Apr-2010 at 5:56pm<br /><br />Tim, <DIV>&nbsp;</DIV><DIV>Yes, one of our customers did exactly this when developing&nbsp;the UFC Gyms Touch App and&nbsp;performed development and testing without the database.&nbsp;</DIV><OL><LI>First, you need to get some sample entities.&nbsp;&nbsp;Either query&nbsp;them from a real database or&nbsp;alternatively, create new entities, set their&nbsp;properties, and add them to the EntityManager.</LI><LI>Second, save the EntityManager's cache to a file by calling EntityManager.CacheStateManager.SaveCacheState().</LI><LI>Now you can load the cache using RestoreCacheState() and operate fully disconnected from the database.</LI></OL><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 07 Apr 2010 17:56:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1688&amp;PID=6457#6457</guid>
  </item> 
  <item>
   <title>Unit Testing and XML serialization : Is there any way to create an...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1688&amp;PID=6364#6364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=643" rel="nofollow">downeytim</a><br /><strong>Subject:</strong> 1688<br /><strong>Posted:</strong> 16-Mar-2010 at 6:10am<br /><br />Is there any way to create an XML file that contains entities to be used to load the EntityManager with and run unit tests.&nbsp; We want to create a "mock" situation where we can run unit tests without have a DB present.&nbsp; We want to create an XML file that contains the data for the tests, load it into a disconnected EntityManager, run our tests and check the results.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 16 Mar 2010 06:10:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1688&amp;PID=6364#6364</guid>
  </item> 
 </channel>
</rss>