From 03d84984a0ace34024649deb82706322eac336b2 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 18 Jun 2019 13:40:26 +0200 Subject: [PATCH] Add all exercises --- .idea/modules.xml | 8 + .idea/tn-05.iml | 9 + .idea/vcs.xml | 6 + .idea/workspace.xml | 264 +++++++++ de.hhn.ai.prog2.blatt7.junit/.idea/misc.xml | 2 +- .../.idea/workspace.xml | 530 ++++++++++++------ de.hhn.ai.prog2.blatt7.junit/PizzaProject.iml | 12 + .../META-INF/PizzaProject.kotlin_module | Bin 0 -> 16 bytes .../PizzaProject/model/Order$OrderState.class | Bin 1246 -> 1246 bytes .../production/PizzaProject/model/Order.class | Bin 2022 -> 2623 bytes .../PizzaProject/model/Pizza$Size.class | Bin 1005 -> 1005 bytes .../PizzaProject/model/Pizza$Toppings.class | Bin 1188 -> 1188 bytes .../production/PizzaProject/model/Pizza.class | Bin 2581 -> 2898 bytes .../services/dummy/PizzaServiceDummy.class | Bin 2949 -> 3039 bytes .../services/impl/OrderService.class | Bin 1061 -> 1733 bytes .../TestGPI2/model/Order$OrderState.class | Bin 1246 -> 0 bytes .../out/production/TestGPI2/model/Order.class | Bin 2022 -> 0 bytes .../TestGPI2/model/Pizza$Size.class | Bin 1005 -> 0 bytes .../TestGPI2/model/Pizza$Toppings.class | Bin 1188 -> 0 bytes .../out/production/TestGPI2/model/Pizza.class | Bin 2547 -> 0 bytes .../model/exceptions/OrderException.class | Bin 304 -> 0 bytes .../services/dummy/PizzaServiceDummy.class | Bin 3462 -> 0 bytes .../TestGPI2/services/impl/OrderService.class | Bin 1061 -> 0 bytes .../TestGPI2/services/impl/PizzaService.class | Bin 1034 -> 0 bytes .../services/interfaces/IPizzaService.class | Bin 330 -> 0 bytes .../TestGPI2/services/io/PizzaIOHandler.class | Bin 764 -> 0 bytes .../production/TestGPI2/view/MainFrame.class | Bin 566 -> 0 bytes .../view/PizzaConfiguratorPanel.class | Bin 708 -> 0 bytes .../TestGPI2/view/PizzaListPanel.class | Bin 687 -> 0 bytes .../test/PizzaProject/model/OrderTest.class | Bin 1084 -> 4304 bytes .../test/PizzaProject/model/PizzaTest.class | Bin 878 -> 3081 bytes .../services/OrderServiceTest.class | Bin 927 -> 2535 bytes .../out/test/TestGPI2/model/OrderTest.class | Bin 1084 -> 0 bytes .../out/test/TestGPI2/model/PizzaTest.class | Bin 878 -> 0 bytes .../TestGPI2/services/OrderServiceTest.class | Bin 927 -> 0 bytes .../src/model/Order.java | 3 + .../src/model/Pizza.java | 3 + .../src/services/dummy/PizzaServiceDummy.java | 5 +- .../src/services/impl/OrderService.java | 29 +- .../tests/model/OrderTest.java | 48 +- .../tests/model/PizzaTest.java | 22 + .../tests/services/OrderServiceTest.java | 44 ++ 42 files changed, 790 insertions(+), 195 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 .idea/tn-05.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/PizzaProject/META-INF/PizzaProject.kotlin_module delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Order$OrderState.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Order.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Pizza$Size.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Pizza$Toppings.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Pizza.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/exceptions/OrderException.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/dummy/PizzaServiceDummy.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/impl/OrderService.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/impl/PizzaService.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/interfaces/IPizzaService.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/io/PizzaIOHandler.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/view/MainFrame.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/view/PizzaConfiguratorPanel.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/view/PizzaListPanel.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/test/TestGPI2/model/OrderTest.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/test/TestGPI2/model/PizzaTest.class delete mode 100644 de.hhn.ai.prog2.blatt7.junit/out/test/TestGPI2/services/OrderServiceTest.class diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..1d4d744 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/tn-05.iml b/.idea/tn-05.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/tn-05.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..f2c0100 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -203,6 +277,7 @@ + @@ -212,7 +287,7 @@ - + @@ -226,6 +301,7 @@ + @@ -241,13 +317,7 @@ - - - - + - - @@ -356,18 +474,45 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -376,7 +521,7 @@ - + @@ -384,7 +529,7 @@ - + @@ -439,34 +584,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -502,13 +619,6 @@ - - - - - - - @@ -516,37 +626,111 @@ - + - - - - - + + - + - - - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/de.hhn.ai.prog2.blatt7.junit/PizzaProject.iml b/de.hhn.ai.prog2.blatt7.junit/PizzaProject.iml index e2f89a7..ccc8ed3 100644 --- a/de.hhn.ai.prog2.blatt7.junit/PizzaProject.iml +++ b/de.hhn.ai.prog2.blatt7.junit/PizzaProject.iml @@ -32,5 +32,17 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/PizzaProject/META-INF/PizzaProject.kotlin_module b/de.hhn.ai.prog2.blatt7.junit/out/production/PizzaProject/META-INF/PizzaProject.kotlin_module new file mode 100644 index 0000000000000000000000000000000000000000..8fb60192d378759239a3ecbf60eac8c8de446e9c GIT binary patch literal 16 RcmZQzU|?ooU|@t|UH|}6022TJ literal 0 HcmV?d00001 diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/PizzaProject/model/Order$OrderState.class b/de.hhn.ai.prog2.blatt7.junit/out/production/PizzaProject/model/Order$OrderState.class index 8cf1ddbbe3481c484c42bf87d08dca31fad33c9b..11b948737975fec8918cc2022adc7f8d57bc23ba 100644 GIT binary patch delta 55 zcmcb|d5?2LB{O5jsA|87~PZGJn~5V;rzur7uTF>J;# zge@`qM#Xj@KoPnkoaw?vvc&g%=g7~IY zG_1U>+lB%yTd5e!Wb*L!wd*iHfhbQ5h18vy# zk#H}!Knoa)X2rCZ6wFPWMd?eu;91KIle^5mLO2R~a%RQYs2}Yc){eek=1wwKE$HQ4 z-7>}6-3-|;P1fAy1w<4>?Y6Iu8}_UJkILVWP9PH{!(M6fF)%TCwpIm+n%8KsLuOHL z7wIk>uItBcMKOk!T(GQUBe0juu``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@Tp> zVH%JD`;R8bYg~i1WKvj%^}@*0Hev*&X+P6>1>3;Zr`-G2<%bH+GK3bNG3kTTl=5!m ztqJ7@Y~-0x#=Jcc6v}ahnJfeC9*_T=gJ~N7ac$!HW^7>;l6sO!Z)*$%-7hfhEpuw> poO{mgna|(fe*|zEa|YTm9K#Nb#BmH+H5}J* z!axg#Rd6znQ#h@LGdj*1FmNu0^SGenqK;94*0Q%Gy^6q2>w&#)XV-kk&00>y=UHst zSuWZBnkNOin~rnVN_k1T**TRyI;N0vPRa4d1a_yJ?v4&F2t+4&U!cQsO0uxFvM9Y< z_M*$3gjFuu?t<+(Dz0uu{re7!I$%|#x9${WCF`uLR@vsmEm9`8raoS+rS~) zi4N=}m5Iw3H!*>6qSc!|;d%CB)p-+FFv)sME&wh?yUhHGUyefK%Ym>;~PGXa9KUW8EkfUPD zSJ}*=*U&N>h-kR2__Tn}2(S}~v%Wf)xyfbX5W0yZ(6cRK^f!n}BJTMMVlVp0u4<$O zR1D-kpylp6v|6gx4d?>1!y9N5c!EAIVgjFF6h_`6{tD((#4{tIp65TlWL_{o8fZ$P zmFpDRupa|-BFoCpQO89pQ5t*b@c_GWn6Yv@S5@1_Uvz)ax0yhJ=nI zI*#^#WyxWC(>xyhH!08lEafnz^s|HkN;yI)M=2%!f23#_qEZbRT<2_1+IfyMq?C^Ya!8@VV52E)RCr!zZX#DolrCB5cU*O>OxH+Wcfq0HTvC>8Yg;slr zCci74-&I}cvZ!+?UtH!l@b`5d%>?^eID15v|@h5`?Z1K3o6-+2H zp^R<*fO<;84ywFjdL~lid4&a1#9Ybl@@xkH)Bb-t?c;#G#GYPojeXzd=_u)x-fihAjr0-o4)5IO^q+kmvjYuBe*nil)13eS diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Order$OrderState.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Order$OrderState.class deleted file mode 100644 index b28225ea636e78dc587f4122e7d40250cc1dcd9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1246 zcmaJ>Yi|-!5Iq+bc3GA_=)=;dR#c!5thQPOD+sG0L1@^DAtr4Wx~(*@BwOegf0AF6 zCe~;){p^o2&b<&zW9yR4*}3=3%$d1&`SttTPXO!4`XJ$fiicR2u^{7-ig7&VW>dk0 zN}HRU@kBw0<5LCG91{v=I3^X$a(t#>j^mb$=M4T_VQ;%sd{xp7gF!7i`<7$0&9=p$ zG7a7?NO7G-~1%^Pel+{annd0m1 zyiNpOEUV{pWxZ5kQ2MV~202_#=ilh0AoT9~GTsxj(cw~NBGLcQqzvg~7|z#itI%my zEoaB9HfTi_@x=p%JTc=9(>{zFZKrM@CZg9D4(3}mvr#skI#1NkCfR0_k_P|H z#NbWV?RtBQVe*PXxoDY2)_z~7PJBlF&^Fs0hcdY%d_zgr8vWqdKx*CYG?UjU+@dp3 zjaJ90Sug9n)809*@*XwJ^UJcJA%(Pz7o_RxbJP$5KHS7DFf5X{NXQ?x3-$%BbGSc|$8ejhSM2Q) zKa4wl{yJP@RSin9ukf5h;(XU7{#{zpdMw;SMC{W%iN!0f!A(EvAhtAn2JdIFJy`A{ zT*eZYj%C4Ffr3@6^o4w+M)>pLJETfbcAr5xg->os!Wr@kXIMBRvT#O) z6I6sVHsbw3`P^N)k`<{7zftjY5ily=E{2VY+{LI-QMwp2PQkeJ-lXOs(|Z*G9MDxc kqONWFr*e?S2@2SyetRv%ai4fDn!yc1m7*nVU@{f@0}o~WM*si- diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Order.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Order.class deleted file mode 100644 index b39ddb1b8945fd43439ed01d5074bfd2845a6e51..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2022 zcmah~YjfK~6g?~1Qf#Yk$iq!(p-mrPJ8ccLJe|5NdC(L?JCo7^-xOP8)KTP&EHktp z_)RcFrUT6I1Nc!4XLl7zmc#Hx+P!=C+;h&}mHz(ckG}xiLBEPBx)oHgDIa&`qgTT{ z+?S&VHa@SyM%Tucjcpq{0@cUS(2MqCH}(Xay)g8mt-zg3yotcVU^#JlR~1^%Sbd9h1kU#T z(EECNc;H1(-GhLUrT%!}2G88cm-8f8ihuB_`AnV=Su|#IUml(0Z~s55q9Lb|tc|>Q zD?N{uW@}!nKy8vwT0Nz*)LS8x@}4r5PJr@}pvG9(B~oq#MSg)$6Trn>Xfz&ncl zaX7KDD{!TlRRoor7Tn=b!LqBGGkqdg#ZhLw?jFubBd!afMIGsl&I-DYt)v@e2or zB4MfEMO9RTl#`+YS8*-b++(&ZX(=&Mg5F(K(d!iQjzVbYtdzEu&=$DP3~f%Hh*>1k zI)#Y#{9RIMqD8$@%@cy9gv`uSP3SfW-T4nf`W!RQEajP?&$t`BVEn4H@tynU{{`mcfph=> diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Pizza$Size.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/Pizza$Size.class deleted file mode 100644 index fbc7c0879d708904b5c60889764398e41c1e3c69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1005 zcmZuv?{Csj6g>|Lh0*~QhO*7yIDzR9-P8oKKqeZJ;*51f;-`WYyOfd?*a!Y9Wr;Hy z%|81_8Si@%R~&8fZtlD1-gEA~@7M2dKLPCEX%rF)3X0g0k&$s-$Qm(d`e69pa!Rl4>D0_|NQEKX zYCLNmwkTJxzkbnRkaO+2e%LS=Qty@~9GlLBms`yjmI9=GVqr+=wrjnd47!&0#_T$D zBa6&~4-A`m{m48vOOEOGOUBr<-F~I8j7-yqJ=1BMp3O_l>qxFSpmN&98q`kJcJ1*V zLuLs@v(Tp5j6d3>K5E!~*BnngsuaxgK&0Ap=E*r<>4rNQR4;1VquD9OaN_l>=Qi(7 z5o6uveW_UGtIMdg&s`ah8Iu1`Ud1||sJMZfDiY9Cr1+7B#t=Ur4d&Pnm&zL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H(eEP7GH`?#iHSgM%Qa8(xRxtw$=cUi-` zxJ++F5-6DH;|8R;6$v;UbpBL7s$^M4L${WlMn_cjGz~y?n~?3-v*a0$?zJ2R2l|^* zU%t+KXA}(dJm4}v^ML%#-p#45Z~Tu?7m=^1x}m!j;>nAm1dfO_%6kL<8hK-+oSxp5AlOe4?*D$I6uW7ZRF2s1U^T3Mgwx3;cAgL z=nhO2oe$m|Y=6Sx;AbA%#}`gl`8Y=|f1-sIn# z(0Cgcc_xUfA!4d98wwlpc?H6bVHn3FSg9UXDlFtX!iI>VkFaW(W`QfnSFbcMl-(7sgcFQt{!Rd;t?Eb2ot%9OE;~*~|P8ys|XS$Y~s3n*JB^ C7zW$` diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/exceptions/OrderException.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/model/exceptions/OrderException.class deleted file mode 100644 index 9b3bd442fbf593788226971b7b1107c10638d24d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 304 zcmaivy>7xV6otsuR>V@l6qSK0yA!O|C?v>9Dqf2TiGc^;p(<_= zAa$xO9r-)H=U6`d9*zJ;c=FLe+ry)W4#6GkOqUZvRz*k{=H9Wpb7S%9!91an|M@QJ^{r#WYS0p|?Nt?rgA$;sh^Uq97*@7AqbRj=FM z{rKhA0CwOr9h)(y;XWN9%(Y@2GCGH>%p46l9UA7ul5fNPC}=3^XcJ2au9!>mb6#c- z$n3Pt7G!ot$A0`u$3gsBHvdM$Z^L*{$M5ia9jovM4S&?JMqEE6XFMMdi;qXz@F*UW z;qg{Hfjy$m~m~N?HDOlgIJeNiK~)Dt1xe;tYRWv%4QdQ_$lAEUo3RgJ!`qb z@ZgLeg-3yhSH{Ns8(4C;l2_1PN0v65f8(U=c*ICHLp%l1dTI;#3cdCz*G%0vVdg!$ z8lEN9<=&QSvU1jPtb*xUHB6~VtiO?vtKm5X;Ul?x-gaggj4|%;r>euH?9uR2)-DfqaL-Mg=|fE^86O0Rj)Mn!cQy_A2C*ea6!8JT;S6ojTnDNE6uwXkKZhnb8`Ujj!O#wwkd=P2xkpSwB?oWQh!_wjcM zY2Y9Dr-6Ur0}US<_z33>e2k+SJ~8kq-m2s6yJiJcJ=oG~Gp5{AA*TrwxuIe4F zyBaEaAc}U%EKZWL_kN@Fs_^%(KaaIn;X!KZs%L7U=vsXJHswm(-|aJDh=+K;x#Vw| zS;F%c_G76uW&IBN&&&RdgFe3hH$%ZM_?-}vhUS+^NZOgUE#7<(I_JCsI9@}`AvAFY ztRA=kWndAZ;}_8MIn;rH&aN_=KS#^Q-nnZzMxb)+UZ)S8~3QE8=knQM=KK>v025=(OI5U5tdD0v0kGqK)eD)>t8W>k zWyG_D{s&#d9_0r{Pnu39rcuZ!@Wbw8GecE+%aauI9LrY3suviSOiWHR8|e1=)N7WYX)p8EKe-ZMhRm$#|WC#psh{Q-@|qYAJ0B4e8A@wQ&luWOI}H zWxk>x=Pl&z#*QkM<0SU^^4*Q=#JeI8*xo<|wiJ26k}^_rM$rq`9R>a?a^;fLs#~Mm z%O@bv`3uZ@;waLN>vkNifIbcu%BD9m4y&GMX9+xw|5y!MIH{qGioh^j_=cj7F4>VW zBcGJC!xg{|&!-o>6B?r+ddqQ=M}9=k>(4gLBN_Mtt?T3Fkdg=DTK>#P8wnJ;y$L$} zu1fsQ1hm)&*D9|x=!|n_sPTN8kq=xouJyA^h_feOp?yc;{UwS&87yFj#~rROO^`B1n&|)vKr)OMa-`9CMN;;)?TX{+&z0bVE8~1tq&pr>>frf{F0Ld8Bq5uE@ diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/impl/PizzaService.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/impl/PizzaService.class deleted file mode 100644 index ca4f772333251e1f32659f40a5cf359f3bd5ddfe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1034 zcmZWnU2hUW6g|T?+XY%^i`HsIs{+-oUvH2m#>8l{X-(GD#J2%PoMu_bvS89*rHR() zgFnC@WxO-H$S!1)**kacJ@=e5^XKoc-vFNDnSml2MHFyn19x$#qI(AJ<3RyU^>5|T z&f|!oJdu}|{LR^G?hRbwGwj<_;m>7XOf5OK-X=~v3^`ptW!SVY_?%m_K)RMKrvaT6 z9Xa%PF!Ke&!OC&h9*qaW4FNkR3aKkS8JsYro2_$(%u70FsMyjIr?XK{`0senrA*Zx z_qlt{eW~_QG824~L?TXhG>OoikUxzur+h9>#b>R8C^r)%)KoTMC?&EChCAj1-9i)0 zp$J~M?qXYQwpN7En8sRiU9I7aXMSJ2l1kE+hKqO}D<4g4V#|byQXUUYJi@UF0~>i* zCLZGnL*XNJdVC~I+`vR=m&Jq$=f2=`C!1X(+uUrYCEkD z3Ha4VKn5vW7mm~-gylm}z8=PLoxqpgu(ReI8uToS^k7r;ky;&*1t7XQt{_7(IYVoe zG8X+A{j=>KU|)4fjn7d;~K51+0kQwdixtvM?aBH;XQ>JwY@@i z30Fp%%1gwjOdu5vyGzZ~8o{dQI`#;d(QPc)b*WFWE4LMFHFt&lcchlMhQ_E7@^*}B j`9IZt+@y-6PU7~3AX8ZCtjC(OQFCb5EgFBIt8f1U-G11K diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/interfaces/IPizzaService.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/interfaces/IPizzaService.class deleted file mode 100644 index ab6c94239f005a08d38605dc7d63a0de5f8bfd72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 330 zcmZWl%T5A85Ud7d1rZH@;ElaF7jJ7!@IYd+L6c3qk4v)|GAzl=>>Bwr4}Jh2Wo(Ai z##47ys;VEy-|rs)54cHionT6sc-``fKi|yZpb5A0e79e-RS{?DyC^CS3u`0c3A1^c zZ*{9x6O2{4@gXCO3RBfOG>!>({{)Yn%qP)LB{K#-f2|g~XgY^lU013I&eTcDQJOZKWGlndkXan9?_xQfi=4`hH?$N&HU diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/io/PizzaIOHandler.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/services/io/PizzaIOHandler.class deleted file mode 100644 index deea7b11b8ef7082f0b075f922ee6beecdc63512..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 764 zcma)3%SyvQ6g`u)O-+42>Z>A(3+uux6gLq!f)5BPRJxzGW1W&Fl1D+mN>_plKfsR? z?@X$;0l_S0?wq;jkvkusZ|?vOv0=l+nuT=>HHOl$3}kY`VD8qN429FMBN%2p8HlU2 z-xAR+Z~27GdtsaVO&&>g9)gABUd9YHFBZ{2wngm7(7BOMPyF)wf(IR6L@t9J^MTMP z^)BpsJwD)0nn>UAWSqFlmOU`c<}Vnk zo%hVQs|dCq^3He4ogu^LLDy*{kqo+SJ?BX# z#TjYSyvE15uUsZkK#^hX@2S%?f8$)YdZL|R3kE&B`b^M6qeyFsP7dvi_Tt_v*b5Z~ zELuw%v{0scGHbvDY&tPi2r)GIT=x^Eh~@~fqKQ>%Q-qADswqsIRlj{n1*cYDM!_zW~s*rN96H diff --git a/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/view/MainFrame.class b/de.hhn.ai.prog2.blatt7.junit/out/production/TestGPI2/view/MainFrame.class deleted file mode 100644 index 77623f01aca8ec648d58c521799442b1ad0a2ddd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmZWn%TB^j5IvVyrBn(iDk3U7Wnnk&G$w?Eg{g)_!~OzSy{5FLv|#uv6N8BhKfsSN z&Mi=grb*{@=FFLCzkfcz0Gy+)L&HuM8SLuVLq&P}I;yB>IM7gIDE2+~K|Y2)4?Mra zUEwg)?6DLRt0SjV-uhdUgzA6X`x$*U>zNt<@poYUGiW$TFo2q=F)gEF+t4e1N@0Ws}~Sc@hQkjfG!Ci6W8} oH#aF#&1T~ri5Ze)QZuAiGb9vpwA9}34B9V!D}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it/out/test/TestGPI2/model/PizzaTest.class b/de.hhn.ai.prog2.blatt7.junit/out/test/TestGPI2/model/PizzaTest.class deleted file mode 100644 index f53ad21ec8e727f5f97f1bee22f2e042d7034708..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 878 zcmaiwOHaZ;5Xb+^!vgYFRE#F#$wy)@-ZUooIuSI2+!t723EgeVf(hTslZgjEfFH^@ zt%Mj2v`IU&)A{|fGoN4Y9{|p=n?e-Z7IrL@8P+bPlIDsbdUV`kh~4O}V93>^67`AG z7G9ILM^q`+bcc^x+>`!!UW}Q695WPZ4pAffQO;((DaPi4AwCx7*<~m{O_Y(2Xvwi8 zu&R_c+(@m6JFIE1Zx1JQ0s6Yq2+!uOw68@^d*Y6F1|&)t!M$7kq8KVm`l~%6=j|!p z?KZXRO4VoBTLR4QXwe-Taz@knS)DtSWjx{NsaPmd4L$KX;$Heo$Sx*48}cbnBZfFF z>(BHIdH=6H;;L^yw1=W&aDWJH-G3~42?MR3GMgf!7(aOfd!-~2G^_>1Bob6f|1=

Kz>hN4 z3}}o7XOfxfs=4>1s=MDmUf%$mU?YbqtYxvDMOk3_OljrL1*Y~78UpD{(;|U|n$lDs z^qOSvWi#MPv1WW3G^ABgJ}#zRM}-2LwUF#k`4oCLwng@Cl-*P4P6aX{xre?$`F5b4 z>QO_5iV+p9jgw9p&4j(0v2CwA;8ytCSB|VF`^vkZM`P(q`W*(%IFhz%p0vR31byX^ zonLaU=K z_xQ(MIg|yYk>U9#Zj!)ar1Ju)+ulvHOTNPnQhZF&ljWBI;IrbD$5C+19KJw2^CA@s zrsLu)X1G!q2{4NsXF#6Ksn~qPS!DiWocm!EV`G7Z5q6FvFrN%r`UkQQLl%=ErGFqx dF{GFbDJMdflOfxQkdL& orders) { this.orders = orders; - //TODO - throw new NotImplementedException(); } public void addOrder(Order o) { - //TODO - throw new NotImplementedException(); + orders.add(o); } public void removeOrder(Order o) { - //TODO - throw new NotImplementedException(); + orders.remove(o); } public List getAllNonDeliverdOrder() { - //TODO - throw new NotImplementedException(); - //return null; + List ret = new ArrayList<>(); + for(Order order : orders) { + if(order.getOrderState() != Order.OrderState.DELIVERD) + ret.add(order); + } + return ret; } - public List getAllDeliverdOder() { - //TODO - throw new NotImplementedException(); - // return null; + public List getAllDeliverdOrder() { + List ret = new ArrayList<>(); + for(Order order : orders) { + if(order.getOrderState() == Order.OrderState.DELIVERD) + ret.add(order); + } + return ret; } } diff --git a/de.hhn.ai.prog2.blatt7.junit/tests/model/OrderTest.java b/de.hhn.ai.prog2.blatt7.junit/tests/model/OrderTest.java index 61032d9..e234f35 100644 --- a/de.hhn.ai.prog2.blatt7.junit/tests/model/OrderTest.java +++ b/de.hhn.ai.prog2.blatt7.junit/tests/model/OrderTest.java @@ -1,25 +1,49 @@ package model; +import model.exceptions.OrderException; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import java.util.*; + import static org.junit.jupiter.api.Assertions.*; class OrderTest { + private List pizzas; + private Order order; + + @BeforeEach + void setUp() { + pizzas = new ArrayList<>(Arrays.asList(new Pizza(), new Pizza())); + order = new Order("Max Mustermann", pizzas, new Date()); + } + @Test void getCustomer() { + assertEquals("Max Mustermann", order.getCustomer()); + assertNotEquals("Wrong", order.getCustomer()); } @Test void setCustomer() { + order.setCustomer("Max Mustermann 2"); + assertEquals("Max Mustermann 2", order.getCustomer()); + assertNotEquals("Max Mustermann", order.getCustomer()); } @Test void getPizzas() { + assertEquals(pizzas, order.getPizzas()); + assertNotEquals(Arrays.asList(new Pizza(), new Pizza()), order.getPizzas()); } @Test - void setPizzas() { + void setPizzas() throws OrderException { + List newPizzas = new ArrayList<>(Arrays.asList(new Pizza(), new Pizza())); + order.setPizzas(newPizzas); + assertEquals(newPizzas, order.getPizzas()); + assertNotEquals(pizzas, order.getPizzas()); } /** @@ -27,25 +51,35 @@ class OrderTest { */ @Test void addPizzaAfterCompletion() { - + order.setOrderState(Order.OrderState.DELIVERD); + assertThrows(OrderException.class, () -> order.setPizzas(pizzas)); } /** * Tests if the pizza is added to the pizza List. */ @Test - void addPizzaBeforCompletion() { + void addPizzaBeforeCompletion() throws OrderException { + order.addPizza(new Pizza()); } @Test void setOrderState() { - } - - @Test - void getDate() { + order.setOrderState(Order.OrderState.DELIVERD); + assertEquals(Order.OrderState.DELIVERD, order.getOrderState()); + assertNotEquals(Order.OrderState.WAIT, order.getOrderState()); } @Test void setDate() { + Date today = new Date(); + Calendar c = Calendar.getInstance(); + c.setTime(today); + c.add(Calendar.DAY_OF_MONTH, 21); + Date currentDatePlus21d = c.getTime(); + assertThrows(IllegalArgumentException.class, () -> order.setDate(currentDatePlus21d)); + c.add(Calendar.DAY_OF_MONTH, -2); + Date currentDatePlus19d = c.getTime(); + assertDoesNotThrow(() -> order.setDate(currentDatePlus19d)); } } diff --git a/de.hhn.ai.prog2.blatt7.junit/tests/model/PizzaTest.java b/de.hhn.ai.prog2.blatt7.junit/tests/model/PizzaTest.java index 56c97a9..3393a12 100644 --- a/de.hhn.ai.prog2.blatt7.junit/tests/model/PizzaTest.java +++ b/de.hhn.ai.prog2.blatt7.junit/tests/model/PizzaTest.java @@ -3,13 +3,17 @@ package model; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import services.dummy.PizzaServiceDummy; import static org.junit.jupiter.api.Assertions.*; class PizzaTest { + private PizzaServiceDummy pizzaServiceDummy = new PizzaServiceDummy(); + private Pizza pizza; @BeforeEach void setUp() { + pizza = pizzaServiceDummy.generateRandomPizza(); } @AfterEach @@ -18,17 +22,35 @@ class PizzaTest { @Test void addTopping() { + Pizza pizza2 = new Pizza(); + Pizza.Toppings topping = pizzaServiceDummy.getRandomTopping(); + pizza2.addTopping(topping); + pizza2.addTopping(topping); + assertThrows(IllegalArgumentException.class, () -> pizza2.addTopping(topping)); } @Test void setSize() { + Pizza.Size size = pizzaServiceDummy.getRandomSize(); + pizza.setSize(size); + assertEquals(size, pizza.getSize()); + pizza.setSize(Pizza.Size.LARGE); + assertNotEquals(Pizza.Size.SMALL, pizza.getSize()); } @Test void setName() { + pizza.setName("Test 123"); + assertEquals("Test 123", pizza.getName()); + assertNotEquals("Wrong", pizza.getName()); } @Test void removeTopping() { + Pizza pizza2 = new Pizza(); + Pizza.Toppings topping = pizzaServiceDummy.getRandomTopping(); + pizza2.addTopping(topping); + pizza2.removeTopping(topping); + assertFalse(pizza2.getToppings().contains(topping)); } } \ No newline at end of file diff --git a/de.hhn.ai.prog2.blatt7.junit/tests/services/OrderServiceTest.java b/de.hhn.ai.prog2.blatt7.junit/tests/services/OrderServiceTest.java index 9b2e406..99adc72 100644 --- a/de.hhn.ai.prog2.blatt7.junit/tests/services/OrderServiceTest.java +++ b/de.hhn.ai.prog2.blatt7.junit/tests/services/OrderServiceTest.java @@ -1,15 +1,43 @@ package services; +import model.Order; +import model.Pizza; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import services.impl.OrderService; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Date; +import java.util.List; import static org.junit.jupiter.api.Assertions.*; class OrderServiceTest { + OrderService service; + List orders; + Order newOrder; @BeforeEach void setUp() { + orders = new ArrayList<>(Arrays.asList( + new Order( + "Max Mustermann", + new ArrayList<>(Arrays.asList(new Pizza(), new Pizza())), + new Date() + ), + new Order( + "Frau Musterfrau", + new ArrayList<>(Arrays.asList(new Pizza(), new Pizza())), + new Date() + ))); + service = new OrderService(orders); + newOrder = new Order( + "New Order", + new ArrayList<>(Arrays.asList(new Pizza(), new Pizza())), + new Date() + ); } @AfterEach @@ -18,17 +46,33 @@ class OrderServiceTest { @Test void addOrder() { + assertFalse(service.getAllNonDeliverdOrder().contains(newOrder)); + service.addOrder(newOrder); + assertTrue(service.getAllNonDeliverdOrder().contains(newOrder)); } @Test void removeOrder() { + assertFalse(service.getAllNonDeliverdOrder().contains(newOrder)); + service.addOrder(newOrder); + assertTrue(service.getAllNonDeliverdOrder().contains(newOrder)); + service.removeOrder(newOrder); + assertFalse(service.getAllNonDeliverdOrder().contains(newOrder)); } @Test void getAllNonDeliverdOrder() { + assertEquals(2, service.getAllNonDeliverdOrder().size()); + newOrder.setOrderState(Order.OrderState.DELIVERD); + service.addOrder(newOrder); + assertEquals(2, service.getAllNonDeliverdOrder().size()); } @Test void getAllDeliverdOder() { + assertEquals(0, service.getAllDeliverdOrder().size()); + newOrder.setOrderState(Order.OrderState.DELIVERD); + service.addOrder(newOrder); + assertEquals(1, service.getAllDeliverdOrder().size()); } } \ No newline at end of file