protected TagPerformanceTestBase()
 {
     connection = new SQLiteConnectionFactory().Create("Data Source=:memory:;Version=3;");
     connection.Open();
     repository = new SQLiteTagRepository(logger, typeFactory, connection);
     repository.Initialize();
 }
Esempio n. 2
0
        protected MediaTestBase()
        {
            logger = new DebugLogger();
            mediaFactory = new MediaFactory(logger);

            connection = new SQLiteConnectionFactory().Create("Data Source=:memory:;Version=3;");
            connection.Open();
            repository = new SQLiteMediaRepository(logger, mediaFactory, connection);
            repository.Initialize();
        }