Beispiel #1
0
        public CdMetadataServiceTests()
        {
            BassLoader.LoadBass();

            var audioCdService = A.Fake <IAudioCdService>();

            A.CallTo(() => audioCdService.GetCdDriveIndex(A <char> .Ignored)).Returns(AudioCdTestConstants.CdDriveIndex);

            _cdMetadataService = new CdMetadataService(audioCdService);
        }
Beispiel #2
0
        public AudioCdRippingServiceTests()
        {
            _audioDir = string.Format(@".\{0}", "audioRipOut");

            BassLoader.LoadBass();

            try
            {
                Directory.Delete(_audioDir, true);
            }
            catch (Exception ex)
            {
                Debug.WriteLine(ex);
            }

            Directory.CreateDirectory(_audioDir);
        }
Beispiel #3
0
 public AudioConverterServiceTests()
 {
     BassLoader.LoadBass();
 }