001/* 002 * jDTAUS Core RI Client Container 003 * Copyright (C) 2005 Christian Schulte 004 * <cs@schulte.it> 005 * 006 * This library is free software; you can redistribute it and/or 007 * modify it under the terms of the GNU Lesser General Public 008 * License as published by the Free Software Foundation; either 009 * version 2.1 of the License, or any later version. 010 * 011 * This library is distributed in the hope that it will be useful, 012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 014 * Lesser General Public License for more details. 015 * 016 * You should have received a copy of the GNU Lesser General Public 017 * License along with this library; if not, write to the Free Software 018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 019 * 020 */ 021package org.jdtaus.core.container.ri.client.test; 022 023/** 024 * Specification used for testing the {@code Container} runtime. 025 * 026 * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 027 * @version $JDTAUS: TestSpecification.java 8641 2012-09-27 06:45:17Z schulte $ 028 */ 029public interface TestSpecification 030{ 031 //--TestSpecification------------------------------------------------------- 032 033 /** 034 * Flag indicating if the {@code ContainerInitializer} contract is 035 * implemented correctly by a {@code Container} implementation. 036 * 037 * @return {@code true} if the {@code ContainerInitializer} contract is 038 * implemented correctly by a {@code Container} implementation; 039 * {@code false} if no initialization is implemented by the 040 * {@code Container}. 041 */ 042 boolean isInitialized(); 043 044 // Test properties. 045 boolean isBoolean(); 046 047 byte getByte(); 048 049 char getChar(); 050 051 double getDouble(); 052 053 float getFloat(); 054 055 int getInt(); 056 057 long getLong(); 058 059 short getShort(); 060 061 Boolean isBooleanObject(); 062 063 Byte getByteObject(); 064 065 Character getCharacterObject(); 066 067 Double getDoubleObject(); 068 069 Float getFloatObject(); 070 071 Integer getIntegerObject(); 072 073 Long getLongObject(); 074 075 Short getShortObject(); 076 077 String getStringObject(); 078 079 MultitonSpecification getDependency(); 080 081 //-------------------------------------------------------TestSpecification-- 082}