View Javadoc

1   /*
2    *  jDTAUS Core RI Client Container
3    *  Copyright (C) 2005 Christian Schulte
4    *  <cs@schulte.it>
5    *
6    *  This library is free software; you can redistribute it and/or
7    *  modify it under the terms of the GNU Lesser General Public
8    *  License as published by the Free Software Foundation; either
9    *  version 2.1 of the License, or any later version.
10   *
11   *  This library is distributed in the hope that it will be useful,
12   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   *  Lesser General Public License for more details.
15   *
16   *  You should have received a copy of the GNU Lesser General Public
17   *  License along with this library; if not, write to the Free Software
18   *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19   *
20   */
21  package org.jdtaus.core.container.ri.client.test;
22  
23  /**
24   * Specification used for testing the {@code Container} runtime.
25   *
26   * @author <a href="mailto:cs@schulte.it">Christian Schulte</a>
27   * @version $JDTAUS: TestSpecification.java 8641 2012-09-27 06:45:17Z schulte $
28   */
29  public interface TestSpecification
30  {
31      //--TestSpecification-------------------------------------------------------
32  
33      /**
34       * Flag indicating if the {@code ContainerInitializer} contract is
35       * implemented correctly by a {@code Container} implementation.
36       *
37       * @return {@code true} if the {@code ContainerInitializer} contract is
38       * implemented correctly by a {@code Container} implementation;
39       * {@code false} if no initialization is implemented by the
40       * {@code Container}.
41       */
42      boolean isInitialized();
43  
44      // Test properties.
45      boolean isBoolean();
46  
47      byte getByte();
48  
49      char getChar();
50  
51      double getDouble();
52  
53      float getFloat();
54  
55      int getInt();
56  
57      long getLong();
58  
59      short getShort();
60  
61      Boolean isBooleanObject();
62  
63      Byte getByteObject();
64  
65      Character getCharacterObject();
66  
67      Double getDoubleObject();
68  
69      Float getFloatObject();
70  
71      Integer getIntegerObject();
72  
73      Long getLongObject();
74  
75      Short getShortObject();
76  
77      String getStringObject();
78  
79      MultitonSpecification getDependency();
80  
81      //-------------------------------------------------------TestSpecification--
82  }