-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClassJarImplementorTest.java
More file actions
executable file
·36 lines (30 loc) · 1.03 KB
/
ClassJarImplementorTest.java
File metadata and controls
executable file
·36 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package info.kgeorgiy.java.advanced.implementor;
import info.kgeorgiy.java.advanced.implementor.examples.lang.*;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import java.io.IOException;
import java.nio.file.Path;
/**
* @author Georgiy Korneev (kgeorgiy@kgeorgiy.info)
*/
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class ClassJarImplementorTest extends ClassImplementorTest {
@Test
@Override
public void test01_constructor() {
assertConstructor(Impler.class, JarImpler.class);
}
@Test
public void test15_encoding() throws IOException {
test(false, Arabic.class);
test(false, Hebrew.class);
test(false, Greek.class);
test(false, Russian.class);
}
@Override
protected void implement(final Path root, final Impler implementor, final Class<?> clazz) throws ImplerException {
super.implement(root, implementor, clazz);
InterfaceJarImplementorTest.implementJar(root, implementor, clazz);
}
}