Skip to content

Commit

Permalink
Release 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
autumoswitzerland committed Oct 15, 2024
1 parent e8f2bee commit 9d69425
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ public void release() {
LOG.warn("Couldn't de-register database driver '"+driver,getClass().getName()+"'.");
}
}
}
}
isInitialized = false;
}

/**
Expand Down
6 changes: 6 additions & 0 deletions src/test/java/ch/autumo/beetroot/DBManagerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import java.util.List;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

Expand Down Expand Up @@ -60,4 +61,9 @@ public void tabelDesc() throws Exception {
assertTrue("Bean fields (from DB colums) missing!", fields.size() == 7);
}

@AfterClass
public static void tearDown() throws Exception {
BeetRootDatabaseManager.getInstance().release();
}

}
6 changes: 6 additions & 0 deletions src/test/java/ch/autumo/beetroot/models/ModelTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import java.util.List;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

Expand Down Expand Up @@ -163,4 +164,9 @@ public void saveReadFindFirstAssocsDeleteFindFirst() throws Exception {
//System.out.println(object);
}

@AfterClass
public static void tearDown() throws Exception {
BeetRootDatabaseManager.getInstance().release();
}

}
6 changes: 6 additions & 0 deletions src/test/java/ch/autumo/beetroot/models/ModelTest2.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import static org.junit.Assert.assertEquals;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

Expand Down Expand Up @@ -64,5 +65,10 @@ public void saveReadFindFirstAssocsDeleteFindFirst() throws Exception {

assertEquals(uc, u);
}

@AfterClass
public static void tearDown() throws Exception {
BeetRootDatabaseManager.getInstance().release();
}

}

0 comments on commit 9d69425

Please sign in to comment.