Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

delphi - dunit test result messages in hudson -


i using hudson ci server delphi 2010 projects. xmltestrunner.pas unit writes dunit test result xml file used hudson xunit plugin report test results. xunit plugin shows failures no messages:

stacktrace  message:  +++++++++++++++++++ stack trace: 

in hudson project configuration @ "publish testing tools result report" choose "nunit-version n/a (default)" tesing tool, because there no dunit option in list , xml files looks similar nunit format:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <test-results total="123" notrun="0" date="20.12.2010" time="09:19:24"> <test-suite name="helloworldtestsuite" total="46" notrun="0"> <results> <test-case name="testcase.helloworldtest" execute="true" success="false" time="0,003" result="failure"> <failure name="etestfailure" location=""/> <message>expected: &lt; hello world! &gt; was: &lt; hallo welt &gt;</message> </test-case> ... 

in hudson configuration there "custom tool" option, have specify "custom stylesheet", don't know how write such stylesheet (is there documentation?).

on c++ projets boost test, failures reported nicely messages.

i had change xmllistener work hudson because xml structure of failure had this:

<testcase name="getfreedirnametest" classname="test.exe.myfiles.ttests" result="failed" time="0.000">   <failure message="expected:         &#34;-1&#34;         was:         &#34;0&#34;" type="failed">getfreedirnametest: expected:         &#34;-1&#34;         was:         &#34;0&#34;   </failure> </testcase> 

Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -