Private content!This content has been marked as private by the uploader.
â» ååº: biac ã® ãããããããããã¯å¹¸ããªæ¥ã @nifty ãNUnit 2.5 ããªãªã¼ã¹ããã¦ããã®ã§ã Windows 7 RC ã«å ¥ãã¦ã¿ããã ( 2009/05/25 ) ( ä¸é¨ä¿®æ£ ) â» NUnit V2 ç³»ã®ææ°ãã¼ã¸ã§ã³ã®é å¸ãµã¤ãã¯ãã¡ãã§ãã â NUnit V2 Test Framework in Launchpad NUnit ãªãªã¼ã¹çã® 2.5.0.9122 ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãã OS 㯠Windows 7 RC ã使ãã¾ãããã ãã以åã® Windows ã§ãåæ§ã§ãã ãã¦ã³ãã¼ããã¦ãã NUnit-2.5.0.9122.msi ãå³ã¯ãªãã¯ã㦠ãã¤ã³ã¹ãã¼ã«ã ãæ示ããã¨ã ã¤ã³ã¹ãã¼ã©ãç«ã¡ä¸ããã¾ãã â» ããæ°ãããã¼ã¸ã§ã³ãåºã¦ãã¾ãã®ã§ã ãã¡ããã¤ã³ã¹ãã¼ã«ããããã¨ããå§ããã¾ãã ãã ãã 以ä¸ã®èª¬æã¨ç°ãªã
ãããªã¤ã³ã¿ã¼ãã§ã¤ã¹ããã£ã¦ public interface IHoge { bool Piyo(); } ãããªã¯ã©ã¹ã§ä½¿ç¨ããã¨ããã public class Fuga { private IHoge _hoge; public Fuga(IHoge hoge) { this._hoge = hoge; } public bool HogePiyo() { return this._hoge.Piyo(); } } èªåã¢ãã¯ã¯ãããªé¢¨ã«å®è£ ã㦠public class HogeMock : Mock, IHoge { public bool Piyo() { object r = this.Call("Piyo"); if (r != null) { return (bool)r; } return true; } } ãããªé¢¨ã«ä½¿ç¨ã§ããã [TestFixture] pu
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}