Skip to content

Commit f413b84

Browse files
author
a-brandt
committed
moved member
1 parent a8da0f9 commit f413b84

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/com/arangodb/BaseTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)