package test.abnahme.A;

import test.abnahme.AbnahmeTestCase;

/*
 * @author Paul Ivancsics
 * @version $Id$
 */
public class Test700SelectBKU extends AbnahmeTestCase {

  public Test700SelectBKU(String name) {
    super(name);
  }

  public void testA701() throws Exception {
    try {
      String form = server.selectBKU(
        "https://localhost:8443/auth",
        "gb",
        "https://localhost:9443/",
        "file:" + getTestCaseDirectory() + "BKUSelectionTemplate.html", 
        "file:" + getTestCaseDirectory() + "Template.html");
      //writeXmldata("SelectBKUForm_out.html", form.getBytes());
      assertEqualsIgnoreSessionID(readXmldata("SelectBKUForm.html"), form);
    }
    catch (Exception ex) {
      System.err.println("------ FEHLER IN " + this.getName() + ":" + ex.getLocalizedMessage());
      throw ex;
    }
  }
  public void testA702() throws Exception {
    try {
      String form = server.selectBKU(
        "https://localhost:8443/auth",
        "gb",
        "https://localhost:9443/",
        null,
        null); 
      //writeXmldata("SelectBKUForm_out.html", form.getBytes());
      assertEqualsIgnoreSessionID(readXmldata("SelectBKUForm.html"), form);
    }
    catch (Exception ex) {
      System.err.println("------ FEHLER IN " + this.getName() + ":" + ex.getLocalizedMessage());
      throw ex;
    }
  }
  public void testA703() throws Exception {
    try {
      String form = server.selectBKU(
        "https://localhost:8443/auth",
        "gb",
        "https://localhost:9443/",
        null,
        null); 
      //writeXmldata("SelectBKUForm_out.html", form.getBytes());
      assertEqualsIgnoreSessionID(readXmldata("SelectBKUForm.html"), form);
    }
    catch (Exception ex) {
      System.err.println("------ FEHLER IN " + this.getName() + ":" + ex.getLocalizedMessage());
      throw ex;
    }
  }
}