- generate(String, int) - Method in interface nablarch.test.core.util.generator.CharacterGenerator
-
文字を生成する。
- generate(String, int) - Method in class nablarch.test.core.util.generator.CharacterGeneratorBase
-
与えられた文字種の文字列を生成する。
不明な文字種が与えられた場合は例外が発生する。
- GenericJdbcDbInfo - Class in nablarch.test.core.db
-
- get(int, int) - Method in class nablarch.test.core.db.BasicDefaultValues
-
データ型に応じたデフォルト値を取得する。
- get(int, int) - Method in interface nablarch.test.core.db.DefaultValues
-
データ型に応じたデフォルト値を取得する。
- get(String) - Method in class nablarch.test.core.standalone.TestShot
-
テストデータを取得する。
- getAbsoluteCssUriPrefix(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
URI型の絶対パス参照文字列から、URIのプレフィックスを取得する。
- getAllDate() - Method in class nablarch.test.FixedBusinessDateProvider
-
- getBaseUri() - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
-
ベースURIを返却する。
- getBinaryValue() - Method in class nablarch.test.core.db.BasicDefaultValues
-
バイナリ型のデフォルト値を取得する。
指定した長さのbyte配列を生成し、返却する。
- getBookName() - Method in class nablarch.test.TestSupport
-
ブック名を取得する。
- getBooleanValue() - Method in class nablarch.test.core.db.BasicDefaultValues
-
Boolean型のデフォルト値を取得する。
- getBytes(int, String) - Method in class nablarch.test.core.db.TableData
-
値をバイト配列で取得する。
- getCachedListMap(String, String) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
-
キャッシュからLIST_MAPを取得する。
キャッシュにない場合は、データシートから取得しメモリ上にキャッシュする。
- getCaseName() - Method in class nablarch.test.core.standalone.TestShot
-
テストケース名称を取得する。
- getCharValue(int) - Method in class nablarch.test.core.db.BasicDefaultValues
-
固定長文字列型のデフォルト値を取得する。
デフォルト値を指定されたカラム長まで増幅して返却する。
- getClobValue(int) - Method in class nablarch.test.core.db.BasicDefaultValues
-
Clob型のデフォルト値を取得する。
デフォルト値をそのまま返却する。
- getClone() - Method in class nablarch.test.core.db.TableData
-
本オブジェクトのクローンを取得する。
- getColumnLength(String, String) - Method in interface nablarch.test.core.db.DbInfo
-
指定したカラムのサイズを取得する。
- getColumnLength(String, String) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
指定したカラムのサイズを取得する。
- getColumnNames() - Method in class nablarch.test.core.db.TableData
-
カラム名を取得する。
- getColumns(String) - Method in interface nablarch.test.core.db.DbInfo
-
カラム名を取得する。
- getColumns(String) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
カラム名を取得する。
- getColumnType(String, String) - Method in interface nablarch.test.core.db.DbInfo
-
カラムのデータ型を取得する。
- getColumnType(String, String) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
カラムのデータ型を取得する。
- getColumnType(ResultSet) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
カラム型を取得する。
- getCookie() - Method in class nablarch.fw.web.MockHttpRequest
-
このリクエストで送信されるクッキー情報を取得する。
- getCookie() - Method in class nablarch.test.core.http.TestCaseInfo
-
Cookieを返却する。
- getCreate() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getDate() - Method in class nablarch.test.FixedBusinessDateProvider
-
- getDate(String) - Method in class nablarch.test.FixedBusinessDateProvider
-
- getDate() - Method in class nablarch.test.FixedSystemTimeProvider
-
現在日時を取得する。
- getDateValue() - Method in class nablarch.test.core.db.BasicDefaultValues
-
日付型のデフォルト値を取得する。
デフォルト値が明示的に設定されている場合はその値を、
そうでない場合は、epoch(1970-01-01 00:00:00.0)をデフォルト値として返却する。
- getDbInfo() - Method in class nablarch.test.core.db.TableData
-
データベース情報を取得する。
- getDiConfig() - Method in class nablarch.test.core.standalone.TestShot
-
コンポーネント設定ファイルを取得する。
- getDumpFile(ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
HTTPレスポンスボディが出力されたファイルを取得する。
- getDumpFileExtension() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
ダンプファイルの拡張子を取得する。
- getEncodingFromDirectives() - Method in class nablarch.test.core.file.DataFile
-
ディレクティブからエンコーディングを取得する。
- getExceptionRequestVarKey() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
ApplicationExceptionが格納されるリクエストスコープのキーを取得する。
- getExpectedContentFileName() - Method in class nablarch.test.core.http.TestCaseInfo
-
コンテンツディスポジション・ヘッダに指定されたファイル名の期待値を返却する。
- getExpectedContentLength() - Method in class nablarch.test.core.http.TestCaseInfo
-
コンテンツレングス・ヘッダの期待値を返却する。
- getExpectedContentType() - Method in class nablarch.test.core.http.TestCaseInfo
-
コンテンツタイプ・ヘッダの期待値の期待値を返却する。
- getExpectedFile(String, String, String...) - Method in interface nablarch.test.core.reader.TestDataParser
-
期待する固定長ファイルデータを取得する。
- getExpectedForwardUri() - Method in class nablarch.test.core.http.TestCaseInfo
-
フォワード先URIの期待値を返却する。
- getExpectedMessage() - Method in class nablarch.test.core.http.TestCaseInfo
-
要求電文(期待値)を返却する.
- getExpectedMessageId() - Method in class nablarch.test.core.http.TestCaseInfo
-
メッセージID(期待値)を返却する.
- getExpectedRequestMessage(String, Integer, String, DataType, boolean) - Method in class nablarch.test.core.messaging.RequestTestingSendSyncSupport
-
要求電文の準備を行う。
- getExpectedRequestScopeVar() - Method in class nablarch.test.core.http.TestCaseInfo
-
HTTPレスポンス(期待値)を返却する.
- getExpectedSearchId() - Method in class nablarch.test.core.http.TestCaseInfo
-
検索結果検証の期待値を特定するIDを返却する.
- getExpectedStatusCode() - Method in class nablarch.test.core.http.TestCaseInfo
-
HTTPステータスコード(期待値)を返却する.
- getExpectedTable() - Method in class nablarch.test.core.http.TestCaseInfo
-
テーブル検証の期待値を特定するIDを返却する.
- getExpectedTableData(String, String, String...) - Method in interface nablarch.test.core.reader.TestDataParser
-
期待するテーブルデータを取得する。
- getExpectedTableData(String, String...) - Method in class nablarch.test.TestSupport
-
期待するTableDataを取得する。
- getFileFilter(HttpTestConfiguration) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
FileFilterを取得する。
- getFileNameWithoutSuffix(String) - Static method in class nablarch.test.NablarchTestUtils
-
拡張子を除いたファイル名を取得する。
- getFileType() - Method in class nablarch.test.core.file.DataFile
-
ファイルタイプを取得する。
- getFormatter() - Method in class nablarch.test.core.messaging.MessagePool
-
DataRecordFormatterを取得。
- getFwHeaderDefinitionName() - Method in class nablarch.test.core.messaging.MessagingRequestTestSupport
-
nablarch.fw.messaging.FwHeaderDefinition実装クラスを
システムリポジトリから取得するための名前を取得する。
本メソッドは、"fwHeaderDefinition"
を返却する。
- getHandlerQueue() - Method in class nablarch.fw.web.HttpServer
-
この実装では、サーバが処理を委譲するフロントコントローラ内の
ハンドラキューを返す。
- getHeader(String) - Method in class nablarch.fw.web.MockHttpRequest
-
HTTPリクエストヘッダの値を返す。
- getHeaderMap() - Method in class nablarch.fw.web.MockHttpRequest
-
HTTPリクエストヘッダを格納したMapを取得する。
- getHost() - Method in class nablarch.fw.web.MockHttpRequest
-
HTTPリクエストのホストヘッダを取得する。
- getHtmlChecker() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTMLチェッカーを取得する。
- getHtmlCheckerConfig() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HtmlCheckツール設定ファイルのパスを取得する。
- getHtmlDumpDir() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTML出力ディレクトリを取得する。
- getHtmlResourcesCharset() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTMLリソースの文字コードを設定する。
- getHtmlResourcesDir() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTMLリソースディレクトリを取得する。
- getHtmlResourcesExtensionList() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
ダンプディレクトリへコピーされるHTMLリソースの拡張子を取得する。
- getHtmlResourcesRoot() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTMLリソースのコピー先ディレクトリ名を取得する。
- getHttpDumpFile() - Method in class nablarch.fw.web.HttpServer
-
HTTPダンプの出力先ファイルを取得する。
- getHttpDumpRoot() - Method in class nablarch.fw.web.HttpServer
-
HTTPダンプの出力先フォルダを返す。
- getHttpHeader() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTTPHeaderを取得する。
- getHttpMethod() - Method in class nablarch.test.core.http.TestCaseInfo
-
テストリクエストのHTTPメソッドを返却する.
任意指定項目であり、指定されていない場合はPOSTを返却する。
- getHttpRequest() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getHttpRequest() - Method in class nablarch.test.core.http.TestCaseInfo
-
HTTPリクエストを取得する。
- getHttpVersion() - Method in class nablarch.fw.web.MockHttpRequest
-
HTTPバージョン名を返す。
- getIgnoreHtmlResourceDirectory() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
HTMLリソースとして除外するディレクトリを取得する。
- getInvalidateSessionInvokedCount() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getIterator() - Method in class nablarch.test.core.messaging.MessagePool
-
メッセージのイテレータを取得。
- getJsTestResourceDir() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
クライアントスクリプトテスト用リソース配置ディレクトリパスを取得する。
- getListMap(String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
-
List-Map形式でデータを取得する。
- getListMap(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
- getListMap(String, String, String) - Method in interface nablarch.test.core.reader.TestDataParser
-
List-Map形式でデータを取得する。
- getListMap(String, String) - Method in class nablarch.test.TestSupport
-
List-Map形式でデータを取得する。
- getListParamMap(String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
-
List-Map形式でデータを取得する。
HTTPパラメータと同じ形式で取得できる(Mapの値がString[]となる)。
- getListParamMap(String, String) - Method in class nablarch.test.core.db.EntityTestSupport
-
- getListParamMap(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
- getListParamMap(String, String) - Method in class nablarch.test.TestSupport
-
List-Map形式でデータを取得する。
HttpRequest
のリクエストパラメータと同じ形式で取得できる。
エンティティのコンストラクタにそのまま渡したい場合に使用する。
- getMap(String, String) - Method in class nablarch.test.TestSupport
-
Map形式でデータを取得する。
- getMessage(String, String, String) - Method in interface nablarch.test.core.reader.TestDataParser
-
メッセージ用に固定長ファイルデータを取得する。
- getMessages(Throwable) - Static method in class nablarch.test.NablarchTestUtils
-
Throwableサブクラスのメッセージを取得する。
ネストされた例外がある場合はそのメッセージも取得する。
- getMethod() - Method in class nablarch.fw.web.MockHttpRequest
-
HTTPリクエストメソッド名を返す。
- getMethodName() - Method in class nablarch.test.event.TestEventDispatcher
-
テストメソッド名を取得する。
サブクラスは、テストメソッド内で本メソッドを起動することで、
実行中のテストメソッド名を取得できる。
- getNativeHttpSession(boolean) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getNewFragment() - Method in class nablarch.test.core.file.DataFile
-
この固定長ファイルを構成する、新しい断片を取得する。
- getNo() - Method in class nablarch.test.core.standalone.TestShot
-
ケース番号を取得する。
- getNumberValue(int) - Method in class nablarch.test.core.db.BasicDefaultValues
-
数値型のデフォルト値を取得する。
デフォルト値が明示的に設定されている場合はその値を、
指定されたカラム長まで切り詰めて返却する。
そうでない場合は、0をデフォルト値として返却する。
- getParam(HttpRequest, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
HttpRequest.getParam(String)
を呼び出す。
- getParameterMap(String, String) - Method in class nablarch.test.TestSupport
-
HTTPリクエストパラメータ作成用のMapを取得する。
- getParamMap(String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
-
List-Map形式でデータを取得する。
HTTPパラメータと同じ形式で取得できる(Mapの値がString[]となる)。
- getParamMap(String, String) - Method in class nablarch.test.core.db.EntityTestSupport
-
- getParamMap(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
- getParamMap(HttpRequest) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
HttpRequest.getParamMap()
を呼び出す。
- getPath() - Method in class nablarch.test.core.file.DataFile
-
ファイルパスを取得する。
- getPathOf(String) - Method in class nablarch.test.TestSupport
-
テストデータのパスを取得する。
最初にリソースが見つかったテストデータのパスを返却する。
- getPkValues(int) - Method in class nablarch.test.core.db.TableData
-
PKの値を文字列として取得する。
- getPort() - Method in class nablarch.fw.web.HttpServer
-
このサーバが使用するポート番号を取得する。
- getPrimaryKeys(String) - Method in interface nablarch.test.core.db.DbInfo
-
主キーを取得する。
- getPrimaryKeys(String) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
主キーを取得する。
- getPrimaryKeys() - Method in class nablarch.test.core.db.TableData
-
プライマリーキーを取得する。
- getQueryParams() - Method in class nablarch.test.core.http.TestCaseInfo
-
クエリパラメータを返却する。
- getRecords() - Method in class nablarch.test.core.messaging.MessagePool
-
メッセージのリストを取得。
- getRequestId() - Method in class nablarch.test.core.http.TestCaseInfo
-
テスト対象とするリクエストIDを返却する.
- getRequestParameters() - Method in class nablarch.test.core.http.TestCaseInfo
-
データシートに定義されたリクエストパラメータを取得する
- getRequestScopeMap() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
リクエストスコープ用のモックのマップを取得する。
- getRequiredColumns() - Method in class nablarch.test.core.standalone.TestShot
-
必須カラム一覧を取得する。
- getResourceName(String) - Method in class nablarch.test.TestSupport
-
リソース名を取得する。
- getResponseMessage() - Method in class nablarch.test.core.http.TestCaseInfo
-
応答電文を返却する.
- getResponseMessage(String, String, Integer, String, DataType, boolean) - Method in class nablarch.test.core.messaging.RequestTestingSendSyncSupport
-
応答電文の準備を行う。
- getResponseMessageBinaryByRequestId(DataType, String) - Method in class nablarch.test.core.messaging.SendSyncSupport
-
リクエストIDに紐付くメッセージのバイナリを取得する。
- getResponseMessageByRequestId(DataType, String) - Method in class nablarch.test.core.messaging.SendSyncSupport
-
リクエストIDに紐付くメッセージのバイナリを取得する。
- getSearchResultKey() - Method in class nablarch.test.core.http.TestCaseInfo
-
リクエストスコープ内に格納された検索結果を取得するためのキーを取得する。
- getServletContext() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getServletContextPath() - Method in class nablarch.fw.web.HttpServer
-
本サーバにデプロイされるWARのコンテキストパスを返す。
- getServletRequest() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getServletResponse() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- getSessionInfo() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
セッション情報を取得する。
- getSessionScopeMap() - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
セッションスコープ用のモックのマップを取得する。
- getSetupFile(String, String, String...) - Method in interface nablarch.test.core.reader.TestDataParser
-
準備用の固定長ファイルデータを取得する。
- getSetupTableData(String, String, String...) - Method in interface nablarch.test.core.reader.TestDataParser
-
準備用のテーブルデータを取得する。
- getSetupTableData(String, String...) - Method in class nablarch.test.TestSupport
-
準備用のTableDataを取得する。
- getSetUpTableGroupId() - Method in class nablarch.test.core.http.TestCaseInfo
-
テーブルセットアップデータ定義を特定するためのIDを返却する.
- getSheetName() - Method in class nablarch.test.core.http.TestCaseInfo
-
データシート名を返却する
- getSheetName() - Method in class nablarch.test.core.standalone.TestShot
-
シート名を取得する。
- getSource() - Method in class nablarch.test.core.messaging.MessagePool
-
FixedLengthFileを取得。
- getTableName() - Method in class nablarch.test.core.db.TableData
-
テーブル名を取得する。
- getTempDirectory() - Method in class nablarch.fw.web.HttpServer
-
- getTempDirectory() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
テンプディレクトリのパスを取得する。
- getTestCaseName() - Method in class nablarch.test.core.http.TestCaseInfo
-
テストケース名称を取得する.
テスト失敗時のメッセージやHTMLファイル出力名に使用される。 デフォルトは、{データシート名}_{caseIndex}_{Case名}
例)RGBN00000000_Case0_初期表示
- getTestCaseNo() - Method in class nablarch.test.core.http.TestCaseInfo
-
テストケース番号を取得する。
- getTestDataParser() - Method in class nablarch.test.TestSupport
-
テストデータパーサを取得する。
- getTestSupport() - Method in class nablarch.test.core.db.DbAccessTestSupport
-
テストサポートクラスを返却する。
- getTestSupportHandler() - Static method in class nablarch.test.core.http.HttpRequestTestSupport
-
サポートハンドラを取得する。
- getTimestamp() - Method in class nablarch.test.FixedSystemTimeProvider
-
現在日時を取得する。
- getUnknownValue(int, int) - Method in class nablarch.test.core.db.BasicDefaultValues
-
不明な型の場合のデフォルト値を取得する。
本実装では例外を送出する。
- getUploadTmpDirectory() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
アップロードファイルの一時ディレクトリを取得する。
本ディレクトリは、テスト時にアップロードファイルを一時的に配置するディレクトリとなる。
- getUserId() - Method in class nablarch.test.core.http.TestCaseInfo
-
ユーザIDを取得する。
- getUserIdSessionKey() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
ユーザIDセッションキーを取得する。
- getValue(int, String) - Method in class nablarch.test.core.db.TableData
-
値を取得する。
- getValue(Map<String, String>, String) - Method in class nablarch.test.core.http.TestCaseInfo
-
LIST_MAPから取得したレコードから、指定したカラム名に対応する値を取得する
- getValue() - Method in class nablarch.test.core.util.interpreter.InterpretationContext
-
解釈対象の値を取得する。
- getValue(Object, ExecutionContext) - Method in class nablarch.test.FixedExecutionIdAttribute
-
- getVarcharValue(int) - Method in class nablarch.test.core.db.BasicDefaultValues
-
可変長文字列型のデフォルト値を取得する。
デフォルト値をそのまま返却する。
- getWarBasePath() - Method in class nablarch.fw.web.HttpServer
-
このサーバにデプロイするWARのパスを返す。
- getWarBasePaths() - Method in class nablarch.fw.web.HttpServer
-
- getWebBaseDir() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
webベースディレクトリを取得する。
- getWebFrontController() - Method in class nablarch.fw.web.HttpServer
-
- getXmlComponentFile() - Method in class nablarch.test.core.http.HttpTestConfiguration
-
ターゲットコード用の設定ファイル(XMLファイル)をリードするための、ルートXMLファイル名を取得する。