james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Duprat (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-1078) All tests should use the sqlResources.xml that will be packaged
Date Mon, 27 Apr 2015 08:43:39 GMT

     [ https://issues.apache.org/jira/browse/JAMES-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Antoine Duprat updated JAMES-1078:
    Attachment: 0003-JWC-120-The-sqlResources.xml-test-file-is-now-linked.patch

Patches to be applied.

> All tests should use the sqlResources.xml that will be packaged
> ---------------------------------------------------------------
>                 Key: JAMES-1078
>                 URL: https://issues.apache.org/jira/browse/JAMES-1078
>             Project: James Server
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>             Fix For: 3.0.0
>         Attachments: 0001-JWC-120-Ignore-Eclipse-data.patch, 0002-JWC-120-Merge-the-sqlResources.xml-test-file-into-th.patch,
> We now have different sqlResources.xml for jdbc (the mail,  domainlist, user,...) tests
and also the one that will be used for packaging.
> When we change anything (class names, sql query) in one file, we should change in the
other ones.
> This is error-prone.
> So, tests should only use the same sqlResources.xml, the one that will really be used
when packaging.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message