w TRM%#ΛߏମͷதͰ࣋ͭͷ͍͍͕ɺ
جຊతʹؔͷҾʹ͢Α͏ʹઃܭ͢Δ
w ͦͷؔΛϝιουͱͯ͠ϥοϓͯ͋͛͠Δͱྑ͍
w τϥϯβΫγϣϯΛؚΊΔ߹ɺ
#FHJO
ϝιουͷฦΓTRM5YΛຬͨ͢
JOUFSGBDFΛࢦఆͯ͋͛͠Δ
w ͋ͱ͔Βհ͢ΔϞοΫٕ๏Ͱͬͱྑ͍ײ͡ʹͳ
Γ·͢
Slide 51
Slide 51 text
4FSWJDFͷ'VODUJPOBMUFTU
ͱॊೈʹૢ࡞ՄೳͳϞοΫΛ࡞Δ
Slide 52
Slide 52 text
'VODUJPOBM
Slide 53
Slide 53 text
w 6OJUUFTUʢ୯ମςετʣ
w ୯ҰͷؔϝιουͳͲΛςετ
w 'VODUJPOBMUFTUʢػೳςετʣ
w ϦΫΤετ͔ΒϨεϙϯε·Ͱͷςετ
Slide 54
Slide 54 text
w 6OJUUFTUʢ୯ମςετʣ
w ୯ҰͷؔϝιουͳͲΛςετ
w 'VODUJPOBMUFTUʢػೳςετʣ
w ϦΫΤετ͔ΒϨεϙϯε·Ͱͷςετ
Slide 55
Slide 55 text
Ͳ͏͍͏ײ͡Ͱ
ͬͯΔ͔ͱ͍͏ͱ
Slide 56
Slide 56 text
ςετΛߦ͍͍֤ͨΤϯυϙΠϯτͷొ
Slide 57
Slide 57 text
ςετͷͨΊͷ൚༻ߏମΛฦ͢
Slide 58
Slide 58 text
• TestGet TestEcho ͳͲͷ୯ମςετͱ
ࠞ߹ͤ͞ͳ͍ͨΊʹҰՕॴʹ·ͱΊͯॻ͘
• funcsεϥΠεʹfunc(*testing.T)Λ࣋ͨͤΔ
• for rangeͰ̍ͭͣͭ
ΤϯυϙΠϯτͷ'VODUJPOBMUFTUΛߦ͍ͬͯ͘
w ֤ΤϯυϙΠϯτςετͷલޙʹॲཧΛΒͤΔ͜
ͱ͕Մೳʢ4FUVQ5FBSEPXOʣ
Slide 59
Slide 59 text
ͦͯ͠testGet(u)ͩͱ
Slide 60
Slide 60 text
No content
Slide 61
Slide 61 text
w ΤϯυϙΠϯτ͝ͱͰඞཁʹԠͯ͡
ϞοΫΛࠐΜͩαʔόʔͷίϯετϥΫτΛߦ͏
w ΤϯυϙΠϯτ͝ͱͰେ·͔ͳϞοΫͷॲཧΛม
ߋͰ͖Δ
w ςετॱΛγϟοϑϧͰ͖Δ
w ֤ςετͷલޙʹॲཧΛΒͤΔ͜ͱ͕Մೳ
ʢ4FUVQ5FBSEPXOʣ
Slide 62
Slide 62 text
࣮ࡍʹϞοΫΛ࡞͢Δ෦
Slide 63
Slide 63 text
No content
Slide 64
Slide 64 text
ςετΛॻ͖͍ͨͷΛ
ͬͯ֬ೝ͠·͢
Slide 65
Slide 65 text
ࠓճ͜Ε
Slide 66
Slide 66 text
testGetWithFailedAuth Λ
࡞͠·͢
Slide 67
Slide 67 text
ೝূͰࣦഊ͍ͤͨ͞ͷͰ
"VUI4FSWJDFͷϞοΫ͔Β
Slide 68
Slide 68 text
No content
Slide 69
Slide 69 text
͜ͷϞοΫΛͬͨ
testGetWithFailedAuth
Slide 70
Slide 70 text
No content
Slide 71
Slide 71 text
w Ұ࣌มʹϞοΫΛॳظԽͨ͠ͷʢϙΠϯλʣΛ
ͯͦ͠ΕΛ4FSWFSߏମͷϑΟʔϧυʹ࣋ͨͤ
Δ
w ͜͏͢Δͱมܦ༝ͰϞοΫͷதΛมߋͰ͖Δͷ
Ͱؾָ