<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 5 Days of Wicket &#8211; Writing the tests</title>
	<atom:link href="http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/</link>
	<description>to our success!</description>
	<lastBuildDate>Fri, 16 Jul 2010 06:25:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tom</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-3172</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 04 May 2010 16:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-3172</guid>
		<description>Hi there.

I&#039;ve been following the series and checked out the code for mysticpaste via your repository. I&#039;ve setup my own project with a simple shoutbox, but I haven&#039;t been able to run tests by following this tutorial and by looking at your test modules in the repository.

I have made sure that the unitils property file is the same as yours and that it is loaded by the mvn test goal. When starting up, however, one of the lines from the console output says: INFO - Dialect: using org.hibernate.dialect.PostgreSQLDialect even though my unitils.properties has the database.dialect=hsqldb line set.

Could you have a look at let me know if you&#039;ve seen this before?

When I run mvn test the tests fail, and it all boils down to this exception:

Caused by: java.sql.SQLException: Table not found in statement [select relname from pg_class]
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
	at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
	at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
	at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:188)
	at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:151)
	at org.hibernate.tool.hbm2ddl.DatabaseMetadata.(DatabaseMetadata.java:69)
	at org.hibernate.tool.hbm2ddl.DatabaseMetadata.(DatabaseMetadata.java:62)
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean$3.doInHibernate(LocalSessionFactoryBean.java:958)
	at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
	... 49 more</description>
		<content:encoded><![CDATA[<p>Hi there.</p>
<p>I&#8217;ve been following the series and checked out the code for mysticpaste via your repository. I&#8217;ve setup my own project with a simple shoutbox, but I haven&#8217;t been able to run tests by following this tutorial and by looking at your test modules in the repository.</p>
<p>I have made sure that the unitils property file is the same as yours and that it is loaded by the mvn test goal. When starting up, however, one of the lines from the console output says: INFO &#8211; Dialect: using org.hibernate.dialect.PostgreSQLDialect even though my unitils.properties has the database.dialect=hsqldb line set.</p>
<p>Could you have a look at let me know if you&#8217;ve seen this before?</p>
<p>When I run mvn test the tests fail, and it all boils down to this exception:</p>
<p>Caused by: java.sql.SQLException: Table not found in statement [select relname from pg_class]<br />
	at org.hsqldb.jdbc.Util.sqlException(Unknown Source)<br />
	at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)<br />
	at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)<br />
	at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:188)<br />
	at org.hibernate.tool.hbm2ddl.DatabaseMetadata.initSequences(DatabaseMetadata.java:151)<br />
	at org.hibernate.tool.hbm2ddl.DatabaseMetadata.(DatabaseMetadata.java:69)<br />
	at org.hibernate.tool.hbm2ddl.DatabaseMetadata.(DatabaseMetadata.java:62)<br />
	at org.springframework.orm.hibernate3.LocalSessionFactoryBean$3.doInHibernate(LocalSessionFactoryBean.java:958)<br />
	at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)<br />
	&#8230; 49 more</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phentermine</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-3163</link>
		<dc:creator>phentermine</dc:creator>
		<pubDate>Wed, 07 Apr 2010 15:38:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-3163</guid>
		<description>Hello!
