Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2008-12-16 09:27:50 -0500
committermkuppe2008-12-16 09:27:50 -0500
commit7885e3a1336d3948a385c4dc5d995560f0a70da5 (patch)
tree7d746404d53895e4322097f41bb71997364c334d
parent77926febe7179e807136a7e0297f74e47657dbab (diff)
downloadorg.eclipse.ecf-7885e3a1336d3948a385c4dc5d995560f0a70da5.tar.gz
org.eclipse.ecf-7885e3a1336d3948a385c4dc5d995560f0a70da5.tar.xz
org.eclipse.ecf-7885e3a1336d3948a385c4dc5d995560f0a70da5.zip
NEW - bug 258927: [Discovery][SLP] byte service properties aren't correctly converted into an octet sequence (Base64)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=258927
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryTest.java b/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryTest.java
index aa3435fab..936870bca 100755
--- a/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/DiscoveryTest.java
@@ -127,7 +127,7 @@ public abstract class DiscoveryTest extends AbstractDiscoveryTest {
serviceProperties.setProperty(DiscoveryTest.class.getName() + "servicePropertiesIntegerMax", new Integer(Integer.MIN_VALUE));
serviceProperties.setProperty(DiscoveryTest.class.getName() + "servicePropertiesIntegerMin", new Integer(Integer.MAX_VALUE));
serviceProperties.setProperty(DiscoveryTest.class.getName() + "servicePropertiesBoolean", new Boolean(false));
- serviceProperties.setPropertyBytes(DiscoveryTest.class.getName() + "servicePropertiesByte", new byte[]{'a', 'b', 'c', 'd'});
+ serviceProperties.setPropertyBytes(DiscoveryTest.class.getName() + "servicePropertiesByte", new byte[]{-127, -126, -125, 0, 1, 2, 3, 'a', 'b', 'c', 'd', 126, 127});
serviceInfo = new ServiceInfo(uri, serviceID, 1, 1, serviceProperties);
assertNotNull(serviceInfo);

Back to the top