パッケージ com.kazurayam.unittest
クラス TestOutputOrganizer.Builder
java.lang.Object
com.kazurayam.unittest.TestOutputOrganizer.Builder
- 含まれているクラス:
- TestOutputOrganizer
Joshua Bloch's "Builder" for the TestOutputOrganizer class
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明build()outputDirectoryRelativeToProject(String subPath, String... more) optional.projectDirectory(Path projectDirectory) subOutputDirectory(Class<?> clazz) subOutputDirectory(String subDirectory)
-
コンストラクタの詳細
-
Builder
-
Builder
Constructor- パラメータ:
fileSystem- the instance of java.nio.file.FileSystemclazz- the Class object of a test class
-
-
メソッドの詳細
-
addCodeSourcePathElementsUnderProjectDirectory
public TestOutputOrganizer.Builder addCodeSourcePathElementsUnderProjectDirectory(CodeSourcePathElementsUnderProjectDirectory cspeupd) -
outputDirectoryRelativeToProject
optional. default to "./test-output". set a relative path of under the output directory.- パラメータ:
subPath- e.g., Paths.get(this.getClass().getName()) or Paths.get("com.kazurayam.unittesthelperdemo.WithHelperTest")- 戻り値:
- the reference to this Builder.Builder instance
-
subOutputDirectory
-
subOutputDirectory
-
projectDirectory
-
build
- 戻り値:
- TestOutputOrganizer object
-