BringUpTests.java

/*******************************************************************************
 * Copyright (c) 2004 IBM
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
 *
 * Contributors:
 *    Andy Clement - initial API and implementation
 *******************************************************************************/
package org.aspectj.systemtest.bringup;

import org.aspectj.testing.XMLBasedAjcTestCase;

import junit.framework.Test;

/**
 * These are tests that will run on Java 1.4 and use the old harness format for test specification.
 */
public class BringUpTests extends org.aspectj.testing.XMLBasedAjcTestCase {

  public static Test suite() {
    return XMLBasedAjcTestCase.loadSuite(BringUpTests.class);
  }

  protected java.net.URL getSpecFile() {
	  return getClassResource("bringup.xml");
//    return new File("../tests/src/org/aspectj/systemtest/bringup/bringup.xml");
  }

  public void testEmptyClass() {
	  runTest("empty class");
  }

  public void testEmptyAspect() {
	  runTest("empty aspect");
  }
}