<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Hi! I'm clsung</title>
	<atom:link href="http://blog.dragon2.net/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.dragon2.net</link>
	<description>clsung's blog site</description>
	<lastBuildDate>Sun, 05 Jul 2009 17:29:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Twitter Weekly Updates for 2009-07-06</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/HKv1yMYMyjs/866.php</link>
		<comments>http://blog.dragon2.net/2009/07/06/866.php#comments</comments>
		<pubDate>Sun, 05 Jul 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/07/06/866.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>馬英九總統說出「接下來要通車的捷運都是我任內所規劃的」，希望以後出事時不要又推給別人。 <a href="http://twitter.com/clsung/statuses/2381011669">#</a></li>
<li>wtf, return ? if iconv() success&#8230;. <a href="http://twitter.com/clsung/statuses/2399200587">#</a></li>
<li>think, too many plurk bots <a href="http://twitter.com/clsung/statuses/2416065429">#</a></li>
<li>headache &#8230; char &lt;-&gt; wchar_t <a href="http://twitter.com/clsung/statuses/2430296910">#</a></li>
<li>劉議員耀仁：跟你們說米有蟲，你們說很正常；跟你們說菜有蟲，你們說這就證明沒有農藥；西松國小的西米露有蟲，這是代表有機嗎？ &#8211; 台北市政總質詢 <a href="http://twitter.com/clsung/statuses/2433498874">#</a></li>
<li>try to write perl 5.10 programs more object-oriented <a href="http://twitter.com/clsung/statuses/2435056446">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/07/06/866.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/07/06/866.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-06-29</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/0PDRmyrfpDw/865.php</link>
		<comments>http://blog.dragon2.net/2009/06/29/865.php#comments</comments>
		<pubDate>Sun, 28 Jun 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/06/29/865.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>gugod 覺得 &#39;那個&#39; 超好用 :p # <a href="http://gugod.org/2009/06/nice.html" rel="nofollow">http://gugod.org/2009/06/nice.html</a> <a href="http://twitter.com/clsung/statuses/2303350203">#</a></li>
