/**
 * @copyright
 * ====================================================================
 *    Licensed to the Subversion Corporation (SVN Corp.) under one
 *    or more contributor license agreements.  See the NOTICE file
 *    distributed with this work for additional information
 *    regarding copyright ownership.  The SVN Corp. licenses this file
 *    to you under the Apache License, Version 2.0 (the
 *    "License"); you may not use this file except in compliance
 *    with the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing,
 *    software distributed under the License is distributed on an
 *    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *    KIND, either express or implied.  See the License for the
 *    specific language governing permissions and limitations
 *    under the License.
 * ====================================================================
 * @endcopyright
 */
package org.tigris.subversion.javahl;

import java.io.IOException;

import org.tigris.subversion.javahl.Revision;
import org.tigris.subversion.javahl.SubversionException;

/**
 * This class is used for testing the SVNAdmin class
 *
 * More methodes for testing are still needed
 */
public class SVNAdminTests extends SVNTests
{
    public SVNAdminTests()
    {
    }

    public SVNAdminTests(String name)
    {
        super(name);
    }

    /**
     * Test the basic SVNAdmin.create functionality
     * @throws SubversionException
     */
    public void testCreate()
        throws SubversionException, IOException
    {
        OneTest thisTest = new OneTest(false);
        assertTrue("repository exists", thisTest.getRepository().exists());
    }

    public void testSetRevProp()
        throws SubversionException, IOException
    {
        OneTest thisTest = new OneTest(false);
        admin.setRevProp(thisTest.getRepositoryPath(), Revision.getInstance(0),
                         "svn:log", "Initial repository creation", false,
                         false);
    }
}

@@ -1909,32 +1909,90 @@
 OneTest(false);%0A
+        final String MSG = %22Initial repository creation%22;%0A
         admin.se
@@ -2095,75 +2095,607 @@
 g%22, 
-%22Initial repository creation%22, false,%0A                         fals
+MSG, false, false);%0A        PropertyData%5B%5D pdata = client.revProperties(%0A                                      makeReposUrl(thisTest.getRepository()),%0A                                      Revision.getInstance(0));%0A        assertNotNull(%22expect non null rev props%22);%0A        String logMessage = null;%0A        for (int i = 0; i %3C pdata.length; i++)%0A        %7B%0A            if (%22svn:log%22.equals(pdata%5Bi%5D.getName()))%0A            %7B%0A                logMessage = pdata%5Bi%5D.getValue();%0A                break;%0A            %7D%0A        %7D%0A        assertEquals(%22expect rev prop change to take effect%22, MSG, logMessag
 e);%0A

Improve the existing revprop test to actually check that the property is set.