directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1647024 - in /directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test: pom.xml src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java src/test/java/org/apache/directory/api/osgi/ApiLdapNetMinaOsgiTest.java
Date Sat, 20 Dec 2014 17:41:14 GMT
Author: seelmann
Date: Sat Dec 20 17:41:14 2014
New Revision: 1647024

URL: http://svn.apache.org/r1647024
Log:
Update versions and cleanup

Modified:
    directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/pom.xml
    directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
    directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapNetMinaOsgiTest.java

Modified: directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/pom.xml?rev=1647024&r1=1647023&r2=1647024&view=diff
==============================================================================
--- directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/pom.xml (original)
+++ directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/pom.xml Sat Dec 20 17:41:14
2014
@@ -30,9 +30,9 @@
     <properties>
         <logback.version>1.1.2</logback.version>
         <slf4j.api.version>1.7.7</slf4j.api.version>
-        <exam.version>3.4.0</exam.version>
-        <url.version>1.6.0</url.version>
-        <felix.version>4.0.2</felix.version>
+        <exam.version>4.4.0</exam.version>
+        <url.version>2.2.0</url.version>
+        <felix.version>4.4.1</felix.version>
     </properties>
 
     <dependencies>
@@ -85,6 +85,12 @@
 
         <!-- Test and PAX dependencies -->
         <dependency>
+            <groupId>org.apache.servicemix.bundles</groupId>
+            <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
+            <version>1_2</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <scope>test</scope>

Modified: directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java?rev=1647024&r1=1647023&r2=1647024&view=diff
==============================================================================
--- directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
(original)
+++ directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapCodecCoreOsgiTest.java
Sat Dec 20 17:41:14 2014
@@ -86,7 +86,7 @@ public class ApiLdapCodecCoreOsgiTest ex
     @Test
     public void testLookupLdapApiService()
     {
-        ServiceReference serviceReference = context.getServiceReference( LdapApiService.class.getName()
);
+        ServiceReference<LdapApiService> serviceReference = context.getServiceReference(
LdapApiService.class );
         Object service = context.getService( serviceReference );
         assertNotNull( service );
         assertTrue( service instanceof LdapApiService );

Modified: directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapNetMinaOsgiTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapNetMinaOsgiTest.java?rev=1647024&r1=1647023&r2=1647024&view=diff
==============================================================================
--- directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapNetMinaOsgiTest.java
(original)
+++ directory/sandbox/seelmann/osgi-testing/api-paxexam-osgi-test/src/test/java/org/apache/directory/api/osgi/ApiLdapNetMinaOsgiTest.java
Sat Dec 20 17:41:14 2014
@@ -64,7 +64,7 @@ public class ApiLdapNetMinaOsgiTest exte
     @Test
     public void testLookupLdapProtocolCodecFactory()
     {
-        ServiceReference serviceReference = context.getServiceReference( LdapProtocolCodecFactory.class.getName()
);
+        ServiceReference<LdapProtocolCodecFactory> serviceReference = context.getServiceReference(
LdapProtocolCodecFactory.class );
         Object service = context.getService( serviceReference );
         assertNotNull( service );
         assertTrue( service instanceof LdapProtocolCodecFactory );



Mime
View raw message