Lines Matching refs:error
64 …s->assertTrue($policy->checkPolicy('tested', 'tested'), '1 pool, no user check ' . $policy->error);
66 '1 pool, no user check, but too short ' . $policy->error);
67 $this->assertEquals(\helper_plugin_passpolicy::LENGTH_VIOLATION, $policy->error);
68 …assertTrue($policy->checkPolicy('tested99!', 'tested'), '1 pool, no user check ' . $policy->error);
71 …>assertFalse($policy->checkPolicy('tested', 'tested'), '3 pools, no user check ' . $policy->error);
72 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
73 …ssertTrue($policy->checkPolicy('tested99!', 'tested'), '3 pools, no user check ' . $policy->error);
76 …his->assertFalse($policy->checkPolicy('tested', 'tested'), '1 pool, user check ' . $policy->error);
77 $this->assertEquals(\helper_plugin_passpolicy::USERNAME_VIOLATION, $policy->error);
78 …->assertFalse($policy->checkPolicy('tested99!', 'tested'), '1 pool, user check ' . $policy->error);
79 $this->assertEquals(\helper_plugin_passpolicy::USERNAME_VIOLATION, $policy->error);
80 …s->assertFalse($policy->checkPolicy('tested', 'untested'), '1 pool, user check ' . $policy->error);
81 $this->assertEquals(\helper_plugin_passpolicy::USERNAME_VIOLATION, $policy->error);
82 …sertFalse($policy->checkPolicy('tested99!', 'comptessa'), '1 pool1, user check ' . $policy->error);
83 $this->assertEquals(\helper_plugin_passpolicy::USERNAME_VIOLATION, $policy->error);
91 $this->assertEquals(\helper_plugin_passpolicy::COMMON_VIOLATION, $policy->error);
102 $this->assertEquals(\helper_plugin_passpolicy::LEAK_VIOLATION, $policy->error);
111 …rtTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '0 required, 4 given ' . $policy->error);
112 …sertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '0 required, 3 given ' . $policy->error);
113 …>assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '0 required, 2 given ' . $policy->error);
114 …this->assertTrue($policy->checkPolicy('lower', 'tester'), '0 required, 1 given ' . $policy->error);
117 …rtTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '1 required, 4 given ' . $policy->error);
118 …sertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '1 required, 3 given ' . $policy->error);
119 …>assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '1 required, 2 given ' . $policy->error);
120 …this->assertTrue($policy->checkPolicy('lower', 'tester'), '1 required, 1 given ' . $policy->error);
123 …rtTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '2 required, 4 given ' . $policy->error);
124 …sertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '2 required, 3 given ' . $policy->error);
125 …>assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '2 required, 2 given ' . $policy->error);
126 …his->assertFalse($policy->checkPolicy('lower', 'tester'), '2 required, 1 given ' . $policy->error);
127 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
130 …rtTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '3 required, 4 given ' . $policy->error);
131 …sertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '3 required, 3 given ' . $policy->error);
132 …assertFalse($policy->checkPolicy('lowerUPPER', 'tester'), '3 required, 2 given ' . $policy->error);
133 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
134 …his->assertFalse($policy->checkPolicy('lower', 'tester'), '3 required, 1 given ' . $policy->error);
135 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
138 …rtTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '4 required, 4 given ' . $policy->error);
139 …ertFalse($policy->checkPolicy('lowerUPPER123', 'tester'), '4 required, 3 given ' . $policy->error);
140 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
141 …assertFalse($policy->checkPolicy('lowerUPPER', 'tester'), '4 required, 2 given ' . $policy->error);
142 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);
143 …his->assertFalse($policy->checkPolicy('lower', 'tester'), '4 required, 1 given ' . $policy->error);
144 $this->assertEquals(\helper_plugin_passpolicy::POOL_VIOLATION, $policy->error);