Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ldapadmin testsuite #843

Merged
merged 39 commits into from Dec 18, 2014
Merged

Commits on Dec 10, 2014

  1. Configuration menu
    Copy the full SHA
    7489cb6 View commit details
    Browse the repository at this point in the history
  2. First shot on LDAP encryption via LDAPAdmin

    Still TODO: refactor (DRY).
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    eb22611 View commit details
    Browse the repository at this point in the history
  3. First shot on LDAP encryption via LDAPAdmin

    Still TODO: refactor (DRY).
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    2e18b95 View commit details
    Browse the repository at this point in the history
  4. ldapadmin - improving testsuite

    - introducing a testsuite for EditUserDetails controller (WIP)
    - some modifications on Email testsuite (I'm not sure on how to begin
      with, with this one, let's see later).
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    50dbf1b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fad9553 View commit details
    Browse the repository at this point in the history
  6. ldapadmin - repairing tests on ldapadmin

    PR has been merged a bit early, when there was still a test with fail
    ("not yet implemented"). This fixes the general case for testEdit()
    method, on the EditUserDetailsFormController test suite.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    231a06d View commit details
    Browse the repository at this point in the history
  7. ldapadmin - testsuite

    Begin to implement SQL-related testsuite
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    3b60e31 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fde02d8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aa6204b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0918951 View commit details
    Browse the repository at this point in the history
  11. ldapadmin - improving testsuite

    - introducing a testsuite for EditUserDetails controller (WIP)
    - some modifications on Email testsuite (I'm not sure on how to begin
      with, with this one, let's see later).
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    de98c25 View commit details
    Browse the repository at this point in the history
  12. ldapadmin - repairing tests on ldapadmin

    PR has been merged a bit early, when there was still a test with fail
    ("not yet implemented"). This fixes the general case for testEdit()
    method, on the EditUserDetailsFormController test suite.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    76fe815 View commit details
    Browse the repository at this point in the history
  13. ldapadmin - Revamp on configuration tweaking management

    Doing substitutions into a property file which is sourced by spring
    directly into the XML file (as it is actually done on the security-proxy
    / downloadform ...).
    
    Begining to rewrite UserTokenDao so that it uses a connection pool,
    instead of opening a PG connection each time it is needed (bug prone).
    Ensuring that the connection is closed after use.
    
    TODO: this has been done before the will to add some utests, completing
    the testsuite. So, next work is to test it.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    dc440bc View commit details
    Browse the repository at this point in the history
  14. ldapadmin - adding a test file to test UserTokenDao class

    Not implemented yet.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    f311a20 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7c3501d View commit details
    Browse the repository at this point in the history
  16. ldapadmin - improving testsuite

    Adding some tests around UserTokenDao
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    ac22bfe View commit details
    Browse the repository at this point in the history
  17. ldapadmin - improving testsuite on usertokendao

    Also fixing a bug in my refactoring (use of database pool instead of
    reopening a connection each time).
    
    Global coverage is now 31% onto ldapadmin.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    16d88c6 View commit details
    Browse the repository at this point in the history
  18. ldapadmin - testsuite

    Adding a test for HomeController
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    e4d8bff View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0277b6e View commit details
    Browse the repository at this point in the history
  20. ldapadmin - testsuite

    Taking back work from master, improving test so that it is able to mock
    or query a regular remote LDAP server, depending on the properties set
    at JVM startup.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    007aac7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    2c3bba7 View commit details
    Browse the repository at this point in the history
  22. ldapadmin - Adding tests on [Request|Response]Util

    Fixing a bug in RequestUtil (possible ArrayOutOfBound exception)
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    0588522 View commit details
    Browse the repository at this point in the history
  23. ldapadmin - adding a testsuite for GroupsController

    Completing the previously introduced one to the other CRUD operations
    related to groups / user membership. This leverages the global test
    coverage on ldapadmin to 57%.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    09c6f22 View commit details
    Browse the repository at this point in the history
  24. ldapadmin - Adding a test suite for UsersController

    Still in a WIP state.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    c92d368 View commit details
    Browse the repository at this point in the history
  25. ldapadmin - issue 650

    Still in a WIP state, committing prematurely so that I'm able to test
    a regression onto 14.01 security-proxy
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    a51e4d7 View commit details
    Browse the repository at this point in the history
  26. ldapadmin - issue georchestra#650

    The mapper between LDAP <-> Java does not take into account user
    membership. This ensures that members are correctly mapped before saving
    the object to the LDAP tree.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    ba3fbb2 View commit details
    Browse the repository at this point in the history
  27. ldapadmin - testsuite

    Continuing on UsersController, adding a test on UserRule.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    7c2e8c6 View commit details
    Browse the repository at this point in the history
  28. ldapadmin - refactoring email related classes into the same package

    There were 2 classes remaining in the old lib.mailservice package, so it
    did not really make sense to keep them separated from the
    ldapadmin.mailservice package.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    912a3a4 View commit details
    Browse the repository at this point in the history
  29. ldapadmin - sourcing ldapadmin.properties files

    This is to avoid the need of copy/replace the webmvc-config.xml file,
    using the autogenerated WEB-INF/ldapadmin.properties instead.
    
    this repairs runtime launch via jetty:run.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    2e609ac View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    2644f56 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    ca580f9 View commit details
    Browse the repository at this point in the history
  32. ldapadmin - only automatic reindent of file

    fixing tab/spaces mix
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    33a69b2 View commit details
    Browse the repository at this point in the history
  33. ldapadmin - UsersController's delete operation testsuite

    finishing UsersController testsuite, leveraging the package to 92%
    coverage (73% overall).
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    b465bbb View commit details
    Browse the repository at this point in the history
  34. ldapadmin - testsuite for UserUtils

    The Validation class needs rework, because for now, it is hard to tell
    in which state the required fields member variable is in. Tests results
    (when removing the @ignore annotation) is unpredictable.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    11e43d7 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    c18262a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    6ab315c View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    863663a View commit details
    Browse the repository at this point in the history
  38. scala-tools repository is dead, removing it

    [WARNING] The repository url 'http://scala-tools.org/repo-releases' is
    invalid - Repository 'scala-tools.org' will be blacklisted.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    3b955b7 View commit details
    Browse the repository at this point in the history
  39. ldapadmin testsuite - autoconfiguration

    Missing driver class name when spawning a bean for Apache DBCP.
    pmauduit committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    a9d9f4e View commit details
    Browse the repository at this point in the history