diff --git a/WatchDogCore/WatchDog/META-INF/MANIFEST.MF b/WatchDogCore/WatchDog/META-INF/MANIFEST.MF index 356b5dfd..08ac9cc0 100644 --- a/WatchDogCore/WatchDog/META-INF/MANIFEST.MF +++ b/WatchDogCore/WatchDog/META-INF/MANIFEST.MF @@ -16,9 +16,9 @@ Bundle-ClassPath: ., lib/mapdb-1.0.5.jar Export-Package: com.google.gson, com.google.gson.annotations, - com.google.gson.reflect, - com.google.gson.internal, + com.google.gson.internal, com.google.gson.internal.bind, + com.google.gson.reflect, com.google.gson.stream, nl.tudelft.watchdog.core.logic.document, nl.tudelft.watchdog.core.logic.interval, @@ -31,5 +31,6 @@ Export-Package: com.google.gson, nl.tudelft.watchdog.core.util, org.joda.time, org.joda.time.base, + org.joda.time.chrono, org.joda.time.format, org.mapdb diff --git a/WatchDogEclipsePlugin/WatchDogUnitTests/.classpath b/WatchDogEclipsePlugin/WatchDogUnitTests/.classpath index d5901f0b..5e19468f 100644 --- a/WatchDogEclipsePlugin/WatchDogUnitTests/.classpath +++ b/WatchDogEclipsePlugin/WatchDogUnitTests/.classpath @@ -13,5 +13,6 @@ + diff --git a/WatchDogEclipsePlugin/WatchDogUnitTests/META-INF/MANIFEST.MF b/WatchDogEclipsePlugin/WatchDogUnitTests/META-INF/MANIFEST.MF index 68236798..6a327a8e 100644 --- a/WatchDogEclipsePlugin/WatchDogUnitTests/META-INF/MANIFEST.MF +++ b/WatchDogEclipsePlugin/WatchDogUnitTests/META-INF/MANIFEST.MF @@ -13,5 +13,6 @@ Bundle-ClassPath: libs/mockito-all-1.9.5.jar, libs/powermock-mockito-1.6.1-full.jar, libs/javassist-3.18.2-GA.jar, libs/objenesis-2.1.jar, - libs/cglib-nodep-2.2.2.jar + libs/cglib-nodep-2.2.2.jar, + libs/equalsverifier-2.0.2.jar Import-Package: org.eclipse.ui diff --git a/WatchDogEclipsePlugin/WatchDogUnitTests/build.properties b/WatchDogEclipsePlugin/WatchDogUnitTests/build.properties index 00b4d4c7..329298c7 100644 --- a/WatchDogEclipsePlugin/WatchDogUnitTests/build.properties +++ b/WatchDogEclipsePlugin/WatchDogUnitTests/build.properties @@ -7,4 +7,5 @@ bin.includes = META-INF/,\ libs/powermock-mockito-1.6.1-full.jar,\ libs/javassist-3.18.2-GA.jar,\ libs/objenesis-2.1.jar,\ - libs/cglib-nodep-2.2.2.jar + libs/cglib-nodep-2.2.2.jar,\ + libs/equalsverifier-2.0.2.jar diff --git a/WatchDogEclipsePlugin/WatchDogUnitTests/libs/equalsverifier-2.0.2.jar b/WatchDogEclipsePlugin/WatchDogUnitTests/libs/equalsverifier-2.0.2.jar new file mode 100644 index 00000000..c737fbca Binary files /dev/null and b/WatchDogEclipsePlugin/WatchDogUnitTests/libs/equalsverifier-2.0.2.jar differ diff --git a/WatchDogEclipsePlugin/WatchDogUnitTests/src/nl/tudelft/watchdog/core/logic/interval/intervaltypes/IntervalBaseTest.java b/WatchDogEclipsePlugin/WatchDogUnitTests/src/nl/tudelft/watchdog/core/logic/interval/intervaltypes/IntervalBaseTest.java new file mode 100644 index 00000000..bdb98c9c --- /dev/null +++ b/WatchDogEclipsePlugin/WatchDogUnitTests/src/nl/tudelft/watchdog/core/logic/interval/intervaltypes/IntervalBaseTest.java @@ -0,0 +1,13 @@ +package nl.tudelft.watchdog.core.logic.interval.intervaltypes; + +import org.junit.Test; + +import nl.jqno.equalsverifier.EqualsVerifier; + +public class IntervalBaseTest { + + @Test + public void equalsContract() { + EqualsVerifier.forClass(IntervalBase.class).verify(); + } +}