Patches item #1313486, was opened at 2005-10-05 00:56 Message generated for change (Comment added) made by radleta You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474853&aid=1313486&group_id=54790
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Richard Adleta (radleta) Assigned to: Nobody/Anonymous (nobody) Summary: vssdelete task Initial Comment: Attached is a vssdelete task that allows files or projects to be delete or optional destoryed by sourcesafe. I hope that you will consider this for the next release. Thanks! Richard ---------------------------------------------------------------------- >Comment By: Richard Adleta (radleta) Date: 2005-10-12 08:41 Message: Logged In: YES user_id=1356507 Per your request, I added NUnit tests for the task. In addition, I made the following changes: * Moved MockVssItem class and MockVssItems class to their own code file from GetTaskTest.cs * Modified MockVssItem class to support IsDestroyed property * Modified DeleteTask to support NUnit test by exposing DeleteItem method * Created DeleteTaskTest which performs basic NUnit of delete and destory operation Let me know what you think of the changes. ---------------------------------------------------------------------- Comment By: Ian MacLean (ianm74) Date: 2005-10-06 00:10 Message: Logged In: YES user_id=321872 A Nunit test would be ideal. There is already one for vssget that you might be able to use as an example. ---------------------------------------------------------------------- Comment By: Richard Adleta (radleta) Date: 2005-10-05 07:43 Message: Logged In: YES user_id=1356507 Thanks for the quick response and the consideration for the code. I did some whitebox testing of both the delete and destroy functionality and both worked as expected. Do you prefer an NUnit for it or just execution of the code to complete verification? ---------------------------------------------------------------------- Comment By: Ian MacLean (ianm74) Date: 2005-10-05 02:33 Message: Logged In: YES user_id=321872 Thanks Richard. I've committed your delete task to cvs. Unfortunately i don't have sourcesafe installed - so would you be able to verify that its all woorking properly. I'll have a new nightly build uploaded shortly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474853&aid=1313486&group_id=54790 ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer