Skip to content

Commit

Permalink
removing dead weight
Browse files Browse the repository at this point in the history
  • Loading branch information
matyb committed Apr 13, 2016
1 parent 55a87ef commit db98b66
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import com.sandwich.util.io.KoanSuiteCompilationListener;
import com.sandwich.util.io.classloader.DynamicClassLoader;
import com.sandwich.util.io.directories.DirectoryManager;
import com.sandwich.util.io.directories.ProductionExecutedFromTestsDirectories;
import com.sandwich.util.io.directories.ProductionDirectories;
import com.sandwich.util.io.directories.UnitTestDirectories;

public abstract class CommandLineTestCase {
Expand Down Expand Up @@ -63,7 +63,7 @@ public void setUp() throws Exception {

@After
public void tearDown() throws Exception {
DirectoryManager.setDirectorySet(new ProductionExecutedFromTestsDirectories());
DirectoryManager.setDirectorySet(new ProductionDirectories());
setRealPath();
if(out != null){
System.setOut(out);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import com.sandwich.koan.ui.SuitePresenter;
import com.sandwich.util.Strings;
import com.sandwich.util.io.directories.DirectoryManager;
import com.sandwich.util.io.directories.ProductionExecutedFromTestsDirectories;
import com.sandwich.util.io.directories.ProductionDirectories;

/**
* Anything that absolutely has to happen before bundling client jar - to be sure:
Expand Down Expand Up @@ -143,7 +143,7 @@ public void run(){
}

private void doAsIfInProd(Runnable runnable) {
DirectoryManager.setDirectorySet(new ProductionExecutedFromTestsDirectories());
DirectoryManager.setDirectorySet(new ProductionDirectories());
resetClassLoader();
setRealPath();
runnable.run();
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



public class UnitTestDirectories extends ProductionExecutedFromTestsDirectories {
public class UnitTestDirectories extends ProductionDirectories {

public String getSourceDir() {
return "java";
Expand Down

0 comments on commit db98b66

Please sign in to comment.