Skip to content
This repository was archived by the owner on Jul 16, 2022. It is now read-only.

Commit 3b15cf5

Browse files
committed
Fix gradle wrapper
Signed-off-by: Hiroshi Miura <[email protected]>
1 parent 223d8d4 commit 3b15cf5

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

gradle/wrapper/gradle-wrapper.jar

57.8 KB
Binary file not shown.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package io.github.eb4j.dsl;
2+
3+
import org.junit.jupiter.api.Test;
4+
5+
import java.io.*;
6+
import java.net.URISyntaxException;
7+
import java.nio.charset.StandardCharsets;
8+
import java.util.Objects;
9+
10+
import static org.junit.jupiter.api.Assertions.*;
11+
12+
class DslDictionaryTest {
13+
14+
@Test
15+
void loadDicitonary() throws URISyntaxException, IOException {
16+
ByteArrayOutputStream baos = new ByteArrayOutputStream();
17+
File file = new File(Objects.requireNonNull(this.getClass().getResource("/test.dsl")).toURI().getPath());
18+
DslDictionary.loadDicitonary(file);
19+
}
20+
}

src/test/resources/License.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The test.dsl LingvoDSL dictionary is made for test by OmegaT project and is under the GPL.

src/test/resources/test.dsl

2.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)