File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/test/java/com/arangodb Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,12 @@ public abstract class BaseTest {
3737
3838 protected static final String VERSION_2_7 = "2.7" ;
3939
40- protected static ArangoConfigure configure ;
4140 protected static final String DATABASE_NAME = "unitTestDatabase" ;
4241
42+ protected static ArangoConfigure configure ;
43+
44+ protected ArangoDriver driver ;
45+
4346 // Suite.classを使った場合、Parametersがテストクラスの数だけ最初に一気に連続で呼ばれる。
4447 // そのため、単純にクラス変数にconfigureを保持すると、AfterClassの時に別のテストケースのものを終了してしまう。
4548 // Suite時のライフサイクル( Suite{TestClassA, TestClassB} )
@@ -82,8 +85,6 @@ public static Collection<Object[]> getParameterizedDrivers() {
8285 return result ;
8386 }
8487
85- protected ArangoDriver driver ;
86-
8788 public BaseTest (ArangoConfigure configure , ArangoDriver driver ) {
8889 this .driver = driver ;
8990 BaseTest .configure = configure ;
You can’t perform that action at this time.
0 commit comments