2009/05/20 - Apache Shale has been retired.

For more information, please explore the Attic.

Coverage Report - org.apache.shale.test.mock.MockActionListener
 
Classes in this File Line Coverage Branch Coverage Complexity
MockActionListener
100%
2/2
N/A
1
 
 1  
 /*
 2  
  * Licensed to the Apache Software Foundation (ASF) under one or more
 3  
  * contributor license agreements.  See the NOTICE file distributed with
 4  
  * this work for additional information regarding copyright ownership.
 5  
  * The ASF licenses this file to you under the Apache License, Version 2.0
 6  
  * (the "License"); you may not use this file except in compliance with
 7  
  * the License.  You may obtain a copy of the License at
 8  
  *
 9  
  *      http://www.apache.org/licenses/LICENSE-2.0
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 
 18  
 package org.apache.shale.test.mock;
 19  
 
 20  
 import javax.faces.event.AbortProcessingException;
 21  
 import javax.faces.event.ActionEvent;
 22  
 import javax.faces.event.ActionListener;
 23  
 
 24  
 /**
 25  
  * <p>Mock implementation of the default <code>ActionListener</code>.</p>
 26  
  *
 27  
  * $Id$
 28  
  */
 29  
 
 30  
 public class MockActionListener implements ActionListener {
 31  
 
 32  
 
 33  
     // ------------------------------------------------------------ Constructors
 34  
 
 35  
 
 36  
     /**
 37  
      * <p>Construct a default instance.</p>
 38  
      */
 39  18
     public MockActionListener() {
 40  18
     }
 41  
 
 42  
 
 43  
     // ----------------------------------------------------- Mock Object Methods
 44  
 
 45  
 
 46  
     // ------------------------------------------------------ Instance Variables
 47  
 
 48  
 
 49  
     // -------------------------------------------------- ActionListener Methods
 50  
 
 51  
 
 52  
     /**
 53  
      * <p>Process the specified <code>ActionEvent</code>.</p>
 54  
      *
 55  
      * @param event Event to be processed
 56  
      *
 57  
      * @exception AbortProcessingException if further event firing
 58  
      *  should be skipped
 59  
      */
 60  
     public void processAction(ActionEvent event) throws AbortProcessingException {
 61  
         // FIXME - provide default implementation
 62  
     }
 63  
 
 64  
 
 65  
 }