View Javadoc

1   package org.ogf.saga.context;
2   
3   import org.ogf.saga.JSAGABaseTest;
4   
5   /* ***************************************************
6   * *** Centre de Calcul de l'IN2P3 - Lyon (France) ***
7   * ***             http://cc.in2p3.fr/             ***
8   * ***************************************************
9   * File:   ContextInitTest
10  * Author: lionel.schwarz@in2p3.fr
11  * Date:   12 mars 2014
12  * ***************************************************
13  * Description:                                      */
14  /**
15   *
16   */
17  public abstract class ContextTest extends JSAGABaseTest {
18      protected String m_contextId;
19  
20      protected ContextTest(String contextId) throws Exception {
21          super();
22          m_contextId = contextId;
23      }
24  
25      /**
26       * Override this method to add context-specific attributes at run-time.
27       */
28      protected void updateContextAttributes(Context context) throws Exception {
29          // do nothing
30      }
31  
32  }