wizardDetectorTestBaseDN.js 721 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com>
  3. * This file is licensed under the Affero General Public License version 3 or later.
  4. * See the COPYING-README file.
  5. */
  6. OCA = OCA || {};
  7. (function() {
  8. /**
  9. * @classdesc Tests, how many objects reside in the given base DN(s)
  10. *
  11. * @constructor
  12. */
  13. var WizardDetectorTestBaseDN = OCA.LDAP.Wizard.WizardDetectorTestAbstract.subClass({
  14. /** @inheritdoc */
  15. init: function() {
  16. // given, it is not a configuration key
  17. this.setTargetKey('ldap_test_base');
  18. this.testName = 'TestBaseDN';
  19. this.wizardMethod = 'countInBaseDN';
  20. this.runsOnRequest = true;
  21. }
  22. });
  23. OCA.LDAP.Wizard.WizardDetectorTestBaseDN = WizardDetectorTestBaseDN;
  24. })();