Class AccountingRegisterValidatorTest

    • Constructor Detail

      • AccountingRegisterValidatorTest

        public AccountingRegisterValidatorTest()
    • 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)