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 index 2753031..387711c 100644 --- a/src/main/java/hs/fulda/de/ci/exam/project/Airport.java +++ b/src/main/java/hs/fulda/de/ci/exam/project/Airport.java @@ -1,7 +1,6 @@ package hs.fulda.de.ci.exam.project; import java.util.HashSet; -import java.util.Set; public class Airport { diff --git a/src/test/java/hs/fulda/de/ci/exam/project/AirportTest.java b/src/test/java/hs/fulda/de/ci/exam/project/AirportTest.java index 63a66a2..caa63ef 100644 --- a/src/test/java/hs/fulda/de/ci/exam/project/AirportTest.java +++ b/src/test/java/hs/fulda/de/ci/exam/project/AirportTest.java @@ -1,13 +1,9 @@ package hs.fulda.de.ci.exam.project; -import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; - import java.util.HashSet; -import java.util.LinkedList; - import static org.assertj.core.api.Assertions.*; @ExtendWith(MockitoExtension.class) @@ -44,9 +40,7 @@ public class AirportTest { void test_getFlights() { HashSet flist = new HashSet<>(); flist.add(flight1); - airport_fr.flights.add(flight1); - assertThat(airport_fr.getFlights()).describedAs("get all flights of the airport").isEqualTo(flist); } @@ -55,13 +49,8 @@ public class AirportTest { HashSet flist = new HashSet<>(); flist.add(flight1); flist.add(flight2); - - airport_fr.flights.add(flight1); airport_fr.flights.add(flight1); airport_fr.flights.add(flight2); - assertThat(airport_fr.getFlights()).describedAs("get all flights of the airport").isEqualTo(flist); - - } } diff --git a/target/classes/hs/fulda/de/ci/exam/project/Address.class b/target/classes/hs/fulda/de/ci/exam/project/Address.class new file mode 100644 index 0000000..1cb1d40 Binary files /dev/null and b/target/classes/hs/fulda/de/ci/exam/project/Address.class differ diff --git a/target/classes/hs/fulda/de/ci/exam/project/Airport.class b/target/classes/hs/fulda/de/ci/exam/project/Airport.class new file mode 100644 index 0000000..9b09b99 Binary files /dev/null and b/target/classes/hs/fulda/de/ci/exam/project/Airport.class differ diff --git a/target/classes/hs/fulda/de/ci/exam/project/Flight.class b/target/classes/hs/fulda/de/ci/exam/project/Flight.class new file mode 100644 index 0000000..422156b Binary files /dev/null and b/target/classes/hs/fulda/de/ci/exam/project/Flight.class differ diff --git a/target/classes/hs/fulda/de/ci/exam/project/FlightInstance.class b/target/classes/hs/fulda/de/ci/exam/project/FlightInstance.class new file mode 100644 index 0000000..7f4aab6 Binary files /dev/null and b/target/classes/hs/fulda/de/ci/exam/project/FlightInstance.class differ diff --git a/target/classes/img.png b/target/classes/img.png new file mode 100644 index 0000000..edea587 Binary files /dev/null and b/target/classes/img.png differ diff --git a/target/test-classes/hs/fulda/de/ci/exam/project/AddressTest.class b/target/test-classes/hs/fulda/de/ci/exam/project/AddressTest.class new file mode 100644 index 0000000..b1cf551 Binary files /dev/null and b/target/test-classes/hs/fulda/de/ci/exam/project/AddressTest.class differ diff --git a/target/test-classes/hs/fulda/de/ci/exam/project/AirportTest.class b/target/test-classes/hs/fulda/de/ci/exam/project/AirportTest.class new file mode 100644 index 0000000..0451f1e Binary files /dev/null and b/target/test-classes/hs/fulda/de/ci/exam/project/AirportTest.class differ diff --git a/target/test-classes/hs/fulda/de/ci/exam/project/FlightTest.class b/target/test-classes/hs/fulda/de/ci/exam/project/FlightTest.class new file mode 100644 index 0000000..21398fc Binary files /dev/null and b/target/test-classes/hs/fulda/de/ci/exam/project/FlightTest.class differ