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.");
 }
Exemplo n.º 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());
        }
 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.");
 }
 public void CVSParserConstructorTest()
 {
     CSVParser target = new CSVParser();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
 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.");
 }