{"id":1629,"date":"2018-04-15T03:57:04","date_gmt":"2018-04-14T18:57:04","guid":{"rendered":"http:\/\/sparkling-software.club\/pekublog\/?page_id=1629"},"modified":"2018-04-19T01:52:54","modified_gmt":"2018-04-18T16:52:54","slug":"viewresultmatchers%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e4%b8%80%e8%a6%a7","status":"publish","type":"page","link":"http:\/\/sparkling-software.club\/pekublog\/?page_id=1629","title":{"rendered":"ViewResultMatchers\u306e\u30e1\u30bd\u30c3\u30c9\u4e00\u89a7"},"content":{"rendered":"<p>\u25a0ViewResultMatchers\u306e\u30e1\u30bd\u30c3\u30c9\u4e00\u89a7<\/p>\n<table style=\"width: 100%;table-layout: fixed;word-break: break-all;word-wrap: break-all;\">\n<tbody>\n<tr>\n<td>public ResultMatcher name(final Matcher<? super String> matcher)<\/td>\n<td>\u30d3\u30e5\u30fc\u540d\u3092Matcher\u3092\u4f7f\u3063\u3066\u691c\u8a3c\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\u5b9f\u884c\u4f8b\uff09\u30d3\u30e5\u30fc\u540d\u304c&quot;index&quot;\r\nMockMvc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.perform(get(&quot;\/&quot;)\r\n    .andExpect(view().name(is(&quot;index&quot;)));\r\n<\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>public ResultMatcher name(final String expectedViewName)<\/td>\n<td>\u30d3\u30e5\u30fc\u540d\u3092\u691c\u8a3c\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\u5b9f\u884c\u4f8b\uff09\u30d3\u30e5\u30fc\u540d\u304c&quot;index&quot;\r\nMockMvc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.perform(get(&quot;\/&quot;)\r\n    .andExpect(view().name(&quot;index&quot;));\r\n<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<fieldset style=\"border-style: solid; border-width: 1px;\">\n<legend><strong>\u5e83\u544a<\/strong><\/legend>\n<p><script src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\" async=\"\"><\/script><!-- \u30ec\u30af\u30bf\u30f3\u30b0\u30eb\u5e83\u544a --> <ins class=\"adsbygoogle\" style=\"display: inline-block; width: 336px; height: 280px;\" data-ad-client=\"ca-pub-0101691122871550\" data-ad-slot=\"7066468215\"><\/ins><script>\/\/ <![CDATA[\n(adsbygoogle = window.adsbygoogle || []).push({});\n\/\/ ]]><\/script><\/fieldset>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0ViewResultMatchers\u306e\u30e1\u30bd\u30c3\u30c9\u4e00\u89a7 public ResultMatcher name(final Matcher<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=\/wp\/v2\/pages\/1629"}],"collection":[{"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1629"}],"version-history":[{"count":6,"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=\/wp\/v2\/pages\/1629\/revisions"}],"predecessor-version":[{"id":1731,"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=\/wp\/v2\/pages\/1629\/revisions\/1731"}],"wp:attachment":[{"href":"http:\/\/sparkling-software.club\/pekublog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}