From 9116aa5bd0c96fb5ba3e0664f289f7ab17ead006 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Thu, 19 Nov 2020 16:11:29 +0100 Subject: [PATCH] Updated package for java samples --- .../Examples/src/AnnotateThrows.kt | 2 +- .../Examples/src/AnnotatedJava.kt | 10 ++++----- .../Examples/src/BigFibonacci.kt | 2 +- .../Examples/src/BigInt.kt | 2 +- .../Examples/src/ChangeName.kt | 2 +- .../Examples/src/CollectionStructure.kt | 2 +- .../Examples/src/ExtensionsToJavaClass.kt | 4 ++-- .../Examples/src/HiddenArrayList.kt | 2 +- .../src/Interoperability/AnnotatedJTool.java | 4 ++-- .../CallTopLevelFunction.java | 4 ++-- .../CallTopLevelFunction2.java | 4 ++-- .../src/Interoperability/CatchChecked.java | 4 ++-- .../src/Interoperability/Chameleon.java | 4 ++-- .../Examples/src/Interoperability/JTool.java | 4 ++-- .../src/Interoperability/JavaChecked.java | 4 ++-- .../src/Interoperability/JavaWrapper.java | 7 +++--- .../src/Interoperability/MakeSalad.java | 4 ++-- .../src/Interoperability/UseDataClass.java | 4 ++-- .../Interoperability/UsingKotlinClass.java | 4 ++-- .../Examples/src/JavaList.kt | 2 +- .../Examples/src/KotlinChecked.kt | 2 +- .../Examples/src/KotlinClass.kt | 2 +- .../Examples/src/KotlinDataClass.kt | 4 ++-- .../Examples/src/KotlinWrapper.kt | 2 +- .../Examples/src/NPEOnPlatformType.kt | 4 ++-- .../Examples/src/PlatformTypes.kt | 10 ++++----- .../Examples/src/Random.kt | 2 +- .../Examples/src/ReadOnlyByDefault.kt | 2 +- .../Examples/src/ReadOnlyCollections.kt | 2 +- .../Examples/src/TopLevelFunction.kt | 2 +- .../Examples/src/UseBeanClass.kt | 4 ++-- .../Examples/task-info.yaml | 22 +++++++++---------- .../Examples/task-remote-info.yaml | 2 +- .../lesson-remote-info.yaml | 2 +- util/test/TestAllExamples.java | 16 +++++++------- 35 files changed, 76 insertions(+), 77 deletions(-) diff --git a/Appendices/Java Interoperability/Examples/src/AnnotateThrows.kt b/Appendices/Java Interoperability/Examples/src/AnnotateThrows.kt index fd240191..a1429f20 100644 --- a/Appendices/Java Interoperability/Examples/src/AnnotateThrows.kt +++ b/Appendices/Java Interoperability/Examples/src/AnnotateThrows.kt @@ -1,4 +1,4 @@ -// Interoperability/AnnotateThrows.kt +// interoperability/AnnotateThrows.kt package interop import java.io.IOException diff --git a/Appendices/Java Interoperability/Examples/src/AnnotatedJava.kt b/Appendices/Java Interoperability/Examples/src/AnnotatedJava.kt index a2b407a6..90c22529 100644 --- a/Appendices/Java Interoperability/Examples/src/AnnotatedJava.kt +++ b/Appendices/Java Interoperability/Examples/src/AnnotatedJava.kt @@ -1,6 +1,6 @@ -// Interoperability/AnnotatedJava.kt +// interoperability/AnnotatedJava.kt package interop -import Interoperability.AnnotatedJTool +import interoperability.AnnotatedJTool import atomictest.eq object KotlinCode2 { @@ -14,10 +14,10 @@ object KotlinCode2 { fun main() { with(KotlinCode2) { ::a.returnType eq - "Interoperability.JTool" + "interoperability.JTool" ::c.returnType eq - "Interoperability.JTool?" + "interoperability.JTool?" ::d.returnType eq - "Interoperability.JTool?" + "interoperability.JTool?" } } \ No newline at end of file diff --git a/Appendices/Java Interoperability/Examples/src/BigFibonacci.kt b/Appendices/Java Interoperability/Examples/src/BigFibonacci.kt index 8cd58527..d180a589 100644 --- a/Appendices/Java Interoperability/Examples/src/BigFibonacci.kt +++ b/Appendices/Java Interoperability/Examples/src/BigFibonacci.kt @@ -1,4 +1,4 @@ -// Interoperability/BigFibonacci.kt +// interoperability/BigFibonacci.kt package interop import atomictest.eq import java.math.BigInteger diff --git a/Appendices/Java Interoperability/Examples/src/BigInt.kt b/Appendices/Java Interoperability/Examples/src/BigInt.kt index 8ac021e0..c63e611d 100644 --- a/Appendices/Java Interoperability/Examples/src/BigInt.kt +++ b/Appendices/Java Interoperability/Examples/src/BigInt.kt @@ -1,4 +1,4 @@ -// Interoperability/BigInt.kt +// interoperability/BigInt.kt package biginteger import java.math.BigInteger diff --git a/Appendices/Java Interoperability/Examples/src/ChangeName.kt b/Appendices/Java Interoperability/Examples/src/ChangeName.kt index df8a8876..658754b7 100644 --- a/Appendices/Java Interoperability/Examples/src/ChangeName.kt +++ b/Appendices/Java Interoperability/Examples/src/ChangeName.kt @@ -1,4 +1,4 @@ -// Interoperability/ChangeName.kt +// interoperability/ChangeName.kt @file:JvmName("Utils") package interop diff --git a/Appendices/Java Interoperability/Examples/src/CollectionStructure.kt b/Appendices/Java Interoperability/Examples/src/CollectionStructure.kt index ac5fdead..956a93a2 100644 --- a/Appendices/Java Interoperability/Examples/src/CollectionStructure.kt +++ b/Appendices/Java Interoperability/Examples/src/CollectionStructure.kt @@ -1,4 +1,4 @@ -// Interoperability/CollectionStructure.kt +// interoperability/CollectionStructure.kt package collectionstructure interface Collection diff --git a/Appendices/Java Interoperability/Examples/src/ExtensionsToJavaClass.kt b/Appendices/Java Interoperability/Examples/src/ExtensionsToJavaClass.kt index 53608db5..d833ec32 100644 --- a/Appendices/Java Interoperability/Examples/src/ExtensionsToJavaClass.kt +++ b/Appendices/Java Interoperability/Examples/src/ExtensionsToJavaClass.kt @@ -1,6 +1,6 @@ -// Interoperability/ExtensionsToJavaClass.kt +// interoperability/ExtensionsToJavaClass.kt package interop -import Interoperability.Chameleon +import interoperability.Chameleon import atomictest.eq fun Chameleon.adjustToTemperature( diff --git a/Appendices/Java Interoperability/Examples/src/HiddenArrayList.kt b/Appendices/Java Interoperability/Examples/src/HiddenArrayList.kt index 5f43faad..9c892a02 100644 --- a/Appendices/Java Interoperability/Examples/src/HiddenArrayList.kt +++ b/Appendices/Java Interoperability/Examples/src/HiddenArrayList.kt @@ -1,4 +1,4 @@ -// Interoperability/HiddenArrayList.kt +// interoperability/HiddenArrayList.kt import atomictest.eq fun main() { diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/AnnotatedJTool.java b/Appendices/Java Interoperability/Examples/src/Interoperability/AnnotatedJTool.java index cbe3cb31..45729ff3 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/AnnotatedJTool.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/AnnotatedJTool.java @@ -1,5 +1,5 @@ -// Interoperability/AnnotatedJTool.java -package Interoperability; +// interoperability/AnnotatedJTool.java +package interoperability; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction.java b/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction.java index 860bac03..9c8d8d96 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction.java @@ -1,5 +1,5 @@ -// Interoperability/CallTopLevelFunction.java -package Interoperability; +// interoperability/CallTopLevelFunction.java +package interoperability; import interop.TopLevelFunctionKt; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction2.java b/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction2.java index 385fc9ab..9d8e49f0 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction2.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction2.java @@ -1,5 +1,5 @@ -// Interoperability/CallTopLevelFunction2.java -package Interoperability; +// interoperability/CallTopLevelFunction2.java +package interoperability; import static interop.TopLevelFunctionKt.hi; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/CatchChecked.java b/Appendices/Java Interoperability/Examples/src/Interoperability/CatchChecked.java index 668a449b..381d062a 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/CatchChecked.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/CatchChecked.java @@ -1,5 +1,5 @@ -// Interoperability/CatchChecked.java -package Interoperability; +// interoperability/CatchChecked.java +package interoperability; import interop.AnnotateThrowsKt; import java.io.IOException; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/Chameleon.java b/Appendices/Java Interoperability/Examples/src/Interoperability/Chameleon.java index b04fbdf4..588a5df5 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/Chameleon.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/Chameleon.java @@ -1,5 +1,5 @@ -// Interoperability/Chameleon.java -package Interoperability; +// interoperability/Chameleon.java +package interoperability; import java.io.Serializable; public class Chameleon diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/JTool.java b/Appendices/Java Interoperability/Examples/src/Interoperability/JTool.java index f7a99aea..1a499c3f 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/JTool.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/JTool.java @@ -1,5 +1,5 @@ -// Interoperability/JTool.java -package Interoperability; +// interoperability/JTool.java +package interoperability; public class JTool { public static JTool get(String s) { diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/JavaChecked.java b/Appendices/Java Interoperability/Examples/src/Interoperability/JavaChecked.java index a9da0246..a5cf1b5d 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/JavaChecked.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/JavaChecked.java @@ -1,5 +1,5 @@ -// Interoperability/JavaChecked.java -package Interoperability; +// interoperability/JavaChecked.java +package interoperability; import java.io.*; import java.nio.file.*; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/JavaWrapper.java b/Appendices/Java Interoperability/Examples/src/Interoperability/JavaWrapper.java index 0cc202e0..e07bf5ef 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/JavaWrapper.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/JavaWrapper.java @@ -1,7 +1,6 @@ -// Interoperability/JavaWrapper.java -package Interoperability; -import java.util.ArrayList; -import java.util.List; +// interoperability/JavaWrapper.java +package interoperability; +import java.util.*; public class JavaWrapper { public static void main(String[] args) { diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/MakeSalad.java b/Appendices/Java Interoperability/Examples/src/Interoperability/MakeSalad.java index 3a53bd86..c97380eb 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/MakeSalad.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/MakeSalad.java @@ -1,5 +1,5 @@ -// Interoperability/MakeSalad.java -package Interoperability; +// interoperability/MakeSalad.java +package interoperability; import interop.Utils; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/UseDataClass.java b/Appendices/Java Interoperability/Examples/src/Interoperability/UseDataClass.java index e16dfa56..ba2d1c49 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/UseDataClass.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/UseDataClass.java @@ -1,5 +1,5 @@ -// Interoperability/UseDataClass.java -package Interoperability; +// interoperability/UseDataClass.java +package interoperability; import java.util.HashMap; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/Interoperability/UsingKotlinClass.java b/Appendices/Java Interoperability/Examples/src/Interoperability/UsingKotlinClass.java index 13206710..6524e795 100644 --- a/Appendices/Java Interoperability/Examples/src/Interoperability/UsingKotlinClass.java +++ b/Appendices/Java Interoperability/Examples/src/Interoperability/UsingKotlinClass.java @@ -1,5 +1,5 @@ -// Interoperability/UsingKotlinClass.java -package Interoperability; +// interoperability/UsingKotlinClass.java +package interoperability; import interop.Basic; import static atomictest.AtomicTestKt.eq; diff --git a/Appendices/Java Interoperability/Examples/src/JavaList.kt b/Appendices/Java Interoperability/Examples/src/JavaList.kt index f3797915..4669cb44 100644 --- a/Appendices/Java Interoperability/Examples/src/JavaList.kt +++ b/Appendices/Java Interoperability/Examples/src/JavaList.kt @@ -1,4 +1,4 @@ -// Interoperability/JavaList.kt +// interoperability/JavaList.kt import atomictest.eq fun main() { diff --git a/Appendices/Java Interoperability/Examples/src/KotlinChecked.kt b/Appendices/Java Interoperability/Examples/src/KotlinChecked.kt index 8df97dcf..dfef477d 100644 --- a/Appendices/Java Interoperability/Examples/src/KotlinChecked.kt +++ b/Appendices/Java Interoperability/Examples/src/KotlinChecked.kt @@ -1,4 +1,4 @@ -// Interoperability/KotlinChecked.kt +// interoperability/KotlinChecked.kt import atomictest.eq import java.io.File diff --git a/Appendices/Java Interoperability/Examples/src/KotlinClass.kt b/Appendices/Java Interoperability/Examples/src/KotlinClass.kt index a080a33b..563fc3cd 100644 --- a/Appendices/Java Interoperability/Examples/src/KotlinClass.kt +++ b/Appendices/Java Interoperability/Examples/src/KotlinClass.kt @@ -1,4 +1,4 @@ -// Interoperability/KotlinClass.kt +// interoperability/KotlinClass.kt package interop class Basic { diff --git a/Appendices/Java Interoperability/Examples/src/KotlinDataClass.kt b/Appendices/Java Interoperability/Examples/src/KotlinDataClass.kt index 20fbf2b6..807068fd 100644 --- a/Appendices/Java Interoperability/Examples/src/KotlinDataClass.kt +++ b/Appendices/Java Interoperability/Examples/src/KotlinDataClass.kt @@ -1,5 +1,5 @@ -// Interoperability/KotlinDataClass.kt -package Interoperability +// interoperability/KotlinDataClass.kt +package interoperability data class Muppet( var name: String, diff --git a/Appendices/Java Interoperability/Examples/src/KotlinWrapper.kt b/Appendices/Java Interoperability/Examples/src/KotlinWrapper.kt index f794e27a..b3b69ab2 100644 --- a/Appendices/Java Interoperability/Examples/src/KotlinWrapper.kt +++ b/Appendices/Java Interoperability/Examples/src/KotlinWrapper.kt @@ -1,4 +1,4 @@ -// Interoperability/KotlinWrapper.kt +// interoperability/KotlinWrapper.kt package interop fun main() { diff --git a/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt b/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt index 754660bd..599def64 100644 --- a/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt +++ b/Appendices/Java Interoperability/Examples/src/NPEOnPlatformType.kt @@ -1,5 +1,5 @@ -// Interoperability/NPEOnPlatformType.kt -import Interoperability.JTool +// interoperability/NPEOnPlatformType.kt +import interoperability.JTool import atomictest.* fun main() { diff --git a/Appendices/Java Interoperability/Examples/src/PlatformTypes.kt b/Appendices/Java Interoperability/Examples/src/PlatformTypes.kt index 2ea3ac20..2d0dcfd2 100644 --- a/Appendices/Java Interoperability/Examples/src/PlatformTypes.kt +++ b/Appendices/Java Interoperability/Examples/src/PlatformTypes.kt @@ -1,6 +1,6 @@ -// Interoperability/PlatformTypes.kt +// interoperability/PlatformTypes.kt package interop -import Interoperability.JTool +import interoperability.JTool import atomictest.eq object KotlinCode { @@ -15,10 +15,10 @@ fun main() { b.method() eq "Success" c.method() eq "Success" // [5] ::a.returnType eq - "Interoperability.JTool?" + "interoperability.JTool?" ::b.returnType eq - "Interoperability.JTool" + "interoperability.JTool" ::c.returnType eq - "Interoperability.JTool!" // [6] + "interoperability.JTool!" // [6] } } \ No newline at end of file diff --git a/Appendices/Java Interoperability/Examples/src/Random.kt b/Appendices/Java Interoperability/Examples/src/Random.kt index cde6aae6..2105af57 100644 --- a/Appendices/Java Interoperability/Examples/src/Random.kt +++ b/Appendices/Java Interoperability/Examples/src/Random.kt @@ -1,4 +1,4 @@ -// Interoperability/Random.kt +// interoperability/Random.kt import atomictest.eq import java.util.Random diff --git a/Appendices/Java Interoperability/Examples/src/ReadOnlyByDefault.kt b/Appendices/Java Interoperability/Examples/src/ReadOnlyByDefault.kt index dbeed8c6..003294a6 100644 --- a/Appendices/Java Interoperability/Examples/src/ReadOnlyByDefault.kt +++ b/Appendices/Java Interoperability/Examples/src/ReadOnlyByDefault.kt @@ -1,4 +1,4 @@ -// Interoperability/ReadOnlyByDefault.kt +// interoperability/ReadOnlyByDefault.kt package interop data class Animal(val name: String) diff --git a/Appendices/Java Interoperability/Examples/src/ReadOnlyCollections.kt b/Appendices/Java Interoperability/Examples/src/ReadOnlyCollections.kt index a88f26f4..20ee7ce6 100644 --- a/Appendices/Java Interoperability/Examples/src/ReadOnlyCollections.kt +++ b/Appendices/Java Interoperability/Examples/src/ReadOnlyCollections.kt @@ -1,4 +1,4 @@ -// Interoperability/ReadOnlyCollections.kt +// interoperability/ReadOnlyCollections.kt import atomictest.eq fun main() { diff --git a/Appendices/Java Interoperability/Examples/src/TopLevelFunction.kt b/Appendices/Java Interoperability/Examples/src/TopLevelFunction.kt index a00aa862..8f138dc2 100644 --- a/Appendices/Java Interoperability/Examples/src/TopLevelFunction.kt +++ b/Appendices/Java Interoperability/Examples/src/TopLevelFunction.kt @@ -1,4 +1,4 @@ -// Interoperability/TopLevelFunction.kt +// interoperability/TopLevelFunction.kt package interop fun hi() = "Hello!" \ No newline at end of file diff --git a/Appendices/Java Interoperability/Examples/src/UseBeanClass.kt b/Appendices/Java Interoperability/Examples/src/UseBeanClass.kt index e9a018a9..368c2be1 100644 --- a/Appendices/Java Interoperability/Examples/src/UseBeanClass.kt +++ b/Appendices/Java Interoperability/Examples/src/UseBeanClass.kt @@ -1,5 +1,5 @@ -// Interoperability/UseBeanClass.kt -import Interoperability.Chameleon +// interoperability/UseBeanClass.kt +import interoperability.Chameleon import atomictest.eq fun main() { diff --git a/Appendices/Java Interoperability/Examples/task-info.yaml b/Appendices/Java Interoperability/Examples/task-info.yaml index cb7adc77..8d085fb3 100644 --- a/Appendices/Java Interoperability/Examples/task-info.yaml +++ b/Appendices/Java Interoperability/Examples/task-info.yaml @@ -2,7 +2,7 @@ type: theory files: - name: src/Random.kt visible: true -- name: src/Interoperability/Chameleon.java +- name: src/interoperability/Chameleon.java visible: true - name: src/UseBeanClass.kt visible: true @@ -10,41 +10,41 @@ files: visible: true - name: src/KotlinClass.kt visible: true -- name: src/Interoperability/UsingKotlinClass.java +- name: src/interoperability/UsingKotlinClass.java visible: true - name: src/KotlinDataClass.kt visible: true -- name: src/Interoperability/UseDataClass.java +- name: src/interoperability/UseDataClass.java visible: true - name: src/TopLevelFunction.kt visible: true -- name: src/Interoperability/CallTopLevelFunction.java +- name: src/interoperability/CallTopLevelFunction.java visible: true -- name: src/Interoperability/CallTopLevelFunction2.java +- name: src/interoperability/CallTopLevelFunction2.java visible: true - name: src/ChangeName.kt visible: true -- name: src/Interoperability/MakeSalad.java +- name: src/interoperability/MakeSalad.java visible: true - name: src/BigInt.kt visible: true - name: src/BigFibonacci.kt visible: true -- name: src/Interoperability/JavaChecked.java +- name: src/interoperability/JavaChecked.java visible: true - name: src/KotlinChecked.kt visible: true - name: src/AnnotateThrows.kt visible: true -- name: src/Interoperability/CatchChecked.java +- name: src/interoperability/CatchChecked.java visible: true -- name: src/Interoperability/JTool.java +- name: src/interoperability/JTool.java visible: true - name: src/PlatformTypes.kt visible: true - name: src/NPEOnPlatformType.kt visible: true -- name: src/Interoperability/AnnotatedJTool.java +- name: src/interoperability/AnnotatedJTool.java visible: true - name: src/AnnotatedJava.kt visible: true @@ -58,7 +58,7 @@ files: visible: true - name: src/ReadOnlyCollections.kt visible: true -- name: src/Interoperability/JavaWrapper.java +- name: src/interoperability/JavaWrapper.java visible: true - name: src/KotlinWrapper.kt visible: true diff --git a/Appendices/Java Interoperability/Examples/task-remote-info.yaml b/Appendices/Java Interoperability/Examples/task-remote-info.yaml index 68861124..f29f4cd0 100644 --- a/Appendices/Java Interoperability/Examples/task-remote-info.yaml +++ b/Appendices/Java Interoperability/Examples/task-remote-info.yaml @@ -1,2 +1,2 @@ id: 1710366 -update_date: Thu, 19 Nov 2020 14:21:35 UTC +update_date: Thu, 19 Nov 2020 15:16:02 UTC diff --git a/Appendices/Java Interoperability/lesson-remote-info.yaml b/Appendices/Java Interoperability/lesson-remote-info.yaml index db03d8e8..53f6216b 100644 --- a/Appendices/Java Interoperability/lesson-remote-info.yaml +++ b/Appendices/Java Interoperability/lesson-remote-info.yaml @@ -1,3 +1,3 @@ id: 440663 -update_date: Thu, 19 Nov 2020 14:21:33 UTC +update_date: Thu, 19 Nov 2020 15:16:00 UTC unit: 430860 diff --git a/util/test/TestAllExamples.java b/util/test/TestAllExamples.java index dfe7e7db..7f8e9d5d 100644 --- a/util/test/TestAllExamples.java +++ b/util/test/TestAllExamples.java @@ -2573,42 +2573,42 @@ public class TestAllExamples extends AbstractTestExamples { @Test public void testUsingKotlinClass() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/UsingKotlinClass.java", Interoperability.UsingKotlinClass::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/UsingKotlinClass.java", interoperability.UsingKotlinClass::main); } @Test public void testMakeSalad() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/MakeSalad.java", Interoperability.MakeSalad::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/MakeSalad.java", interoperability.MakeSalad::main); } @Test public void testJavaWrapper() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/JavaWrapper.java", Interoperability.JavaWrapper::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/JavaWrapper.java", interoperability.JavaWrapper::main); } @Test public void testCallTopLevelFunction() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction.java", Interoperability.CallTopLevelFunction::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/CallTopLevelFunction.java", interoperability.CallTopLevelFunction::main); } @Test public void testCatchChecked() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/CatchChecked.java", Interoperability.CatchChecked::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/CatchChecked.java", interoperability.CatchChecked::main); } @Test public void testJavaChecked() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/JavaChecked.java", Interoperability.JavaChecked::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/JavaChecked.java", interoperability.JavaChecked::main); } @Test public void testCallTopLevelFunction2() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/CallTopLevelFunction2.java", Interoperability.CallTopLevelFunction2::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/CallTopLevelFunction2.java", interoperability.CallTopLevelFunction2::main); } @Test public void testUseDataClass() { - testExample("Appendices/Java Interoperability/Examples/src/Interoperability/UseDataClass.java", Interoperability.UseDataClass::main); + testExample("Appendices/Java Interoperability/Examples/src/interoperability/UseDataClass.java", interoperability.UseDataClass::main); } @Test