From 212f74a35a8b555bc8ef483a762a9d2f7fe99c1a Mon Sep 17 00:00:00 2001 From: Hendrik Buschmeier <hbuschme@TechFak.Uni-Bielefeld.DE> Date: Mon, 27 Feb 2012 16:28:20 +0100 Subject: [PATCH] Use external python libraries rsb, protobuf. --- java/test/src/ipaaca/JavaPythonTest.java | 3 --- python/ivy.xml | 5 +++-- python/test/ivy.xml | 5 +++++ python/test/src/testipaaca.py | 3 +-- 4 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 python/test/ivy.xml diff --git a/java/test/src/ipaaca/JavaPythonTest.java b/java/test/src/ipaaca/JavaPythonTest.java index ae7ea2c..778b100 100644 --- a/java/test/src/ipaaca/JavaPythonTest.java +++ b/java/test/src/ipaaca/JavaPythonTest.java @@ -2,8 +2,6 @@ package ipaaca; import static org.junit.Assert.assertEquals; -import ipaaca.Ipaaca.IU; - import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.IOException; @@ -12,7 +10,6 @@ import java.io.InputStreamReader; import java.util.Set; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import com.google.common.collect.ImmutableSet; diff --git a/python/ivy.xml b/python/ivy.xml index f7824bb..b24cc6a 100644 --- a/python/ivy.xml +++ b/python/ivy.xml @@ -1,6 +1,7 @@ <ivy-module version="2.0"> - <info organisation="HMI" module="IpaacaPython" /> + <info organisation="ipaaca" module="IpaacaPython" /> <dependencies> - <dependency org="junit" name="junit" rev="latest.release"/> + <dependency org="google" name="protobuf" rev="latest.release"/> + <dependency org="rsb" name="rsb" rev="latest.release"/> </dependencies> </ivy-module> diff --git a/python/test/ivy.xml b/python/test/ivy.xml new file mode 100644 index 0000000..ffd2a4a --- /dev/null +++ b/python/test/ivy.xml @@ -0,0 +1,5 @@ +<ivy-module version="2.0"> + <info organisation="ipaaca" module="IpaacaPythonTest"/> + <dependencies > + </dependencies> +</ivy-module> diff --git a/python/test/src/testipaaca.py b/python/test/src/testipaaca.py index 1e41129..0c8de8b 100755 --- a/python/test/src/testipaaca.py +++ b/python/test/src/testipaaca.py @@ -37,8 +37,7 @@ class IpaacaPayloadTestCase(unittest.TestCase): self.ob.add(self.sensor_iu) def testPayloadContent(self): - time.sleep(0.1)ipaac -nimp[ + time.sleep(0.1) iu_received = self.ib.iu_store.get(self.sensor_iu.uid) self.assertEqual(iu_received.payload["data"], 'sensordata') -- GitLab