File: remove-jexample-tests.patch

package info (click to toggle)
oscar4 5.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,996 kB
  • sloc: xml: 567,330; java: 17,951; makefile: 6
file content (32 lines) | stat: -rw-r--r-- 897 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: JExample is not packaged for Debian.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/oscar4-obo/src/test/java/uk/ac/cam/ch/wwmm/oscar/obo/dso/DSOtoOBOTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package uk.ac.cam.ch.wwmm.oscar.obo.dso;
-
-import org.junit.Assert;
-import org.junit.Test;
-
-import uk.ac.cam.ch.wwmm.oscar.obo.OBOOntology;
-import uk.ac.cam.ch.wwmm.oscar.tools.ResourceGetter;
-
-public class DSOtoOBOTest {
-
-	@Test
-	public void testLoadingDSOFile() throws Exception {
-		ResourceGetter rg = new ResourceGetter(
-			this.getClass().getClassLoader(),
-			"uk/ac/cam/ch/wwmm/oscar/obo/terms/"
-		);
-		Assert.assertNotNull(rg.getStream("ptcontology.dso"));
-	}
-
-	@Test
-	public void testReadDSO() throws Exception {
-		OBOOntology obo = DSOtoOBO.readDSO();
-		Assert.assertNotNull(obo);
-		Assert.assertNotSame(0, obo.getTerms().size());
-	}
-}