This domain may be for sale!
slim3ã§ã¯GAEã®ç°å¢ã«ä¾åãããããªåä½ãã¹ããããªãç°¡åã«è¡ãäºãã§ãã¾ããä¾ãã°ãBigtableã¸ã®ã¢ã¯ã»ã¹ã¯ãã¹ãã®å®è¡æ¯ã«ãªã»ããããããã°ãã¼ãã«ãã©ã³ã¶ã¯ã·ã§ã³ã«å¯¾å¿ãªã©è³ããã¤ãããã§ãã ã¨ããããç»åãå å·¥ãã¦ãµã ãã¤ã«ãä½ãæãªã©ã«ä½¿ç¨ãã ImagesServiceã§ããããããåä½ãã¹ãã§å®è¡ãããã¨ããã¨ä¾å¤ãçºçãã¾ããå é¨çã«ã¯ãç»åã®ä½æãä¸é¨ã®è»½ãå¦çã¯Implã§è¡ã£ã¦ããããã§ãããæ¡å¤§ç¸®å°ãªã©ã®å¤æå¦çã¯åã¢ããªã§ããã®ã§ã¯ãªããå¤é¨ãµã¼ãã¹ã¨ãã¦å¼ã³åºãã¦ããããã§ãããããã®ãã¹ãç°å¢ã§ã®ã¨ãã¥ã¬ã¼ãã¯ãorg.slim3.tester.AppEngineTesterã®makeSyncCallã§è¡ã£ã¦ãã¾ãã®ã§ããããå°ãã«ã¹ã¿ãã¤ãºãããã¨ã§ImagesServiceãã¨ãã¥ã¬ã¼ãã§ããããã«ãªãã¾ãã 以ä¸ãç°¡åãªãµã³ãã«ã«ãªãã¾ãã
ãã¼ã«ã«ã®ã¦ããããã¹ãã§ãcom.google.appengine.api.users.Userã®ã¤ã³ã¹ã¿ã³ã¹ãåå¾ãããã¨ãã¦ããããã©ã«ãã»ã³ã³ã¹ãã©ã¯ã¿ã¯ãã©ã¤ãã¼ãã§ããããUserServiceã®getCurrentUser()ã¡ã½ãããnullãè¿ããããç°¡åã§ã¯ãªãã 以ä¸ã®ãªã³ã¯ãåèã«ããã°ãgetCurrentUser()ã¡ã½ããã§ä»»æã®userIdãæã¤Userã®ã¤ã³ã¹ã¿ã³ã¹ãåå¾ãããã¨ãå¯è½ã Local Unit Testing with UserService: userId==null problem ã¾ããslim3ãå©ç¨ããå ´åã¯ãä¸è¨ã®ããã«tester.environmentããorg.slim3.tester.TestEnvironmentãå©ç¨ãããããã public class UserTest extends AppEngineTestC
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}