Skip to content

Commit

Permalink
#40 commented out code which produces errors durung test
Browse files Browse the repository at this point in the history
  • Loading branch information
britzke committed May 12, 2017
1 parent 25eca17 commit d4716fc
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/test/java/de/rennspur/test/init/db/SimulateTracesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,28 @@
import javax.persistence.Query;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;

import de.rennspur.init.db.SimulateTraces;
import de.rennspur.model.Race;
import de.rennspur.model.TeamPosition;

@RunWith(PowerMockRunner.class)
@PrepareForTest(SimulateTraces.class)
//@RunWith(PowerMockRunner.class)
//@PrepareForTest(SimulateTraces.class)
public class SimulateTracesTest {

@Mock
EntityManagerFactory emf;
@Mock
EntityManager em;
@Mock
Query q;

@Mock
Race r;
@Mock
TeamPosition tp;


@Test
public void Test(){
//mockStatic();
Expand Down

0 comments on commit d4716fc

Please sign in to comment.