diff --git a/.idea/.gitignore b/.idea/.gitignore index 13566b8..61d6df2 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -6,3 +6,20 @@ # Datasource local storage ignored files /dataSources/ /dataSources.local.xml +/target +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +# https://github.com/takari/maven-wrapper#usage-without-binary-jar +.mvn/wrapper/maven-wrapper.jar + +# Eclipse m2e generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath diff --git a/src/main/java/hs/fulda/de/ci/exam/project/Airport.java b/src/main/java/hs/fulda/de/ci/exam/project/Airport.java new file mode 100644 index 0000000..6ea009f --- /dev/null +++ b/src/main/java/hs/fulda/de/ci/exam/project/Airport.java @@ -0,0 +1,10 @@ +package hs.fulda.de.ci.exam.project; + +public class Airport { + + protected String name; + + public String getName() { + return this.name; + } +} diff --git a/src/main/java/hs/fulda/de/ci/exam/project/ExampleClass.java b/src/main/java/hs/fulda/de/ci/exam/project/ExampleClass.java index 0f6e89f..6969c70 100644 --- a/src/main/java/hs/fulda/de/ci/exam/project/ExampleClass.java +++ b/src/main/java/hs/fulda/de/ci/exam/project/ExampleClass.java @@ -1,7 +1,8 @@ package hs.fulda.de.ci.exam.project; +import java.util.LinkedList; + public class ExampleClass { public static void main(String[] args) { - System.out.println("Example Class Runs"); } } diff --git a/src/main/resources/img.png b/src/main/resources/img.png new file mode 100644 index 0000000..edea587 Binary files /dev/null and b/src/main/resources/img.png differ diff --git a/src/test/java/hs/fulda/de/ci/exam/project/AirportClassTest.java b/src/test/java/hs/fulda/de/ci/exam/project/AirportClassTest.java new file mode 100644 index 0000000..0fabcc5 --- /dev/null +++ b/src/test/java/hs/fulda/de/ci/exam/project/AirportClassTest.java @@ -0,0 +1,14 @@ +package hs.fulda.de.ci.exam.project; + +import org.junit.jupiter.api.Test; +import static org.assertj.core.api.Assertions.assertThat; + + +public class AirportClassTest { + @Test + void test_getName(){ + Airport airport = new Airport(); + airport.name = "fraport"; + assertThat(airport.getName()).describedAs("get list of Flights").isEqualTo("fraport"); + } +} diff --git a/target/classes/hs/fulda/de/ci/exam/project/ExampleClass.class b/target/classes/hs/fulda/de/ci/exam/project/ExampleClass.class index 9cd9860..ecca178 100644 Binary files a/target/classes/hs/fulda/de/ci/exam/project/ExampleClass.class and b/target/classes/hs/fulda/de/ci/exam/project/ExampleClass.class differ diff --git a/target/test-classes/TestExample.class b/target/test-classes/TestExample.class deleted file mode 100644 index 8a1c182..0000000 Binary files a/target/test-classes/TestExample.class and /dev/null differ