- AbstractHttpRequestTestTemplate<INF extends TestCaseInfo> - Class in nablarch.test.core.http
- 
リクエスト単体テストをテンプレート化するクラス。 
 本クラスを使用することで、リクエスト単体テストのテストソース、テストデータを 定型化することができる。
  
- AbstractHttpRequestTestTemplate() - Constructor for class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
コンストラクタ。 
- AbstractHttpRequestTestTemplate(Class<?>) - Constructor for class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
コンストラクタ。 
- addRow(List<String>) - Method in class nablarch.test.core.db.TableData
- 
データを追加する。
 
 
- Advice<INF> - Interface in nablarch.test.core.http
- 
リクエスト単体テストのテスト実行前後に起動されるコールバックインタフェース。
 リクエスト単体テストで、テスト実行前後に特別な準備処理、結果確認処理が必要な場合は
 本クラスのサブクラスにてその処理を定義する。 
- after() - Method in class nablarch.test.SystemPropertyResource
-  
- afterExecute(INF, ExecutionContext) - Method in interface nablarch.test.core.http.Advice
- 
テスト実行直後(サブミット後)に起動されるコールバックメソッド 
- afterExecute(TestCaseInfo, ExecutionContext) - Method in class nablarch.test.core.http.BasicAdvice
- 
テスト実行直後(サブミット後)に起動されるコールバックメソッド 
- afterExecute() - Method in class nablarch.test.core.standalone.StandaloneTestSupportTemplate
- 
全テストショット終了後の処理を行う。
 サブクラスでオーバライドする。
 
- afterExecuteRequest(INF, ExecutionContext, Advice<INF>) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
各業務テストコードの拡張ポイント
 テスト対象リクエストの実行後に呼び出される。処理が不要であれば空実装でかまわない。
 
 
- afterExecuteTestShot(TestShot) - Method in class nablarch.test.core.messaging.MessagingRequestTestSupport
- 
テストショット実行後に必要な事後処理を行う。 
- afterExecuteTestShot(TestShot) - Method in class nablarch.test.core.standalone.StandaloneTestSupportTemplate
- 
テストショット実行後に必要な事後処理を行う。 
- afterTestClass() - Method in interface nablarch.test.event.TestEventListener
- 
テストクラス毎にテスト実行後に1回呼び出されるコールバック 
- afterTestClass() - Method in class nablarch.test.event.TestEventListener.Template
- 
テストクラス毎にテスト実行後に1回呼び出されるコールバック 
- afterTestMethod() - Method in interface nablarch.test.event.TestEventListener
- 
テストメソッド実行後に呼び出されるコールバック 
- afterTestMethod() - Method in class nablarch.test.event.TestEventListener.Template
- 
テストメソッド実行後に呼び出されるコールバック 
- all - Variable in class nablarch.test.core.file.DataFile
- 
この固定長ファイルを構成する断片 
- alterColumnValue(int, String, String) - Method in class nablarch.test.core.db.TableData
- 
本オブジェクトのカラム値を変更する。 
- assertAll(INF, Map<String, String>, ExecutionContext, HttpResponse) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
全アサートを実行する。
 以下の項目についてアサートを実施する。
 
 HTTPステータスコードおよびメッセージID
 リクエストスコープの値検証
 検索結果の検証
 テーブル更新結果の検証
 フォワード先URI
 メッセージ同期送信で送信されたメッセージ
 
