Skip to content

Commit 9d9700e

Browse files
committed
Initial checkin
0 parents  commit 9d9700e

16 files changed

Lines changed: 881 additions & 0 deletions

File tree

.gitattributes

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
* text=auto
2+
*.java text
3+
*.properties text
4+
*.bat text eol=crlf
5+
*.gradle text
6+
*.md text
7+
8+
*.class binary
9+
*.dll binary
10+
*.ear binary
11+
*.gif binary
12+
*.ico binary
13+
*.jar binary
14+
*.jpg binary
15+
*.jpeg binary
16+
*.png binary
17+
*.so binary
18+
*.war binary

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.idea/
2+
out/
3+
.idea_modules/
4+
.gradle/
5+
build/
6+
*.iws
7+
8+
*.class
9+
*.log
10+
*.jar
11+
*.war
12+
*.ear
13+
*.zip
14+
*.tar.gz
15+
*.rar
16+
hs_err_pid*
17+
18+
!/gradle/wrapper/gradle-wrapper.jar

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2019 Firebird development team and individual contributors
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
firebird-testcontainers-java
2+
============================
3+
4+
Firebird-testcontainers-java is a module for [Testcontainers](https://www.testcontainers.org/)
5+
to provide lightweight, throwaway instances of Firebird for JUnit tests.
6+
7+
The docker image used is [jacobalberty/firebird](https://hub.docker.com/r/jacobalberty/firebird/).
8+
9+
Prerequisites
10+
-------------
11+
12+
- Docker
13+
- A supported JVM testing framework
14+
15+
See [Testcontainers prerequisites](https://www.testcontainers.org/#prerequisites) for details.
16+
17+
Dependency
18+
----------
19+
20+
### Gradle
21+
22+
```groovy
23+
testCompile "org.firebirdsql:firebird-testcontainers-java:1.0"
24+
```
25+
26+
### Maven
27+
28+
```xml
29+
<dependency>
30+
<groupId>org.firebirdsqls</groupId>
31+
<artifactId>firebird-testcontainers-java</artifactId>
32+
<version>1.0</version>
33+
<scope>test</scope>
34+
</dependency>
35+
```
36+
37+
License
38+
-------
39+
40+
See [LICENSE](LICENSE)

build.gradle

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
plugins {
2+
id 'java-library'
3+
}
4+
5+
group 'org.firebirdsql'
6+
version '1.0.0-SNAPSHOT'
7+
8+
sourceCompatibility = JavaVersion.VERSION_1_8
9+
targetCompatibility = JavaVersion.VERSION_1_8
10+
11+
ext {
12+
testContainersVersion = '1.11.3'
13+
lombokVersion = '1.18.8'
14+
jaybirdVersion = '3.0.6'
15+
}
16+
17+
repositories {
18+
mavenCentral()
19+
}
20+
21+
dependencies {
22+
implementation platform("org.testcontainers:testcontainers-bom:$testContainersVersion")
23+
implementation 'org.testcontainers:jdbc'
24+
25+
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
26+
compileOnly "org.projectlombok:lombok:$lombokVersion"
27+
28+
testImplementation 'org.firebirdsql.jdbc:jaybird-jdk18:3.0.6'
29+
30+
testImplementation 'junit:junit:4.12'
31+
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
32+
testImplementation 'commons-dbutils:commons-dbutils:1.6'
33+
testImplementation 'com.zaxxer:HikariCP:3.3.1'
34+
}

gradle/wrapper/gradle-wrapper.jar

54.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 188 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)