Skip to content

Commit 1657cc5

Browse files
committed
Fixes an issue where junit library is missing in the project file.
Removes unused class path setting.
1 parent 3f48eb1 commit 1657cc5

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.classpath

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@
2222
<attribute name="maven.pomderived" value="true"/>
2323
</attributes>
2424
</classpathentry>
25-
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
2625
<classpathentry kind="output" path="target/classes"/>
2726
</classpath>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@
9797
<version>4.2.5</version>
9898
<scope>test</scope>
9999
</dependency>
100+
<dependency>
101+
<groupId>junit</groupId>
102+
<artifactId>junit</artifactId>
103+
<version>4.8.2</version>
104+
<scope>test</scope>
105+
</dependency>
100106
</dependencies>
101107
<build>
102108
<finalName>AndroidSerial</finalName>

src/test/java/com/yourinventit/processing/android/serial/UsbSerialCommunicatorTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
*/
44
package com.yourinventit.processing.android.serial;
55

6-
import static org.mockito.Mockito.*;
7-
import static junit.framework.Assert.*;
6+
import static org.junit.Assert.assertNotNull;
7+
import static org.junit.Assert.assertNull;
8+
import static org.mockito.Mockito.mock;
9+
import static org.mockito.Mockito.when;
810

911
import org.junit.Before;
1012
import org.junit.Test;

0 commit comments

Comments
 (0)