View Javadoc

    1   package org.apache.turbine.services.security;
    2   /*
    3    * Licensed to the Apache Software Foundation (ASF) under one
    4    * or more contributor license agreements.  See the NOTICE file
    5    * distributed with this work for additional information
    6    * regarding copyright ownership.  The ASF licenses this file
    7    * to you under the Apache License, Version 2.0 (the
    8    * "License"); you may not use this file except in compliance
    9    * with the License.  You may obtain a copy of the License at
    10   *
    11   *   http://www.apache.org/licenses/LICENSE-2.0
    12   *
    13   * Unless required by applicable law or agreed to in writing,
    14   * software distributed under the License is distributed on an
    15   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    16   * KIND, either express or implied.  See the License for the
    17   * specific language governing permissions and limitations
    18   * under the License.
    19   */
    20
    21  import static org.junit.Assert.fail;
    22
    23  import org.apache.fulcrum.security.model.turbine.test.AbstractTurbineModelManagerTest;
    24  import org.junit.After;
    25  import org.junit.Before;
    26  import org.junit.Test;
    27
    28  /**
    29   * Test Fulcrum Integration.
    30   *
    31   * Stub for further tests, relying on Fulcrum.
    32   *
    33   * @author gkallidis
    34   * @version $Id:$
    35   */
    36  public class TurbineDefaultModelManagerTest
    37      extends AbstractTurbineModelManagerTest
    38  {
    39
    40      @Override
    41  	@Before
    42  	public void setUp() throws Exception
    43      {
    44          try
    45          {
    46          	// just Fulcrum
    47              setConfigurationFileName("conf/test/fulcrumComponentConfiguration.xml");
    48              setRoleFileName("conf/test/fulcrumRoleConfiguration.xml");
    49              super.setUp();
    50
    51          }
    52          catch (Exception e)
    53          {
    54              fail(e.toString());
    55          }
    56      }
    57
    58      @Test
    59      public void testDummy() {
    60      	// all tests in abstract
    61      }
    62
    63      @Override
    64      @After
    65  	public void tearDown()
    66      {
    67          modelManager = null;
    68          securityService = null;
    69      }
    70
    71  }