From d8b882cf7e7078a7946e04eceba4ce18937a28f0 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot <reinier@zwitserloot.com> Date: Mon, 29 Oct 2018 20:46:18 +0100 Subject: [test] Added some posix scripts to test module-based builds. We should make these as unit tests someday. --- test/manual/moduleBasedMultiProject/projB/module-info.java | 5 +++++ test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/manual/moduleBasedMultiProject/projB/module-info.java create mode 100644 test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java (limited to 'test/manual/moduleBasedMultiProject/projB') diff --git a/test/manual/moduleBasedMultiProject/projB/module-info.java b/test/manual/moduleBasedMultiProject/projB/module-info.java new file mode 100644 index 00000000..7b82f362 --- /dev/null +++ b/test/manual/moduleBasedMultiProject/projB/module-info.java @@ -0,0 +1,5 @@ +module projB { + requires static lombok; + requires projA; +} + diff --git a/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java b/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java new file mode 100644 index 00000000..3f57f31e --- /dev/null +++ b/test/manual/moduleBasedMultiProject/projB/pkgB/ClassB.java @@ -0,0 +1,10 @@ +import lombok.Getter; +import pkgA.ClassA; + +public class ClassB { + @Getter private String world = "world"; + public void test() { + new ClassA().getHello(); + getWorld(); + } +} -- cgit