move password encoder tests to proper packages.

rename saltSource param in PasswordEncoder interfce to salt. It was already called salt in subclasses, and is in fact supposed to be the salt, not the source for the salt, although depending on the implementation it may still be treated as the latter.
This commit is contained in:
Colin Sampaleanu
2004-04-17 02:18:46 +00:00
parent da5101cfb4
commit 3ceb492cb2
6 changed files with 9 additions and 17 deletions

View File

@@ -13,13 +13,10 @@
* limitations under the License.
*/
package net.sf.acegisecurity.providers.dao;
package net.sf.acegisecurity.providers.encoding;
import junit.framework.TestCase;
import net.sf.acegisecurity.providers.encoding.*;
/**
* <p>
* TestCase for PlaintextPasswordEncoder.
@@ -28,7 +25,7 @@ import net.sf.acegisecurity.providers.encoding.*;
* @author colin sampaleanu
* @version $Id$
*/
public class MD5PasswordEncoderTest extends TestCase {
public class Md5PasswordEncoderTest extends TestCase {
//~ Methods ================================================================
public void testBasicFunctionality() {

View File

@@ -13,13 +13,10 @@
* limitations under the License.
*/
package net.sf.acegisecurity.providers.dao;
package net.sf.acegisecurity.providers.encoding;
import junit.framework.TestCase;
import net.sf.acegisecurity.providers.encoding.*;
/**
* <p>
* TestCase for PlaintextPasswordEncoder.

View File

@@ -13,12 +13,10 @@
* limitations under the License.
*/
package net.sf.acegisecurity.providers.dao;
package net.sf.acegisecurity.providers.encoding;
import junit.framework.TestCase;
import net.sf.acegisecurity.providers.encoding.*;
/**
* <p>
@@ -28,7 +26,7 @@ import net.sf.acegisecurity.providers.encoding.*;
* @author colin sampaleanu
* @version $Id$
*/
public class SHAPasswordEncoderTest extends TestCase {
public class ShaPasswordEncoderTest extends TestCase {
//~ Methods ================================================================
public void testBasicFunctionality() {