EmailPasswordReminderTest.java :  » Content-Management-System » openedit » com » openedit » modules » admin » Java Open Source

Java Open Source » Content Management System » openedit 
openedit » com » openedit » modules » admin » EmailPasswordReminderTest.java
/*
 * Created on Jun 14, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package com.openedit.modules.admin;

import com.openedit.BaseTestCase;
import com.openedit.WebPageRequest;

/**
 * @author mcgaha_b
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class EmailPasswordReminderTest extends BaseTestCase {
  
  public EmailPasswordReminderTest(String arg0)
  {
    super(arg0);
  }
  
  public void testEmailPasswordReminder() throws Exception
  {
    /*String base = System.getProperty("basedir");
    if ( base == null)
    {
      System.setProperty("basedir","resources/test");
    }
    AdminModule adminModule = (AdminModule)getFixture().getModuleManager().getModule("Admin");
    WebPageRequest context = getFixture().createPageRequest();
    //context.setRequestParameter( "username", "admin" );
    context.setRequestParameter( "to", "XXXXbuckeyes_reds@yahoo.com" );
    
    adminModule.emailPasswordReminder( context );

    String status = (String)context.getPageValue("commandSucceeded");
    assertTrue( "nouser".equals( status ));
    //PasswordHelper passwordHelper = (PasswordHelper) context.getSessionValue( "passwordHelper" );
    //assertNotNull(passwordHelper);
*/
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.