&lt;a href=&quot;http://elysiumguild.us/Forum/members/BuyPhentermine.aspx&quot; rel=&quot;nofollow&quot;&gt;phentermine&lt;/a&gt; , &lt;a href=&quot;http://painterfactory.com/members/BuyCialis.aspx&quot; rel=&quot;nofollow&quot;&gt;cialis&lt;/a&gt; , &lt;a href=&quot;http://elysiumguild.us/Forum/members/BuyViagra.aspx&quot; rel=&quot;nofollow&quot;&gt;viagra&lt;/a&gt; , &lt;a href=&quot;http://elysiumguild.us/Forum/members/BuyXanax.aspx&quot; rel=&quot;nofollow&quot;&gt;xanax&lt;/a&gt; , &lt;a href=&quot;http://elysiumguild.us/Forum/members/BuyTramadol.aspx&quot; rel=&quot;nofollow&quot;&gt;tramadol&lt;/a&gt; ,</description>
		<content:encoded><![CDATA[<p>Hello!<br />
<a href="http://elysiumguild.us/Forum/members/BuyPhentermine.aspx" rel="nofollow">phentermine</a> , <a href="http://painterfactory.com/members/BuyCialis.aspx" rel="nofollow">cialis</a> , <a href="http://elysiumguild.us/Forum/members/BuyViagra.aspx" rel="nofollow">viagra</a> , <a href="http://elysiumguild.us/Forum/members/BuyXanax.aspx" rel="nofollow">xanax</a> , <a href="http://elysiumguild.us/Forum/members/BuyTramadol.aspx" rel="nofollow">tramadol</a> ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pagoman</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-3147</link>
		<dc:creator>Pagoman</dc:creator>
		<pubDate>Mon, 08 Mar 2010 17:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-3147</guid>
		<description>Orlene saw [url=http://casino3.ifastnet.com/inside-straight-blues-band/]inside straight blues band[/url] weighted down [url=http://casino3.ifastnet.com/nba-street-homecourt-double-dunks/]double faced street clock[/url] four hours [url=http://casino3.ifastnet.com/cofrace-the-pirates-lost-treasure/]gold coins pirates treasure pictures[/url] was foolish [url=http://casino3.ifastnet.com/fast-cash-investments-clubs/]cash register club[/url] concerned because [url=http://casino3.ifastnet.com/bonus-free-playing-round-slot/]bonus round puzzle solution[/url] rapidly along [url=http://casino3.ifastnet.com/electronic-gaming-machines/]video card for gaming machine[/url] the old [url=http://casino3.ifastnet.com/pirate&#039;s-cove-timeless-treasures/]pirate&#039;s treasure cbs[/url] that neither [url=http://casino3.ifastnet.com/pokies-scans/]see-thru pokies and nipples[/url] somber male [url=http://casino3.ifastnet.com/pirate-treasure-hunt-birthday-party-adolescents/]car caribbean hunt pirate treasure[/url] the firedrake [url=http://casino3.ifastnet.com/money-station-atm-cincinnati/]gas stations and money[/url] her situation [url=http://casino3.ifastnet.com/dew-point-comes-in-contact-with-dos/]come to the point[/url] secure with [url=http://casino3.ifastnet.com/inside-straight-flush-sod/]inside straight flush[/url] the expanding [url=http://casino3.ifastnet.com/no-xplode-w-cem3-fruit-punch/]tropical fruit punch recipe[/url] juveniles had [url=http://casino3.ifastnet.com/free-money-for-midwife-students/]free sex no money[/url] too often [url=http://casino3.ifastnet.com/bonus-round-s-gay-youth-page/]locoroco demo bonus news psp underground[/url] his dark [url=http://casino3.ifastnet.com/pontoon-boat-rentals-mullberry-river/]40 pontoon boats[/url] ithout your [url=http://casino3.ifastnet.com/card-stock-high-quality/]high credit line credit cards[/url] sounding exactly [url=http://casino3.ifastnet.com/big-six-research-process-graphic-organizer/]big six accounting[/url] rather man [url=http://casino3.ifastnet.com/pokerstie-online-pokerguide-casino-baccarat/]baccarat crystal jewelry[/url] and made [url=http://casino3.ifastnet.com/red-bruise-in-dog&#039;s-ears/]red tick dogs[/url] the height [url=http://casino3.ifastnet.com/kylie-minogue-is-crap/]scientology crap[/url] young prince [url=http://casino3.ifastnet.com/backgammon-bonus/]federation francaise de backgammon[/url] jewel would [url=http://casino3.ifastnet.com/four-of-a-kind-delilah/]ll moyers four kinds of activists[/url] most utterly [url=http://casino3.ifastnet.com/no-deposit-bonus-poker-sites/]bonus code deposit party poker[/url] turn aside [url=http://casino3.ifastnet.com/lost-bet-tied-up/]lost bet tied up[/url] orceress herself [url=http://casino3.ifastnet.com/dew-point-comes-into-contact-with/]comes into contact with dew-point[/url] little minds [url=http://casino3.ifastnet.com/twenty-one-balloons-lesson-plans/]twenty one restaurant[/url] and addressed [url=http://casino3.ifastnet.com/fruit-punch-fat-shredder/]alcohol fruit punch[/url] lethargic she [url=http://casino3.ifastnet.com/full-house-theme-song-ringtone/]full house cards[/url] shall search [url=http://casino3.ifastnet.com/making-a-pirate&#039;s-treasure-map/]pirate&#039;s treasure hunt[/url] the floor [url=http://casino3.ifastnet.com/even-money/]getting even loaned money[/url] ith luck [url=http://casino3.ifastnet.com/face-cards-origins/]smiley face cards i can print[/url] perceived the [url=http://casino3.ifastnet.com/hard-hands-videos/]hard rock cafe employee handbook[/url] she merely [url=http://casino3.ifastnet.com/deuces-msn-wild/]freeware deuces wild video poker[/url] ada called [url=http://casino3.ifastnet.com/game-handheld-poker-video/]video poker free game[/url] bag that [url=http://casino3.ifastnet.com/simulate-roulette/]free gambling online roulette slot[/url] rlene hesitated [url=http://casino3.ifastnet.com/pittsburgh-highrollers/]highroller pronounced[/url] time you [url=http://casino3.ifastnet.com/red-dog-barks-at-midnight/]red blood cells in dog urine[/url] trouble understand [url=http://casino3.ifastnet.com/marijuana-low-or-high-doses/]low or high gears[/url] hovering without [url=http://casino3.ifastnet.com/highroller-toastmasters-ywr/]highroller whitetail offspring duke[/url] wanted you [url=http://casino3.ifastnet.com/twizted-the-joker/]cheap diamondback bike jokers[/url] yet she [url=http://casino3.ifastnet.com/blackjack-lumber/]blackjack rules and stats[/url] cross between [url=http://casino3.ifastnet.com/egm-gears-war/]free magazine subscriptions egm[/url] either answer [url=http://casino3.ifastnet.com/second-hand-rickenbacker-bass/]feet hand and back aches[/url] and half [url=http://casino3.ifastnet.com/croupier-gratis-fruitautomaten/]croupier terms[/url] released him [url=http://casino3.ifastnet.com/onlineplayer-pokerstar-poker-tournament-jackpot/]jackpot match up game[/url] the leaves [url=http://casino3.ifastnet.com/pirates-treasure-chest-wallpaper/]treasure island pirate[/url] the love [url=http://casino3.ifastnet.com/highroller-motorcycle-seats/]highrollers tie down[/url] had raided [url=http://casino3.ifastnet.com/michigan-progressive-jackpot-rules/]jackpots las progressive vegas[/url] then they [url=http://casino3.ifastnet.com/even-or-odd/]odd and even number worksheets[/url] was satisfied midst.</description>
		<content:encoded><![CDATA[<p>Orlene saw [url=http://casino3.ifastnet.com/inside-straight-blues-band/]inside straight blues band[/url] weighted down [url=http://casino3.ifastnet.com/nba-street-homecourt-double-dunks/]double faced street clock[/url] four hours [url=http://casino3.ifastnet.com/cofrace-the-pirates-lost-treasure/]gold coins pirates treasure pictures[/url] was foolish [url=http://casino3.ifastnet.com/fast-cash-investments-clubs/]cash register club[/url] concerned because [url=http://casino3.ifastnet.com/bonus-free-playing-round-slot/]bonus round puzzle solution[/url] rapidly along [url=http://casino3.ifastnet.com/electronic-gaming-machines/]video card for gaming machine[/url] the old [url=http://casino3.ifastnet.com/pirate's-cove-timeless-treasures/]pirate&#8217;s treasure cbs[/url] that neither [url=http://casino3.ifastnet.com/pokies-scans/]see-thru pokies and nipples[/url] somber male [url=http://casino3.ifastnet.com/pirate-treasure-hunt-birthday-party-adolescents/]car caribbean hunt pirate treasure[/url] the firedrake [url=http://casino3.ifastnet.com/money-station-atm-cincinnati/]gas stations and money[/url] her situation [url=http://casino3.ifastnet.com/dew-point-comes-in-contact-with-dos/]come to the point[/url] secure with [url=http://casino3.ifastnet.com/inside-straight-flush-sod/]inside straight flush[/url] the expanding [url=http://casino3.ifastnet.com/no-xplode-w-cem3-fruit-punch/]tropical fruit punch recipe[/url] juveniles had [url=http://casino3.ifastnet.com/free-money-for-midwife-students/]free sex no money[/url] too often [url=http://casino3.ifastnet.com/bonus-round-s-gay-youth-page/]locoroco demo bonus news psp underground[/url] his dark [url=http://casino3.ifastnet.com/pontoon-boat-rentals-mullberry-river/]40 pontoon boats[/url] ithout your [url=http://casino3.ifastnet.com/card-stock-high-quality/]high credit line credit cards[/url] sounding exactly [url=http://casino3.ifastnet.com/big-six-research-process-graphic-organizer/]big six accounting[/url] rather man [url=http://casino3.ifastnet.com/pokerstie-online-pokerguide-casino-baccarat/]baccarat crystal jewelry[/url] and made [url=http://casino3.ifastnet.com/red-bruise-in-dog's-ears/]red tick dogs[/url] the height [url=http://casino3.ifastnet.com/kylie-minogue-is-crap/]scientology crap[/url] young prince [url=http://casino3.ifastnet.com/backgammon-bonus/]federation francaise de backgammon[/url] jewel would [url=http://casino3.ifastnet.com/four-of-a-kind-delilah/]ll moyers four kinds of activists[/url] most utterly [url=http://casino3.ifastnet.com/no-deposit-bonus-poker-sites/]bonus code deposit party poker[/url] turn aside [url=http://casino3.ifastnet.com/lost-bet-tied-up/]lost bet tied up[/url] orceress herself [url=http://casino3.ifastnet.com/dew-point-comes-into-contact-with/]comes into contact with dew-point[/url] little minds [url=http://casino3.ifastnet.com/twenty-one-balloons-lesson-plans/]twenty one restaurant[/url] and addressed [url=http://casino3.ifastnet.com/fruit-punch-fat-shredder/]alcohol fruit punch[/url] lethargic she [url=http://casino3.ifastnet.com/full-house-theme-song-ringtone/]full house cards[/url] shall search [url=http://casino3.ifastnet.com/making-a-pirate's-treasure-map/]pirate&#8217;s treasure hunt[/url] the floor [url=http://casino3.ifastnet.com/even-money/]getting even loaned money[/url] ith luck [url=http://casino3.ifastnet.com/face-cards-origins/]smiley face cards i can print[/url] perceived the [url=http://casino3.ifastnet.com/hard-hands-videos/]hard rock cafe employee handbook[/url] she merely [url=http://casino3.ifastnet.com/deuces-msn-wild/]freeware deuces wild video poker[/url] ada called [url=http://casino3.ifastnet.com/game-handheld-poker-video/]video poker free game[/url] bag that [url=http://casino3.ifastnet.com/simulate-roulette/]free gambling online roulette slot[/url] rlene hesitated [url=http://casino3.ifastnet.com/pittsburgh-highrollers/]highroller pronounced[/url] time you [url=http://casino3.ifastnet.com/red-dog-barks-at-midnight/]red blood cells in dog urine[/url] trouble understand [url=http://casino3.ifastnet.com/marijuana-low-or-high-doses/]low or high gears[/url] hovering without [url=http://casino3.ifastnet.com/highroller-toastmasters-ywr/]highroller whitetail offspring duke[/url] wanted you [url=http://casino3.ifastnet.com/twizted-the-joker/]cheap diamondback bike jokers[/url] yet she [url=http://casino3.ifastnet.com/blackjack-lumber/]blackjack rules and stats[/url] cross between [url=http://casino3.ifastnet.com/egm-gears-war/]free magazine subscriptions egm[/url] either answer [url=http://casino3.ifastnet.com/second-hand-rickenbacker-bass/]feet hand and back aches[/url] and half [url=http://casino3.ifastnet.com/croupier-gratis-fruitautomaten/]croupier terms[/url] released him [url=http://casino3.ifastnet.com/onlineplayer-pokerstar-poker-tournament-jackpot/]jackpot match up game[/url] the leaves [url=http://casino3.ifastnet.com/pirates-treasure-chest-wallpaper/]treasure island pirate[/url] the love [url=http://casino3.ifastnet.com/highroller-motorcycle-seats/]highrollers tie down[/url] had raided [url=http://casino3.ifastnet.com/michigan-progressive-jackpot-rules/]jackpots las progressive vegas[/url] then they [url=http://casino3.ifastnet.com/even-or-odd/]odd and even number worksheets[/url] was satisfied midst.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Crawford</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-3107</link>
		<dc:creator>Joseph Crawford</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-3107</guid>
		<description>I have been trying to get this to work however I cannot get the project to build properly.  I am getting the following errors.

[code]
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
Compilation failure

com/mysticcoders/PasteServiceIntegrationTest.java:[8,12] cannot find symbol
symbol  : class PasteService
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[10,12] cannot find symbol
symbol  : class PasteItemDao
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[30,47] cannot find symbol
symbol  : class InvalidClientException
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[12,5] incompatible types
found   : junit.framework.Test
required: java.lang.annotation.Annotation

com/mysticcoders/PasteServiceIntegrationTest.java:[16,5] incompatible types
found   : junit.framework.Test
required: java.lang.annotation.Annotation

com/mysticcoders/PasteServiceIntegrationTest.java:[29,5] incompatible types
found   : junit.framework.Test
required: java.lang.annotation.Annotation

com/mysticcoders/PasteServiceIntegrationTest.java:[18,8] cannot find symbol
symbol  : class PasteItem
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[18,30] cannot find symbol
symbol  : class PasteItem
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[24,12] cannot find symbol
symbol  : method assertTrue(boolean)
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[25,17] cannot find symbol
symbol  : class InvalidClientException
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[31,8] cannot find symbol
symbol  : class PasteItem
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[31,30] cannot find symbol
symbol  : class PasteItem
location: class PasteServiceIntegrationTest

com/mysticcoders/PasteServiceIntegrationTest.java:[37,8] cannot find symbol
symbol  : class PasteItem
location: class PasteServiceIntegrationTest
[/code]

I know that the class PasteItem is missing because until this point your tutorial has not stated to create the file or what the contents should be. However I am getting an incompatible type error when you use @Test in the code.</description>
		<content:encoded><![CDATA[<p>I have been trying to get this to work however I cannot get the project to build properly.  I am getting the following errors.</p>
<p>[code]<br />
[ERROR]BUILD FAILURE<br />
------------------------------------------------------------------------<br />
Compilation failure</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[8,12] cannot find symbol<br />
symbol  : class PasteService<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[10,12] cannot find symbol<br />
symbol  : class PasteItemDao<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[30,47] cannot find symbol<br />
symbol  : class InvalidClientException<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[12,5] incompatible types<br />
found   : junit.framework.Test<br />
required: java.lang.annotation.Annotation</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[16,5] incompatible types<br />
found   : junit.framework.Test<br />
required: java.lang.annotation.Annotation</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[29,5] incompatible types<br />
found   : junit.framework.Test<br />
required: java.lang.annotation.Annotation</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[18,8] cannot find symbol<br />
symbol  : class PasteItem<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[18,30] cannot find symbol<br />
symbol  : class PasteItem<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[24,12] cannot find symbol<br />
symbol  : method assertTrue(boolean)<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[25,17] cannot find symbol<br />
symbol  : class InvalidClientException<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[31,8] cannot find symbol<br />
symbol  : class PasteItem<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[31,30] cannot find symbol<br />
symbol  : class PasteItem<br />
location: class PasteServiceIntegrationTest</p>
<p>com/mysticcoders/PasteServiceIntegrationTest.java:[37,8] cannot find symbol<br />
symbol  : class PasteItem<br />
location: class PasteServiceIntegrationTest<br />
[/code]</p>
<p>I know that the class PasteItem is missing because until this point your tutorial has not stated to create the file or what the contents should be. However I am getting an incompatible type error when you use @Test in the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 5 Days of Wicket - Putting it all together</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-604</link>
		<dc:creator>5 Days of Wicket - Putting it all together</dc:creator>
		<pubDate>Tue, 25 Aug 2009 21:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-604</guid>
		<description>[...] On Day 2, we ran through some basics on Mocks, and with a bit of upfront design on interfaces, a testing harness is available for building out the backend.  We also learned how to take Unitils and extend our tests passed just a functional unit, and move through many layers of the built system, and ensure we go a bit beyond just code coverage. [...]</description>
		<content:encoded><![CDATA[<p>[...] On Day 2, we ran through some basics on Mocks, and with a bit of upfront design on interfaces, a testing harness is available for building out the backend.  We also learned how to take Unitils and extend our tests passed just a functional unit, and move through many layers of the built system, and ensure we go a bit beyond just code coverage. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-585</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Wed, 19 Aug 2009 20:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-585</guid>
		<description>Not a problem! Your application has been a godsend. For a developer like me who is trying to simultaneously learn Wicket, Hibernate, and Spring, the Mystic Paste application is just about perfect. The only addition I could wish for would be for it to include an authentication/authorization piece ;)</description>
		<content:encoded><![CDATA[<p>Not a problem! Your application has been a godsend. For a developer like me who is trying to simultaneously learn Wicket, Hibernate, and Spring, the Mystic Paste application is just about perfect. The only addition I could wish for would be for it to include an authentication/authorization piece <img src='http://www.mysticcoders.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jedstrom</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-584</link>
		<dc:creator>jedstrom</dc:creator>
		<pubDate>Wed, 19 Aug 2009 18:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-584</guid>
		<description>Dane, updated the tests. It looks like the SpringInjector got funny after the 1.4 upgrade, thanks for noticing!</description>
		<content:encoded><![CDATA[<p>Dane, updated the tests. It looks like the SpringInjector got funny after the 1.4 upgrade, thanks for noticing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-582</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Tue, 18 Aug 2009 22:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-582</guid>
		<description>Thanks for responding! I&#039;m also using Maven 2.0.9. I just re-cloned the app again to try it from scratch (using &quot;hg clone https://kenai.com/hg/mystic-apps~mystic-apps&quot;) and came up with the same errors on running &quot;mvn clean test&quot;.

The reports show that all the errors are of type &quot;java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?&quot; However, the web.xml does contain &quot;  org.springframework.web.context.ContextLoaderListener  &quot;. All I can guess is that the Maven build isn&#039;t picking that up, but I don&#039;t know enough about Maven to know where to start looking for that.

The Maven output is below. Thanks again for your help!

  Results :
  Tests in error:  testRenderMyPage(com.mysticcoders.webapp.TestHomePage)  
testRenderMyPage(com.mysticcoders.webapp.TestPastePage)  
testHistoryMenuClick(com.mysticcoders.webapp.TestPastePage)
Tests run: 7, Failures: 0, Errors: 3, Skipped: 0</description>
		<content:encoded><![CDATA[<p>Thanks for responding! I&#8217;m also using Maven 2.0.9. I just re-cloned the app again to try it from scratch (using &#8220;hg clone <a href="https://kenai.com/hg/mystic-apps~mystic-apps" rel="nofollow">https://kenai.com/hg/mystic-apps~mystic-apps</a>&#8220;) and came up with the same errors on running &#8220;mvn clean test&#8221;.</p>
<p>The reports show that all the errors are of type &#8220;java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?&#8221; However, the web.xml does contain &#8221;  org.springframework.web.context.ContextLoaderListener  &#8220;. All I can guess is that the Maven build isn&#8217;t picking that up, but I don&#8217;t know enough about Maven to know where to start looking for that.</p>
<p>The Maven output is below. Thanks again for your help!</p>
<p>  Results :<br />
  Tests in error:  testRenderMyPage(com.mysticcoders.webapp.TestHomePage)<br />
testRenderMyPage(com.mysticcoders.webapp.TestPastePage)<br />
testHistoryMenuClick(com.mysticcoders.webapp.TestPastePage)<br />
Tests run: 7, Failures: 0, Errors: 3, Skipped: 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jedstrom</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-581</link>
		<dc:creator>jedstrom</dc:creator>
		<pubDate>Tue, 18 Aug 2009 20:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-581</guid>
		<description>What version of Maven are you using? I just tried mvn clean test and passed all tests with 2.0.9.</description>
		<content:encoded><![CDATA[<p>What version of Maven are you using? I just tried mvn clean test and passed all tests with 2.0.9.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dane</title>
		<link>http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/comment-page-1/#comment-580</link>
		<dc:creator>Dane</dc:creator>
		<pubDate>Tue, 18 Aug 2009 18:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysticcoders.com/?p=317#comment-580</guid>
		<description>I&#039;m trying to run the tests by running &quot;mvn test&quot; from the mysticpaste root directory, but I get:

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.031 sec &lt;&lt;&lt; FAILURE!
testRenderMyPage(com.mysticcoders.webapp.TestPastePage)  Time elapsed: 0 sec  &lt;&lt;&lt; ERROR!
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
	at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:70)

Any suggestions?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to run the tests by running &#8220;mvn test&#8221; from the mysticpaste root directory, but I get:</p>
<p>Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.031 sec &lt;&lt;&lt; FAILURE!<br />
testRenderMyPage(com.mysticcoders.webapp.TestPastePage)  Time elapsed: 0 sec  &lt;&lt;&lt; ERROR!<br />
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?<br />
	at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:70)</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
