wizardDetectorTestBaseDN.js 636 B

123456789101112131415161718192021222324252627
  1. /**
  2. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. OCA = OCA || {};
  6. (function() {
  7. /**
  8. * @classdesc Tests, how many objects reside in the given base DN(s)
  9. *
  10. * @constructor
  11. */
  12. var WizardDetectorTestBaseDN = OCA.LDAP.Wizard.WizardDetectorTestAbstract.subClass({
  13. /** @inheritdoc */
  14. init: function() {
  15. // given, it is not a configuration key
  16. this.setTargetKey('ldap_test_base');
  17. this.testName = 'TestBaseDN';
  18. this.wizardMethod = 'countInBaseDN';
  19. this.runsOnRequest = true;
  20. }
  21. });
  22. OCA.LDAP.Wizard.WizardDetectorTestBaseDN = WizardDetectorTestBaseDN;
  23. })();