directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r892550 - in /directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ: TestClassA.java TestSuite.java
Date Sun, 20 Dec 2009 01:54:32 GMT
Author: elecharny
Date: Sun Dec 20 01:54:31 2009
New Revision: 892550

URL: http://svn.apache.org/viewvc?rev=892550&view=rev
Log:
Just clean up the ApplyLdifs data (split them in many lines). We should use another notation,
with varargs, instead of a single string...

Modified:
    directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestClassA.java
    directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestSuite.java

Modified: directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestClassA.java
URL: http://svn.apache.org/viewvc/directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestClassA.java?rev=892550&r1=892549&r2=892550&view=diff
==============================================================================
--- directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestClassA.java
(original)
+++ directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestClassA.java
Sun Dec 20 01:54:31 2009
@@ -14,7 +14,11 @@
 @TestLevelFactory(FrameworkDirectoryServiceFactory.class)
 @ApplyLdifs(
     {
-    "dn: cn=testClassA,ou=system\n" + "objectClass: person\n" + "cn: testClassA\n" + "sn:
sn_testClassA\n" })
+        "dn: cn=testClassA,ou=system\n" + 
+        "objectClass: person\n" + 
+        "cn: testClassA\n" + 
+        "sn: sn_testClassA\n" 
+    })
 public class TestClassA
 {
 
@@ -25,7 +29,11 @@
     @TestLevelFactory(FrameworkDirectoryServiceFactory.class)
     @ApplyLdifs(
         {
-        "dn: cn=testMethodA,ou=system\n" + "objectClass: person\n" + "cn: testMethodA\n"
+ "sn: sn_testMethodA\n" })
+            "dn: cn=testMethodA,ou=system\n" + 
+            "objectClass: person\n" + 
+            "cn: testMethodA\n" + 
+            "sn: sn_testMethodA\n" 
+        })
     public void testWithFactoryAnnotation() throws Exception
     {
         assertNull( service.getAdminSession().lookup( new LdapDN( "cn=testClassA,ou=system"
) ) );

Modified: directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestSuite.java
URL: http://svn.apache.org/viewvc/directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestSuite.java?rev=892550&r1=892549&r2=892550&view=diff
==============================================================================
--- directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestSuite.java
(original)
+++ directory/sandbox/kayyagari/integ-test-framework/src/test/java/org/apache/directory/server/core/integ/TestSuite.java
Sun Dec 20 01:54:31 2009
@@ -8,7 +8,11 @@
 @TestLevelFactory(FrameworkDirectoryServiceFactory.class)
 @ApplyLdifs(
     {
-    "dn: cn=testSuite,ou=system\n" + "objectClass: person\n" + "cn: testSuite\n" + "sn: sn_testSuite\n"
})
+        "dn: cn=testSuite,ou=system\n" + 
+        "objectClass: person\n" + 
+        "cn: testSuite\n" + 
+        "sn: sn_testSuite\n" 
+    })
 public class TestSuite
 {
 }



Mime
View raw message