From 22d678be9ecc64743269d562db7f16ecc883ef97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Berk=20Ba=C5=9Fo=C4=9Flu?= Date: Fri, 16 Nov 2018 12:30:21 -0500 Subject: [PATCH] Added comments --- .../.idea/caches/build_file_checksums.ser | Bin 541 -> 537 bytes OlympusServices/.idea/codeStyles/Project.xml | 24 ------------------ .../olympusservices/ServiceProviderTest2.java | 7 +++++ 3 files changed, 7 insertions(+), 24 deletions(-) diff --git a/OlympusServices/.idea/caches/build_file_checksums.ser b/OlympusServices/.idea/caches/build_file_checksums.ser index e8bb1ad15ade51f0bc664c430de0d909c928c91a..a2f140772f320874ad602dba2f767db16f15adfd 100644 GIT binary patch delta 228 zcmbQsGLvP(3>Mky>8umy_y-9j78JxJm1gFo=%p7WrsSlS7BMhIJFWRF{)3GpjLF`U+1!l2=76%$&VT2vg9lvq-l5d+m9GkF@LZZLmw zYDr0EUV1Ui)Ix?j1~!mE^KK^Wv$@Znr<-s{9gBi%7iwJ>Dz55A7qph{M^gDYEQyazfHDj#?Q_QBvk+a D8|zft delta 235 zcmbQqGM8n-3>HyEhMyDX_$Tler`#(nUez3Rmf1szy?y7&d?M4dD1oMoSPE5 zo+h6!Oy0{VtGBc7sjU8-H9MwkJjiGJ;8aZsgN}Y^acWVqeqvs6Mrm41S-| - - - - - - - - - - - \ No newline at end of file diff --git a/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceProviderTest2.java b/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceProviderTest2.java index 2816c2a..fb0e454 100644 --- a/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceProviderTest2.java +++ b/OlympusServices/app/src/test/java/com/uottawa/olympus/olympusservices/ServiceProviderTest2.java @@ -8,6 +8,9 @@ public class ServiceProviderTest2 { ServiceProvider serviceprovider = new ServiceProvider("John123", "1234567890", "John", "Doe", "testaddress", "8888888888", "companydotcom", true); + /** + * sets availabilities and tests them. + */ @Test public void testAvailabilities() { int [][] availability = new int[7][4]; @@ -20,6 +23,10 @@ public class ServiceProviderTest2 { assertEquals( availability, serviceprovider.getAvailabilities()); } + /** + * Tests other instances and checks if they are correct + * + */ @Test public void testOtherInstances() { assertEquals( "testaddress", serviceprovider.getAddress() );