RE: C# version

"Jim Little" <[email protected]> Fri, 22 Aug 2003 14:02:51 -0700
Newsgroups gmane.comp.programming.tools.fit.devel
Message-ID <004801c368f0$c1f08130$0200a8c0@Phideaux>
Micah,

I've updated .NET Fit so that wrong() is no longer static nor virtual.
You can't access the new version yet, as I'm still making changes, but
with the next release you should be able to override wrong().  I hope to
get the next release out early next week, barring any major problems.

Jim

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jim Little
Sent: Tuesday, August 19, 2003 5:56 PM
To: [email protected]
Subject: RE: [Fit-dev] C# version

From: Jim Little [mailto:[email protected]] 
> Overriding wrong() seems like a good idea.  Go ahead and modify the
source > code to Fit and make wrong() virtual.  I'll do the same on my
end.

Oops... wrong() is a static method.  You'll need another way and nothing
comes to mind at the moment...

Jim 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Micah Martin
Sent: Tuesday, August 19, 2003 3:30 PM
To: 'FIT Developers'
Subject: RE: [Fit-dev] C# version

> -----Original Message-----
> From: Ward Cunningham [mailto:[email protected]]
> Sent: Tuesday, August 19, 2003 5:28 PM
> 
> On Tuesday, August 19, 2003, at 02:08  PM, Micah Martin wrote:
> 
> > Who maintains the C# version of FIT now?
> 
> Jim Little is my contact person. He may delegate.
> 
> --
> Ward Cunningham

Ok, I wasn't sure.  Jim, is there anything you can do for this
gentleman?
The message is below. 

Micah

> -----Original Message-----
> From: Muktadeer [mailto:[email protected]]
> Sent: Tuesday, August 19, 2003 3:44 PM
> To: [email protected]
> Subject: [fitnesse] Re: Is there a way to return hyper link (anchor ta
> g) f rom the fixture ?
> 
> 
> I am getting a complier error...
> "cannot override inherited member 'fit.Fixture.wrong(fit.Parse, 
> string)' because it is not marked virtual, abstract, or override"
> 
> public override void wrong (Parse cell, String actual)
> {
> ....
> }
> 
> (My fixture is written in c#/dotNet)
> 
> -Abdul.
> 
> 
> 
> 
> --- In [email protected], Micah Martin <micah@o...> wrote:
> > One way or another you'll have to modify your FileCompare Fixture 
> to create
> > the hyperlink.  You could hack it is to overide the wrong(...) 
> method.
> > 
> > // uncompiled code
> > public void wrong (Parse cell, String actual)
> > {
> > 	wrong(cell);
> > 	String anchor = "<a href=\"" + escape(actual) + "\">" +
> > escape(actual) + "</a>";
> > 	cell.addToBody(label("expected") + "<hr>" + anchor +
> > label("actual"));
> > }
> > 
> > That may do the trick.
> > 
> > Micah
> > 
> > > -----Original Message-----
> > > From: Muktadeer [mailto:Muktadeer@y...]
> > > Sent: Tuesday, August 19, 2003 11:48 AM
> > > To: [email protected]
> > > Subject: [fitnesse] Re: Is there a way to return hyper link 
> > > (anchor tag)
> > > f rom the fixture ?
> > > 
> > > 
> > > I have a fixture that will compare two files and if the files are 
> > > different, it will create a html file that shows the difference 
> and 
> > > will return the link to that file in the return value.
> > > 
> > > Here is my example ..
> > > 
> > > |!-MyDemo.FileCompare-!|
> > > |oldFile|newFile|compare()|
> > > |a.xml|a1.xml|identical|
> > > |b.xml|b1.xml|identical|
> > > |c.xml|c1.xml|identical|
> > > 
> > > return value of compare () is a string. It will return the 
> > > string "identical" if the files are same otherwise, it will 
> return a 
> > > link like "http://localHost/fileDiff/a-a1-diff.html". 
> > > 
> > > problem is..it returns the value "http://localHost/fileDiff/a-a1-
> > > diff.html". But, doesn't turn it into link. 
> > > 
> > > I want to display as a hyperlink so, that user can click and see 
> the 
> > > difference. 
> > > 
> > > -AM
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --- In [email protected], Micah Martin <micah@o...> wrote:
> > > > > -----Original Message-----
> > > > > From: Muktadeer [mailto:Muktadeer@y...]
> > > > > 
> > > > > Is there a way to return hyper link (anchor tag) from the 
> > > fixture ?
> > > > > 
> > > > > I tried many alternatives it didn't work. 
> > > > > 
> > > > > Please, Help !
> > > > > 
> > > > > -AM
> > > > 
> > > > I don't understand.  Could you provide an example?
> > > > 
> > > > Micah
> > > 
> > > 
> > > ------------------------ Yahoo! Groups Sponsor 
> > > ---------------------~-->
> > > Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or 
> Lexmark
> > > Printer at Myinks.com. Free s/h on orders $50 or more to the 
> > > US & Canada. http://www.c1tracking.com/l.asp?cid=5511
> > > http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/03wwlB/TM
> > > --------------------------------------------------------------
> > > -------~->
> > > 
> > > To unsubscribe from this group, send an email to:
> > > [email protected]
> > > 
> > >  
> > > 
> > > Your use of Yahoo! Groups is subject to 
> > > http://docs.yahoo.com/info/terms/ 
> > > 
> > >
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
> Printer at Myinks.com. Free s/h on orders $50 or more to the 
> US & Canada. http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/03wwlB/TM
> --------------------------------------------------------------
> -------~->
> 
> To unsubscribe from this group, send an email to:
> [email protected]
> 
>  
> 
> Your use of Yahoo! Groups is subject to 
> http://docs.yahoo.com/info/terms/ 
> 
> 


_______________________________________________
Fit-dev mailing list
[email protected]
http://lists.freepan.org/mailman/listinfo.cgi/fit-dev



_______________________________________________
Fit-dev mailing list
[email protected]
http://lists.freepan.org/mailman/listinfo.cgi/fit-dev