Class AccountingRegisterValidatorTest
- java.lang.Object
-
- com._1c.g5.v8.dt.metadata.mdclass.impl.AccountingRegisterValidatorTest
-
public class AccountingRegisterValidatorTest extends Object
Testing class forAccountingRegisterValidator
.
-
-
Constructor Summary
Constructors Constructor Description AccountingRegisterValidatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testDimensionAccountingFlagFromAlienChartOfAccounts()
Tests validation in the case when a dimension has an accounting flag of an alien chart of accounts.void
testIllegalMaxValueOfPeriodAdjustmnntLength()
Tests validation of an accounting register with period adjustment length more than 3.void
testIllegalMinValueOfPeriodAdjustmnntLength()
Tests validation of an accounting register with period adjustment length less than 0.void
testResourceAccountingFlagFromAlienChartOfAccounts()
Tests validation in the case when a resource has an accounting flag of an alien chart of accounts.void
testResourceExtDimensionAccountingFlagFromAlienChartOfAccounts()
Tests validation in the case when a resource has an extra dimension accounting flag of an alien chart of accounts.void
testSeverenityOk(org.eclipse.emf.common.util.BasicDiagnostic diagnostics)
void
testSeverityError(int errorCode, Object[] errorData, org.eclipse.emf.common.util.BasicDiagnostic diagnostics)
void
testValidAccountingRegisterBare()
Tests validation of a valid accounting register with minimum required features specified.void
testWithoutRecorders()
Tests validation of an accounting register with no recorders specified.void
testWithoutResources()
Tests validation of an accounting register without resources.
-
-
-
Method Detail
-
testValidAccountingRegisterBare
public void testValidAccountingRegisterBare()
Tests validation of a valid accounting register with minimum required features specified.
-
testWithoutRecorders
public void testWithoutRecorders()
Tests validation of an accounting register with no recorders specified.
-
testWithoutResources
public void testWithoutResources()
Tests validation of an accounting register without resources.
-
testDimensionAccountingFlagFromAlienChartOfAccounts
public void testDimensionAccountingFlagFromAlienChartOfAccounts()
Tests validation in the case when a dimension has an accounting flag of an alien chart of accounts.
-
testResourceAccountingFlagFromAlienChartOfAccounts
public void testResourceAccountingFlagFromAlienChartOfAccounts()
Tests validation in the case when a resource has an accounting flag of an alien chart of accounts.
-
testResourceExtDimensionAccountingFlagFromAlienChartOfAccounts
public void testResourceExtDimensionAccountingFlagFromAlienChartOfAccounts()
Tests validation in the case when a resource has an extra dimension accounting flag of an alien chart of accounts.
-
testIllegalMaxValueOfPeriodAdjustmnntLength
public void testIllegalMaxValueOfPeriodAdjustmnntLength()
Tests validation of an accounting register with period adjustment length more than 3.
-
testIllegalMinValueOfPeriodAdjustmnntLength
public void testIllegalMinValueOfPeriodAdjustmnntLength()
Tests validation of an accounting register with period adjustment length less than 0.
-
testSeverityError
public void testSeverityError(int errorCode, Object[] errorData, org.eclipse.emf.common.util.BasicDiagnostic diagnostics)
-
testSeverenityOk
public void testSeverenityOk(org.eclipse.emf.common.util.BasicDiagnostic diagnostics)
-
-