syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgrosso <>
Subject [GitHub] syncope issue #18: Added Exception for existing key (SYNCOPE-866)
Date Fri, 03 Jun 2016 11:48:01 GMT
Github user ilgrosso commented on the issue:
    Ok, the changes are just fine.
    Now, you need to add a couple of methods like as follows
    public void issueSYNCOPE866() {
    to the two classes mentioned above.
    In the body of such methods you will, by taking reference with other methods in the same
class, essentially:
    1. create a report template with an existing key
    1. assert that such creation operation fails with
    The following is a working sample - that you can just grab and put there - for report
        public void issueSYNCOPE866() {
            ReportTemplateTO reportTemplateTO = new ReportTemplateTO();
            try {
            } catch (SyncopeClientException e) {
                assertEquals(ClientExceptionType.EntityExists, e.getType());

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message