- SEND_SYNC_TEST_DATA_BASE_PATH - Static variable in class nablarch.test.core.messaging.SendSyncSupport
-
テストデータが格納されるディレクトリ名
- SendSyncSupport - Class in nablarch.test.core.messaging
-
テストで必要なメッセージング操作をサポートするクラス。
- SET_UP_TABLE - Static variable in class nablarch.test.core.http.TestCaseInfo
-
データベースにデータを投入する際のグループIDを表すカラム名
- setCharValue(String) - Method in class nablarch.test.core.db.BasicDefaultValues
-
文字列型のデフォルト値を設定する。
- setColumnNames(String[]) - Method in class nablarch.test.core.db.TableData
-
カラム名を設定する。
- setContext(ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupportHandler
-
ExecutionContext
を設定する。
- setCookie(HttpCookie) - Method in class nablarch.fw.web.MockHttpRequest
-
このリクエストで送信されるクッキー情報を設定する。
- setDataSource(DataSource) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
データソースを設定する。
- setDate(String, String) - Method in class nablarch.test.FixedBusinessDateProvider
-
- setDateValue(String) - Method in class nablarch.test.core.db.BasicDefaultValues
-
日付型のデフォルト値を設定する。
- setDbInfo(DbInfo) - Method in class nablarch.test.core.db.TableData
-
データベース情報を設定する。
- setDbInfo(DbInfo) - Method in interface nablarch.test.core.reader.TestDataParser
-
DbInfoを設定する。
- setDefaultSegment(String) - Method in class nablarch.test.FixedBusinessDateProvider
-
デフォルト区分を設定する。
- setDefaultValues(DefaultValues) - Method in class nablarch.test.core.db.TableData
-
データベースデフォルト値実装クラスを設定する。
- setDirective(String, String) - Method in class nablarch.test.core.file.DataFile
-
ディレクティブを設定する。
- setDumpFile(ExecutionContext, File) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
HTTPレスポンスボディが出力されたファイルを設定する。
- setDumpVariableItem(boolean) - Method in class nablarch.fw.web.HttpServer
-
ダンプHTMLへの可変項目の出力可否を設定する。
- setExecutionId(String) - Method in class nablarch.test.FixedExecutionIdAttribute
-
実行時IDを設定する。
- setExpectedLogMessages(List<Map<String, String>>) - Static method in class nablarch.test.core.log.LogVerifier
-
期待するログメッセージを設定する。
- setFixedDate(Map<String, String>) - Method in class nablarch.test.FixedBusinessDateProvider
-
固定日付を設定する。
- setFixedDate(String) - Method in class nablarch.test.FixedSystemTimeProvider
-
固定日時を設定する。
引数には以下のフォーマットいずれかに合致する文字列を指定すること。
yyyyMMddHHmmss (12桁)
yyyyMMddHHmmssSSS (15桁)
yyyyMMddHHmmss形式の場合はミリ秒に000が設定される。
- setHasSessionValue(boolean) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setHttpDumpEnabled(boolean) - Method in class nablarch.fw.web.HttpServer
-
HTTPダンプ機能の有効化/無効化を設定する。
- setHttpDumpFilePath(String) - Method in class nablarch.fw.web.HttpServer
-
HTTPダンプの出力先ファイルパスを指定する。
- setHttpDumpRoot(String) - Method in class nablarch.fw.web.HttpServer
-
HTTPダンプの出力先フォルダのパスを設定する。
また、HTTPダンプ機能が無効化されている場合は有効化される。
- setHttpHeader(HttpRequest, HttpTestConfiguration) - Static method in class nablarch.test.core.http.HttpRequestTestSupport
-
HTTPHeaderを設定する。
すでにHttpRequestに設定されている項目は、設定しない。
- setHttpRequestValue(HttpRequestWrapper) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setInterpreters(List<TestDataInterpreter>) - Method in interface nablarch.test.core.reader.TestDataParser
-
テストデータの解釈クラスを設定する。
- setIsAssertApplicationMessageId(boolean) - Method in class nablarch.test.core.http.TestCaseInfo
-
メッセージIDの検証を行うかどうかを設定する。
- setIsAssertRequestScopeVar(boolean) - Method in class nablarch.test.core.http.TestCaseInfo
-
リクエストスコープ値を比較検証するかどうかを設定する
- setIsNewSessionValue(boolean) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setMultipart(HttpRequest) - Method in class nablarch.test.core.http.HttpRequestTestSupportHandler
-
マルチパート情報を設定する。
- setNativeHttpSessionValue(HttpSession) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setNumberValue(String) - Method in class nablarch.test.core.db.BasicDefaultValues
-
数値型のデフォルト値を設定する。
- setParam(String, String...) - Method in class nablarch.fw.web.MockHttpRequest
-
リクエストパラメータを設定する。
- setParamMap(Map<String, String[]>) - Method in class nablarch.fw.web.MockHttpRequest
-
リクエストパラメータを設定する。
- setPort(int) - Method in class nablarch.fw.web.HttpServer
-
このサーバが使用するポート番号を設定する。
- setRequestScopeMap(Map<String, Object>) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
リクエストスコープ用のモックのマップを設定する。
- setSchema(String) - Method in class nablarch.test.core.db.GenericJdbcDbInfo
-
スキーマを設定する。
- setSearchResultKey(String) - Method in class nablarch.test.core.http.TestCaseInfo
-
リクエストスコープ内に格納された検索結果を取得するためのキーを設定する。
- setServletContextPath(String) - Method in class nablarch.fw.web.HttpServer
-
ベースURIを設定する。
- setServletContextValue(ServletContext) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setServletRequestValue(NablarchHttpServletRequestWrapper) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setServletResponseValue(HttpServletResponse) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
- setSessionScopeMap(Map<String, Object>) - Method in class nablarch.fw.web.servlet.MockServletExecutionContext
-
セッションスコープ用のモックのマップを設定する。
- setTableName(String) - Method in class nablarch.test.core.db.TableData
-
テーブル名を設定する。
- setTempDirectory(String) - Method in class nablarch.fw.web.HttpServer
-
context用の一時ディレクトリパスを指定する。
本パスを指定した場合、jspのコンパイル後のクラスなどはこのディレクトリ配下に保存される。
- setTestDataReader(TestDataReader) - Method in interface nablarch.test.core.reader.TestDataParser
-
テストデータリーダを設定する。
- setThreadContextValues(String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
-
ThreadContextに値を設定する。
- setThreadContextValues(String, String) - Method in class nablarch.test.TestSupport
-
ThreadContextに値を設定する。
- setThreadContextValues(Map<String, String>) - Static method in class nablarch.test.TestSupport
-
ThreadContextに値を設定する。
- setToken(HttpRequest, ExecutionContext, boolean) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
トークンをリクエストパラメータとセッションスコープに設定する。
引数validが真の場合、有効なトークンを設定する。偽の場合はトークンを無効にする。
- setUp(INF, Map<String, String>) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
-
準備を行う。
- SETUP_TABLE - Static variable in class nablarch.test.core.standalone.TestShot
-
セットアップ対象テーブルのグループID
- setUpDb(String) - Method in class nablarch.test.core.db.DbAccessTestSupport
-
データベースにデータを投入する。
- setUpDb(String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
-
データベースにデータを投入する。
- setUpDb(String) - Method in class nablarch.test.core.db.EntityTestSupport
-
- setUpDb(String, String) - Method in class nablarch.test.core.db.EntityTestSupport
-
- setUpDb(String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
- setUpDb(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
- setUpDbForTestCase(INF) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
-
テストケース毎のデータベースセットアップを行う。
- setUpFile(String, String...) - Method in class nablarch.test.core.file.FileSupport
-
ファイルを準備する。
- setUpFileIfNecessary(String, String...) - Method in class nablarch.test.core.file.FileSupport
-
ファイルを準備する。
対象データが存在しない場合は何もしない。
- setUpMessage(INF, Map<String, String>) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
-
メッセージ同期送信のリクエスト単体テストを実行するための準備を行う
- setUpMessages - Variable in class nablarch.test.core.messaging.MessagingRequestTestSupport
-
メッセージ投入用クラス
- setValidToken(HttpRequest, ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupport
-
有効なトークンをリクエストパラメータとセッションスコープに設定する。
二重サブミットを防止しているアクションのメソッドをテストする場合は、このメソッドを呼び出しトークンを設定する。
- setValue(String) - Method in class nablarch.test.core.util.interpreter.InterpretationContext
-
- setWarBasePath(String) - Method in class nablarch.fw.web.HttpServer
-
このサーバにデプロイするWARのパスを設定する。
- setWarBasePaths(List<ResourceLocator>) - Method in class nablarch.fw.web.HttpServer
-
このサーバにデプロイするWARのパスを複数設定する。
引数で渡されたリストの順にリソースが探索される。
- size() - Method in class nablarch.test.core.db.TableData
-
本オブジェクトが保持するデータ件数を返却する。
- StandaloneTestSupportTemplate - Class in nablarch.test.core.standalone
-
独立型の処理方式のテスト実行をサポートするテンプレートクラス。
独立型処理方式のテストに共通の処理を提供する。
処理方式固有の処理はサブクラスにて実装する。
- StandaloneTestSupportTemplate(Class<?>) - Constructor for class nablarch.test.core.standalone.StandaloneTestSupportTemplate
-
コンストラクタ。
- StandaloneTestSupportTemplate() - Constructor for class nablarch.test.core.standalone.StandaloneTestSupportTemplate
-
コンストラクタ。
- start() - Method in class nablarch.fw.web.HttpServer
-
サーバを起動する。
- startLocal() - Method in class nablarch.fw.web.HttpServer
-
このサーバをテストモードで起動する。
- SystemPropertyResource - Class in nablarch.test
-
システムプロパティの設定値を維持するクラス。