コード例 #1
0
        public void GetKnownDefect_GiveNoDefect_RetunsNull(string text)
        {
            var tran   = new CsvToVstsTransformer();
            var failId = tran.GetKnownDefects(text);

            Assert.IsNull(failId);
        }
コード例 #2
0
        public void GetKnownDefect_Give2Defects_Returns2Defects(string text)
        {
            var tran   = new CsvToVstsTransformer();
            var failId = tran.GetKnownDefects(text);

            CollectionAssert.AreEquivalent(new List <string> {
                "516000", "52300"
            }, failId);
        }
コード例 #3
0
        public void GetKnownDefect_ByDefault_CaseInsensitive(string text)
        {
            var tran   = new CsvToVstsTransformer();
            var failId = tran.GetKnownDefects(text);

            CollectionAssert.AreEquivalent(new List <string> {
                "516000"
            }, failId);
        }