| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using qdr.fnd.core.test.Utils;
- using Quadarax.Application.QLiberace.Base.Entities;
- using Quadarax.Application.QLiberace.Base.Tests.Entities.Base;
- namespace Quadarax.Application.QLiberace.Base.Tests.Entities
- {
- [TestFixture(Category = "Dao")]
- public class TenantTest : BaseDaoTest<Tenant>
- {
- [Test]
- public void HasClassPKOK()
- {
- CheckHasPK(string.Empty);
- }
- [Test]
- public void HasClassTrackedOK()
- {
- CheckHasTracked(string.Empty);
- }
- [Test]
- public void HasClassTableOK()
- {
- CheckClassTable(string.Empty);
- }
- [Test]
- public void ColumnMappingsOK()
- {
- CheckColumnName(null);
- CheckColumnMappings(nameof(Tenant.IsLocked), string.Empty,true, null,null);
- Assert.IsTrue(ReflectionUtils.HasPropertyGetter(typeof(Tenant), nameof(Tenant.LastAccess), false));
- }
- protected override void OnSetup()
- {
- }
- protected override void OnTearDown()
- {
- }
- }
- }
|