- assertApplicationMessageId(String, ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
メッセージIDのアサートを行う。
 
 
- assertApplicationMessageId(String, String, ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
メッセージIDのアサートを行う。
 
 
- assertApplicationMessageId(String[], ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
メッセージIDのアサートを行う。
 
 
- assertApplicationMessageId(String, String[], ExecutionContext) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
メッセージIDのアサートを行う。
 
 
- assertContainsRequiredKeys(String, Map<K, ?>, Set<K>) - Static method in class nablarch.test.NablarchTestUtils
- 
Mapに必須のキーが含まれていることを表明する。 
- assertContentFileName(INF, HttpResponse, ExecutionContext) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
コンテンツディスポジション・ヘッダに指定されたファイル名をアサートする。
  
 コンテンツタイプがHTMLの場合はアサートしない。 
- assertContentLength(INF, ExecutionContext) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
コンテンツレングス・ヘッダの値をアサートする。 
- assertContentType(INF, HttpResponse) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
コンテンツタイプ・ヘッダの値をアサートする。 
- assertEntity(String, String, Object) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertEquals(String, List<DataRecord>, List<DataRecord>) - Static method in class nablarch.test.Assertion
- 
DataRecordの比較を行う。
 
- assertEquals(String, DataRecord, DataRecord) - Static method in class nablarch.test.Assertion
- 
DataRecordの比較を行う。
 
- assertEquals(String, Object, Object) - Static method in class nablarch.test.Assertion
- 
期待値と実際の値が等価であることを表明する。
 等価でなかった場合は、デバッグを容易にするため
 AssertionErrorではなくComparisonFailureをスローする。
 
- assertEqualsAsString(String, Object, Object) - Static method in class nablarch.test.Assertion
- 
文字列として比較した場合に等価であることを表明する。 
- assertEqualsIgnoringOrder(String, T[], T[]) - Static method in class nablarch.test.Assertion
- 
要素の順序を考慮しないで、2つの配列が等価な要素を保持していることを表明する。
 
 
- assertEqualsIgnoringOrder(T[], T[]) - Static method in class nablarch.test.Assertion
- 
要素の順序を考慮しないで、2つの配列が等価な要素を保持していることを表明する。
 
 
- assertEqualsIgnoringOrder(Collection<T>, Collection<T>) - Static method in class nablarch.test.Assertion
- 
要素の順序を考慮しないで、2つのコレクションが等価な要素を保持していることを表明する。
 
 
- assertEqualsIgnoringOrder(String, Collection<T>, Collection<T>) - Static method in class nablarch.test.Assertion
- 
要素の順序を考慮しないで、2つのコレクションが等価な要素を保持していることを表明する。
 
 
- assertEqualsIgnoringOrder(String, List<? extends Map<String, E>>, List<? extends Map<String, A>>) - Static method in class nablarch.test.Assertion
- 
要素の順序を考慮しないで、2つのコレクションが等価な要素を保持していることを表明する。
 等価かであるかどうかは、比較対象要素の文字列表現が等しいかどうかで判定する。
 
- assertFile(String, String, String...) - Method in class nablarch.test.core.file.FileSupport
- 
ファイルの比較を行う。 
- assertForward(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
フォワード先URIが想定通りであることを表明する。 
- assertForwardUri(INF) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
フォワード先URIをアサートする。 
- assertGetterMethod(String, String, Object) - Method in class nablarch.test.core.db.EntityTestSupport
- 
getterのテストを行う。 
- Assertion - Class in nablarch.test
- 
表明クラス。
 テスト実行結果が期待通りであることを確認するのに使用する。
 
- assertListMapEquals(List<Map<String, String>>, List<? extends Map<String, ?>>) - Static method in class nablarch.test.Assertion
- 
List<Map>の比較を行う。
 
 
- assertListMapEquals(String, List<Map<String, String>>, List<? extends Map<String, ?>>) - Static method in class nablarch.test.Assertion
- 
List<Map>の比較を行う。
 引数で与えられたList<Map>が等価であることを表明する。
 実際の値のMapのvalueは文字列に変換されて比較される。
 
- assertMapEquals(Map<String, String>, Map<String, ?>) - Static method in class nablarch.test.Assertion
- 
Mapの比較を行う。
 
 
- assertMapEquals(String, Map<String, String>, Map<String, ?>) - Static method in class nablarch.test.Assertion
- 
Mapの比較を行う。
 引数で与えられたSqlResultSetが等価であることを表明する。
 実際の値のMapのvalueは文字列に変換されて比較される。
 
- assertNotXorNull(String, Object, Object) - Static method in class nablarch.test.Assertion
- 
片方だけnullでないことを表明する。 
- assertObjectArrayPropertyEquals(String, String, String, Object[]) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertObjectListPropertyEquals(String, String, String, List<?>) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertObjectPropertyEquals(String, String, String, Object) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertProperties(Map<String, String>, Object) - Static method in class nablarch.test.Assertion
- 
Object に設定されたプロパティを表明する。
 
 
- assertProperties(String, Map<String, String>, Object) - Static method in class nablarch.test.Assertion
- 
Object に設定されたプロパティを表明する。
 
 
- assertResponse(INF, HttpResponse) - Method in class nablarch.test.core.http.AbstractHttpRequestTestTemplate
- 
HTTPレスポンスオブジェクトの内容をアサートする。 
- assertSqlResultSetEquals(List<Map<String, String>>, SqlResultSet) - Static method in class nablarch.test.Assertion
- 
SqlResultSetの比較を行う。
 引数で与えられたSqlResultSetが等価であることを表明する。
 
- assertSqlResultSetEquals(String, List<Map<String, String>>, SqlResultSet) - Static method in class nablarch.test.Assertion
- 
SqlResultSetの比較を行う。
 引数で与えられたSqlResultSetが等価であることを表明する。
 
- assertSqlResultSetEquals(String, String, String, SqlResultSet) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
SqlResultSetの値とExcelファイルに記載したデータの比較を行う。
 検索系テスト実行結果の検索結果確認に使用する。
 
 
- assertSqlResultSetEquals(String, String, String, SqlResultSet) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertSqlRowEquals(Map<String, String>, SqlRow) - Static method in class nablarch.test.Assertion
- 
SqlRowの比較を行う。
 引数で与えられたSqlResultSetが等価であることを表明する。
 なお、バイナリカラムが含まれている場合は、比較できない。
 
- assertSqlRowEquals(String, Map<String, String>, SqlRow) - Static method in class nablarch.test.Assertion
- 
SqlRowの比較を行う。
 引数で与えられたSqlResultSetが等価であることを表明する。
 なお、バイナリカラムが含まれている場合は、比較できない。
 
- assertSqlRowEquals(String, String, String, SqlRow) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
SqlRowの値とExcelファイルに記載したデータの比較を行う。
 検索系テスト実行結果の検索結果確認に使用する。
 
 
- assertSqlRowEquals(String, String, String, SqlRow) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertStatusCode(String, int, HttpResponse) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
ステータスコードが想定通りであることを表明する。
 
 
- assertTableEquals(List<TableData>) - Static method in class nablarch.test.Assertion
- 
複数のTableDataの比較を行う。
 期待値として与えられたTableDataと、それに対応するテーブルの状態が等しいことを表明する。
 
- assertTableEquals(String, List<TableData>) - Static method in class nablarch.test.Assertion
- 
複数のTableDataの比較を行う。
 期待値として与えられたTableDataと、それに対応するテーブルの状態が等しいことを表明する。
 
- assertTableEquals(TableData) - Static method in class nablarch.test.Assertion
- 
TableDataの比較を行う。
 期待値として与えられたTableDataと、それに対応するテーブルの状態が等しいことを表明する。
 
- assertTableEquals(String, TableData) - Static method in class nablarch.test.Assertion
- 
TableDataの比較を行う。
 期待値として与えられたTableDataと、それに対応するテーブルの状態が等しいことを表明する。
 
- assertTableEquals(TableData, TableData) - Static method in class nablarch.test.Assertion
- 
TableDataの比較を行う。
 引数で与えられたtableDataが等価であることを表明する。
 
- assertTableEquals(String, TableData, TableData) - Static method in class nablarch.test.Assertion
- 
TableDataの比較を行う。
 引数で与えられたtableDataが等価であることを表明する。
 
- assertTableEquals(String) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
データベースのテーブルの値とExcelファイルに記載した値の比較を行う。
 更新系テスト実行後の更新結果確認用に使用する。
 テストクラスと同一のパッケージに存在するテストデータファイルから、 期待値を読み取り実際のテーブルと比較を行う。
 
- assertTableEquals(String, String, boolean) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
テーブルの比較を行う。
 テストクラスと同一のパッケージに存在するテストデータファイルから、
 期待値を読み取り実際のテーブルと比較を行う。
 
- assertTableEquals(String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
テーブルの比較を行う。
 テストクラスと同一のパッケージに存在するテストデータファイルから、
 期待値を読み取り実際のテーブルと比較を行う。
 
- assertTableEquals(String, String, String) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
テーブルの比較を行う。
 テストクラスと同一のパッケージに存在するテストデータファイルから、
 期待値を読み取り実際のテーブルと比較を行う。
 
- assertTableEquals(String, String, String, boolean) - Method in class nablarch.test.core.db.DbAccessTestSupport
- 
テーブルの比較を行う。
 テストクラスと同一のパッケージに存在するテストデータファイルから、
 期待値を読み取り実際のテーブルと比較を行う。
 
- assertTableEquals(String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertTableEquals(String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- assertTableEquals(String, String, String) - Method in class nablarch.test.core.http.HttpRequestTestSupport
- 
- asSet(T...) - Static method in class nablarch.test.NablarchTestUtils
- 
配列をSetに変換する。