コード例 #1
0
 public void parseExhangeRatesTest()
 {
     CSVParser target = new CSVParser(); // TODO: Initialize to an appropriate value
     List<ExchangeRate> expected = null; // TODO: Initialize to an appropriate value
     List<ExchangeRate> actual;
     actual = target.parseExchangeRates();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
コード例 #2
0
        public List<ExchangeRate> getCSVFileData()
        {
            if (!File.Exists(fname))
            {
                return null;
            }

            myReader = new StreamReader(fname);
            CSVParser parser = new CSVParser();
            parser.setStreamSource(myReader);
            return (parser.parseExchangeRates());
        }
コード例 #3
0
 public void setStreamSourceTest()
 {
     IDataParser target = new CSVParser(); // TODO: Initialize to an appropriate value
     StreamReader reader = null; // TODO: Initialize to an appropriate value
     target.setStreamSource(reader);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
コード例 #4
0
 public void CVSParserConstructorTest()
 {
     CSVParser target = new CSVParser();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
コード例 #5
0
 public void supportsTypeTest()
 {
     CSVParser target = new CSVParser(); // TODO: Initialize to an appropriate value
     string format = string.Empty; // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = target.supportsType(format);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }