public void LoadTest()
        {
            LocalTrackLoader loader = new LocalTrackLoader();
            string source = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"sample\all_2012_03_11_20_37_31.inc");
            Track target = loader.Load(source, true);
            Assert.IsNotNull(target);

            DateTime d = new DateTime(2012, 3, 11, 20, 37, 31);
            Assert.AreEqual(d, target.CreateDate);
        }
 public LocalTrackCollection()
 {
     m_tracks = new ObservableCollection<Track>();
     m_loader = new LocalTrackLoader();
 }
Пример #3
0
 private Track LoadTrack()
 {
     string source = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"sample\all_2012_03_11_20_37_31.inc");
     Track track = new LocalTrackLoader().Load(source, true);
     return track;
 }