Skip to content

Commit

Permalink
redesigned AllTests to enable execution of single tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlobaron committed Dec 29, 2010
1 parent feda035 commit c17c0da
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/test/java/erjang/AbstractErjangTestCase.java
@@ -0,0 +1,34 @@
package erjang;

import java.io.File;

import junit.framework.TestCase;

/**
* Abstract class for Erjang JUnit test cases
*
* @author Pavlo Baron <pb@pbit.org>
*
*/
public abstract class AbstractErjangTestCase extends TestCase {

protected File file;

public AbstractErjangTestCase() {
}

public AbstractErjangTestCase(File file) {
super(file.getName());
this.file = file;
}

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

public void setFile(File file) {
this.file = file;
}

//abstract public void
}

0 comments on commit c17c0da

Please sign in to comment.