public void test_01ConfigHandlingPublicMethods() { Assert.IsFalse(string.IsNullOrEmpty(cfg_.ConnectionString())); Assert.IsFalse(string.IsNullOrEmpty(cfg_.DatabaseName())); Assert.IsFalse(string.IsNullOrEmpty(cfg_.DatabaseProvider())); Assert.IsFalse(string.IsNullOrEmpty(cfg_.LicenseStoreDir())); }
public void test_Init() { Monitor.Enter(IntegrationTestsSynchronization.LockObject); try { cfg_ = new ConfigHandling(); sqldata_ = new mvOSQLDataHandling(cfg_.DatabaseName(), cfg_.ConnectionString()); } catch (Exception ex) { Assert.Fail(string.Format("An exception has been thrown: {0}", ex.Message)); } }