New J2K: add multi-file conversion tests from old j2k

This commit is contained in:
Ilya Kirillov
2019-10-09 17:20:46 +03:00
parent f951ed9dba
commit 999918d499
60 changed files with 862 additions and 1 deletions
@@ -0,0 +1,18 @@
package test;
public class Stage {
public void context(Acceptor acceptor) {
acceptor.acceptFace(new Face() {
@Override
public void subject(String p) {
System.out.println(p);
}
});
acceptor.setFace(new Face() {
@Override
public void subject(String p) {
System.out.println(p);
}
});
}
}
@@ -0,0 +1,8 @@
package test
class Stage {
fun context(acceptor: Acceptor) {
acceptor.acceptFace { p -> println(p) }
acceptor.face = Face { p -> println(p) }
}
}
@@ -0,0 +1,16 @@
package test;
public class Acceptor {
private Face face;
public Face getFace() {
return face;
}
public void setFace(Face face) {
this.face = face;
}
public void acceptFace(Face face) {
}
}
@@ -0,0 +1,16 @@
package test;
public class Acceptor {
private Face face;
public Face getFace() {
return face;
}
public void setFace(Face face) {
this.face = face;
}
public void acceptFace(Face face) {
}
}
@@ -0,0 +1,5 @@
package test;
public interface Face {
void subject(String p);
}
@@ -0,0 +1,5 @@
package test;
public interface Face {
void subject(String p);
}