<li>reading &quot;Is FreeBSD a better choice for the desktop?&quot; &#8211; <a href="http://tinyurl.com/ljt5bh" rel="nofollow">http://tinyurl.com/ljt5bh</a> <a href="http://twitter.com/clsung/statuses/2304004901">#</a></li>
<li>reading &quot;Google C++ Mocking Framework for Dummies&quot; &#8211; <a href="http://code.google.com/p/googlemock/wiki/ForDummies" rel="nofollow">http://code.google.com/p/googlemock/wiki/ForDummies</a> <a href="http://twitter.com/clsung/statuses/2321652223">#</a></li>
<li>time to install FreeBSD 7.2R to my laptop <a href="http://twitter.com/clsung/statuses/2341240961">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/06/29/865.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/06/29/865.php</feedburner:origLink></item>
		<item>
		<title>From UnitTest++ to GoogleTest</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/tu1Vgb-Rwi8/858.php</link>
		<comments>http://blog.dragon2.net/2009/06/25/858.php#comments</comments>
		<pubDate>Thu, 25 Jun 2009 01:47:12 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[gtest]]></category>
		<category><![CDATA[unittest]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/06/25/858.php</guid>
		<description><![CDATA[<p>We&#8217;ve decided to replace <a href="http://unittest-cpp.sourceforge.net/" title="UnitTest++">UnitTest++</a> with <a href="http://code.google.com/p/googletest/" title="Google Test">googletest</a><br />
<!--more--><br />
The first thing to notice:</p>
<blockquote><p>Remember, when they fail, ASSERT_* yields a fatal failure and returns from the current function, while EXPECT_* yields a nonfatal failure, allowing the function to continue running. In either case, an assertion failure means its containing test fails. </p></blockquote>
<p>Remarkable modification:</p>
<ul>
<li>CHECK => (ASSERT|EXPECT)_TRUE</li>
<li>CHECK_EQUAL => (ASSERT|EXPECT)_EQ</li>
<li>CHECK_EQUAL => (ASSERT|EXPECT)_STREQ (if you&#8217;re comparing strings, such as (char *result)</li>
<li>For <strong>Test Fixture</strong>, <a href="http://unittest-cpp.sourceforge.net/" title="UnitTest++">UnitTest++</a> only provides constructor/destructor for SetUp()/TearDown(), where <a href="http://code.google.com/p/googletest/" title="Google Test">Google Test</a> provides SetUp()/TearDown().</li>
<blockquote><p>Note that different tests in the same test case have different test fixture objects, and Google Test always deletes a test fixture before it creates the next one. Google Test does not reuse the same test fixture for multiple tests. Any changes one test makes to the fixture do not affect other tests.</p></blockquote>
</ul>
<p>The best thing what unittest++ doesn&#8217;t have, but gtest has:</p>
<ul>
<li><a href="http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Getting_the_Current_Test%27s_Name">Getting the Current Test&#8217;s Name</a></li>
<blockquote><p>Sometimes a function may need to know the name of the currently running test. For example, you may be using the SetUp() method of your test fixture to set the golden file name based on which test is running.</p></blockquote>
</ul>
<p>Reference:</p>
<ul>
<li><a href="http://cpptesting.blogspot.com/" title="Musings on C++ Testing Tools">Musings on C++ Testing Tools</a></li>
<li><a href="http://code.google.com/p/googlemock/" title="Google Mock">Google Mock</a></li>
<li><a href="http://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html">玩转Google开源C++单元测试框架Google Test系列(gtest)(总)</a>玩转Google开源C++单元测试框架Google Test系列(gtest)(总)</li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/06/25/858.php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/06/25/858.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-06-22</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/DeR64dtua7c/857.php</link>
		<comments>http://blog.dragon2.net/2009/06/22/857.php#comments</comments>
		<pubDate>Sun, 21 Jun 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/06/22/857.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>raining&#8230; <a href="http://twitter.com/clsung/statuses/2189672106">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/06/22/857.php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/06/22/857.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-06-15</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/Glfu3fpONA4/856.php</link>
		<comments>http://blog.dragon2.net/2009/06/15/856.php#comments</comments>
		<pubDate>Sun, 14 Jun 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/06/15/856.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>Generate XML in Perl by using Template::Declare &#8211; <a href="http://tinyurl.com/ly56wy" rel="nofollow">http://tinyurl.com/ly56wy</a> <a href="http://twitter.com/clsung/statuses/2098393344">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/06/15/856.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/06/15/856.php</feedburner:origLink></item>
		<item>
		<title>Wordpress 2.8</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/VKfEpI0lEf8/855.php</link>
		<comments>http://blog.dragon2.net/2009/06/14/855.php#comments</comments>
		<pubDate>Sun, 14 Jun 2009 03:10:34 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/06/14/855.php</guid>
		<description><![CDATA[<p>第一次使用內建的更新程式，看來是成功了 <img src='http://blog.dragon2.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/06/14/855.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/06/14/855.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-06-08</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/PmKkGhScVXo/851.php</link>
		<comments>http://blog.dragon2.net/2009/06/08/851.php#comments</comments>
		<pubDate>Sun, 07 Jun 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/06/08/851.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>六四到了，馬總統講的話完全沒有重點 <a href="http://twitter.com/clsung/statuses/2023487667">#</a></li>
<li>六四就這樣過了 <a href="http://twitter.com/clsung/statuses/2036453642">#</a></li>
<li>徒具形式的開發流程固然可怕，但半吊子的輕量級開發，也是兇險異常。 &#8211; <a href="http://tinyurl.com/rasys6" rel="nofollow">http://tinyurl.com/rasys6</a> <a href="http://twitter.com/clsung/statuses/2038022725">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/06/08/851.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/06/08/851.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-05-25</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/xhQkkr2UH20/850.php</link>
		<comments>http://blog.dragon2.net/2009/05/25/850.php#comments</comments>
		<pubDate>Sun, 24 May 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/05/25/850.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>RT: @<a href="http://twitter.com/hcchien">hcchien</a> 喜歡拍照的可以看一下 <a href="http://tinyurl.com/psfnuv" rel="nofollow">http://tinyurl.com/psfnuv</a> <a href="http://twitter.com/clsung/statuses/1866929137">#</a></li>
<li>fixed ubuntu tracker indexer problem via command &#8216;% tracker-processes -r # &#8211;hard-reset&#8217; <a href="http://twitter.com/clsung/statuses/1879160746">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/05/25/850.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/05/25/850.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-05-18</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/ucQ6-Fq4Ieo/849.php</link>
		<comments>http://blog.dragon2.net/2009/05/18/849.php#comments</comments>
		<pubDate>Sun, 17 May 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/05/18/849.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>This is the first time my FF didn&#8217;t crash in the weekend&#8230; <a href="http://twitter.com/clsung/statuses/1758481963">#</a></li>
<li>irc channel -&gt; #cpp-tw <a href="http://twitter.com/clsung/statuses/1793158197">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/05/18/849.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/05/18/849.php</feedburner:origLink></item>
		<item>
		<title>Twitter Weekly Updates for 2009-05-04</title>
		<link>http://feedproxy.google.com/~r/clsung/~3/IX5lcDU4pck/848.php</link>
		<comments>http://blog.dragon2.net/2009/05/04/848.php#comments</comments>
		<pubDate>Sun, 03 May 2009 17:29:00 +0000</pubDate>
		<dc:creator>clsung</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.dragon2.net/2009/05/04/848.php</guid>
		<description><![CDATA[<ul class="aktt_tweet_digest">
<li>rTwT: @<a href="http://twitter.com/jserv">jserv</a> 0xlab <a href="http://www.0xlab.org/" rel="nofollow">http://www.0xlab.org/</a> <a href="http://twitter.com/clsung/statuses/1625442771">#</a></li>
<li>wtf, no time() on WinCE? <a href="http://twitter.com/clsung/statuses/1625794983">#</a></li>
<li>ok, so svk pe svm:mirror /repo/ does help <a href="http://twitter.com/clsung/statuses/1627742147">#</a></li>
<li>good, <a href="http://tinyurl.com/clhzap" rel="nofollow">http://tinyurl.com/clhzap</a> <a href="http://twitter.com/clsung/statuses/1657451569">#</a></li>
<li>hey, Natural Language Processing with Python &#8211; <a href="http://oreilly.com/catalog/9780596516499/" rel="nofollow">http://oreilly.com/catalog/9780596516499/</a> <a href="http://twitter.com/clsung/statuses/1657458802">#</a></li>
</ul>
]]></description>
		<wfw:commentRss>http://blog.dragon2.net/2009/05/04/848.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dragon2.net/2009/05/04/848.php</feedburner:origLink></item>
	</channel>
</rss>
