| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 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>
- {
- [SetUp]
- public void Setup()
- {
- }
- [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));
- }
- }
- }
|