{"id":262444,"date":"2015-07-28T16:24:02","date_gmt":"2015-07-28T12:24:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=262444"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=262444","title":{"rendered":"\u042e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u044b \u0432 Cach\u00e9 \u2013 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e"},"content":{"rendered":"<p>     \t\u0411\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u044b \u043b\u044e\u0431\u044f\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0431\u0430\u0433\u0438. \u0428\u0430\u0433\u043e\u043c \u043d\u0430 \u043f\u0443\u0442\u0438 \u043a \u044d\u0442\u043e\u0439 \u043d\u0435\u0441\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0439 \u043c\u0435\u0447\u0442\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432. \u0412 Cach\u00e9, \u043a\u0430\u043a \u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414, \u0435\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/263677\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d24\/9e3\/83b\/d249e383b49540798cf8dd0fb2036ee1.jpg\" title=\"\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0417\u0430\u0433\u0440\u0435\u043a\u043e\u0432 \u2014 \u0422\u0440\u043e\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0437\u0430 \u0442\u0440\u0430\u043c\u0431\u043e\u0432\u043a\u043e\u0439\"\/><\/a><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0417\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u0438 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u043b\u043e\u0433\u0438\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432 \u044f \u0432\u0430\u0441 \u043e\u0442\u0441\u044b\u043b\u0430\u044e \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u2013 \u043d\u0430 <a href=\"http:\/\/habrahabr.ru\/hub\/tdd\/\">\u0425\u0430\u0431\u0440<\/a> \u0438 \u043a \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u043d\u0438\u0433\u0435 \u00abGrowing Object-Oriented Software Guided by Tests\u00bb. \u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u043e\u043d\u0430 \u043d\u0435 \u043f\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043d\u0430, \u043d\u043e \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0442\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439.<\/p>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0442\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0444\u0430\u043c\u0438\u043b\u0438\u044e, \u0438\u043c\u044f \u0438 \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0438\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 id \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f <i>Tutorial.Person<\/i>.<\/p>\n<p>  \u041f\u043e \u0432\u0441\u0435\u043c \u043a\u0430\u043d\u043e\u043d\u0430\u043c TDD \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0442\u0435\u0441\u0442:<\/p>\n<blockquote><p><font color=\"#000080\">Class&nbsp;Tutorial.Test.Person&nbsp;Extends&nbsp;%UnitTest.TestCase<br \/>  <\/font><font color=\"#000000\">{<br \/>  <\/font><font color=\"#000080\">Method&nbsp;<\/font><font color=\"#000000\">TestNewPerson()&nbsp;{<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">set&nbsp;<\/font><font color=\"#800000\">surname&nbsp;<\/font><font color=\"#000000\">=&nbsp;<\/font><font color=\"#008000\">&quot;John&quot;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">set&nbsp;<\/font><font color=\"#800000\">name&nbsp;<\/font><font color=\"#000000\">=&nbsp;<\/font><font color=\"#008000\">&quot;Doe&quot;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">set&nbsp;<\/font><font color=\"#800000\">job&nbsp;<\/font><font color=\"#000000\">=&nbsp;<\/font><font color=\"#008000\">&quot;quality&nbsp;assurance&nbsp;developer&quot;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">set&nbsp;<\/font><font color=\"#800000\">id&nbsp;<\/font><font color=\"#000000\">=&nbsp;<\/font><font color=\"#000080\">##class<\/font><font color=\"#000000\">(<\/font><font color=\"#008080\">Tutorial.Person<\/font><font color=\"#000000\">).<\/font><font color=\"#0000ff\">AddPerson<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">surname<\/font><font color=\"#000000\">,&nbsp;<\/font><font color=\"#800000\">name<\/font><font color=\"#000000\">,&nbsp;<\/font><font color=\"#800000\">job<\/font><font color=\"#000000\">,&nbsp;.<\/font><font color=\"#800000\">ec<\/font><font color=\"#000000\">)<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;$$$AssertStatusOK<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">ec<\/font><font color=\"#000000\">)<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">set&nbsp;<\/font><font color=\"#800000\">p&nbsp;<\/font><font color=\"#000000\">=&nbsp;<\/font><font color=\"#000080\">##class<\/font><font color=\"#000000\">(<\/font><font color=\"#008080\">Tutorial.Person<\/font><font color=\"#000000\">).<\/font><font color=\"#0000ff\">%OpenId<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">id<\/font><font color=\"#000000\">)<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;$$$AssertTrue<\/font><font color=\"#000000\">(<\/font><font color=\"#0000ff\">$IsObject<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">p<\/font><font color=\"#000000\">))<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;$$$AssertEquals<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">p<\/font><font color=\"#000000\">.<\/font><font color=\"#0000ff\">Surname<\/font><font color=\"#000000\">,&nbsp;<\/font><font color=\"#800000\">surname<\/font><font color=\"#000000\">)<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;$$$AssertEquals<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">p<\/font><font color=\"#000000\">.<\/font><font color=\"#0000ff\">Name<\/font><font color=\"#000000\">,&nbsp;<\/font><font color=\"#800000\">name<\/font><font color=\"#000000\">)<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;$$$AssertEquals<\/font><font color=\"#000000\">(<\/font><font color=\"#800000\">p<\/font><font color=\"#000000\">.<\/font><font color=\"#0000ff\">Job<\/font><font color=\"#000000\">,&nbsp;<\/font><font color=\"#800000\">job<\/font><font color=\"#000000\">)<br \/>  }<br \/>  }<\/font><\/p><\/blockquote>\n<p>  \u041a\u043b\u0430\u0441\u0441, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0442\u0435\u0441\u0442\u044b, \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u043e\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <i>%UnitTest.TestCase<\/i>. \u0412\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u0441\u043e \u0441\u043b\u043e\u0432\u0430 Test, \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u0435\u0441\u0442\u0430\u043c\u0438. \u041c\u0430\u043a\u0440\u043e\u0441\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u0430\u043c <i>%UnitTest.TestCase<\/i>, \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 <a href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=TUNT_PrimaryClasses\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<p>  \u0422\u0435\u0441\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 <i>##class(%UnitTest.Manager).RunTest(subdir, spec)<\/i>. \u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u0438\u0437 \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0438 <i>subdir<\/i> \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u043d \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u0435 <i>^UnitTestRoot<\/i>. Spec \u2014 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043b\u0430\u0441\u0441\u044b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f. \u041c\u044b \u044d\u0442\u043e\u0433\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u0432\u0442\u043e\u0440\u044b\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u043a RunTest \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 \u043a\u043b\u044e\u0447\u043e\u043c \u00ab<i>\/nodelete<\/i>\u00bb.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043f\u0430\u043f\u043a\u0443 <i>c:\\unittests\\habr<\/i> \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0432 \u043d\u0435\u0451 \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441 \u0441 \u0442\u0435\u0441\u0442\u043e\u043c (\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043f\u0430\u043f\u043a\u0443 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e \u0438 \u0447\u0442\u043e \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0443 \u043b\u0443\u0447\u0448\u0435 \u0431\u044b \u0431\u044b\u043b\u043e \u043d\u0430\u0437\u0432\u0430\u0442\u044c tutorial, \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044f \u043f\u0430\u043a\u0435\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c; \u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c, \u044f \u043d\u0430\u0437\u0432\u0430\u043b \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0443 habr). \u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0442\u0435\u0441\u0442 \u0432 \u044d\u0442\u0443 \u043f\u0430\u043f\u043a\u0443 (\u044f \u043d\u0430\u0437\u0432\u0430\u043b \u0444\u0430\u0439\u043b <i>tutorial.test.person.xml<\/i>) \u0438 \u0432\u043f\u0435\u0440\u0451\u0434 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b!<\/p>\n<pre><code>USER&gt;set ^UnitTestRoot=&quot;c:\\UnitTests&quot;   USER&gt;do ##class(%UnitTest.Manager).RunTest(&quot;habr&quot;,&quot;\/nodelete\/noload&quot;)   ================================================================== Directory: C:\\UnitTests\\habr\\ ==================================================================   habr begins ... \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0432\u0448\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 07\/26\/2015 00:59:23 '*.xml;*.XML'   \u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u0444\u0430\u0439\u043b C:\\UnitTests\\habr\\tutorial.test.person.xml \u0432 xml \u0412\u044b\u0432\u043e\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e.       Tutorial.Test.Person begins ...       TestNewPerson() begins ... LogStateStatus:0:TestNewPerson:\u041e\u0428\u0418\u0411\u041a\u0410 #5002: \u041e\u0448\u0438\u0431\u043a\u0430: &lt;CLASS DOES NOT EXIST&gt;zTestNewPerson+4^Tutorial.Test.Person.1 *Tutorial.Person  &lt;&lt;==== **FAILED** habr:Tutorial.Test.Person:TestNewPerson:       TestNewPerson failed     Tutorial.Test.Person failed   Skipping deleting classes   habr failed   Use the following URL to view the result: http:\/\/192.168.1.6:57772\/csp\/sys\/%25UnitTest.Portal.Indices.cls?Index=2&$NAMESPACE=USER Some tests FAILED in suites:   habr <\/code><\/pre>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u044f \u0443\u043a\u0430\u0437\u0430\u043b \u0434\u0432\u0430 \u043a\u043b\u044e\u0447\u0430 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 RunTest: <i>\/nodelete<\/i> \u2014 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u043a\u043b\u0430\u0441\u0441 \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430, <i>\/noload<\/i> \u2014 \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438 \u043d\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c \u043a\u043b\u0430\u0441\u0441.<\/p>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u043d\u0430\u0448 \u0442\u0435\u0441\u0442 \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043b\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439. \u0412 \u043a\u043e\u043d\u0446\u0435 \u0432\u044b\u0432\u043e\u0434\u0430 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u043d URL \u0434\u043b\u044f \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 \u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u044d\u0442\u043e\u0442 URL \u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <i>\/csp\/sys<\/i>, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u043d\u0443\u0436\u043d\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432 \u041f\u043e\u0440\u0442\u0430\u043b\u0435 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043c\u0435\u043d\u0438\u0442\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u043d\u0430 USER \u0438 \u043f\u043e\u0442\u043e\u043c \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u0442\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c <i>\u041e\u0431\u043e\u0437\u0440\u0435\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b &gt; \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b &gt; \u041f\u043e\u0440\u0442\u0430\u043b UnitTest<\/i>, \u0442\u043e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0443 Forbidden \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 URL:<\/p>\n<pre><code>http:\/\/&lt;yourhost&gt;:&lt;yourport&gt;\/csp\/user\/%25UnitTest.Portal.Home.zen?$NAMESPACE=USER<\/code><\/pre>\n<p>  \u042d\u0442\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u044b\u0437\u0432\u0430\u043d\u0430 \u0442\u0435\u043c, \u0447\u0442\u043e \u0432 Cach\u00e9 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c (\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043d\u044b\u043c) \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u043c \u0438\u0437 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u043d\u0430 \/csp\/sys. \u0427\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0445\u0441\u044f \u043a \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0430\u043c \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 USER, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 %SYS:<\/p>\n<pre><code>%SYS&gt;Set ^SYS(&quot;Security&quot;,&quot;CSP&quot;,&quot;AllowPrefix&quot;,&quot;\/csp\/user\/&quot;,&quot;%UnitTest.&quot;)=1 <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043d\u043e\u0433\u043e, \u044f \u0441\u043e\u0437\u0434\u0430\u044e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0441 \u043c\u0435\u0442\u043e\u0434\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0432\u0441\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 RunTest:<\/p>\n<blockquote><p><font color=\"#000080\">Class&nbsp;Tutorial.Test.All&nbsp;<\/font><font color=\"#000000\">[&nbsp;<\/font><font color=\"#000080\">Abstract&nbsp;<\/font><font color=\"#000000\">]<br \/>  {<br \/>  <\/font><font color=\"#000080\">ClassMethod&nbsp;<\/font><font color=\"#000000\">runall()<br \/>  {<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;$system<\/font><font color=\"#008080\">.OBJ<\/font><font color=\"#000000\">.<\/font><font color=\"#0000ff\">Export<\/font><font color=\"#000000\">(<\/font><font color=\"#008000\">&quot;Tutorial.Test.Person.cls&quot;<\/font><font color=\"#000000\">,&nbsp;^UnitTestRoot_<\/font><font color=\"#008000\">&quot;\\habr\\&quot;<\/font><font color=\"#000000\">_<\/font><font color=\"#008000\">&quot;tutorial.test.person.xml&quot;<\/font><font color=\"#000000\">)<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#008000\">; \u0437\u0434\u0435\u0441\u044c&nbsp;\u043c\u043e\u0436\u043d\u043e&nbsp;\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c&nbsp;\u044d\u043a\u0441\u043f\u043e\u0440\u0442&nbsp;\u043d\u043e\u0432\u044b\u0445&nbsp;\u043a\u043b\u0430\u0441\u0441\u043e\u0432&nbsp;\u0441&nbsp;\u0442\u0435\u0441\u0442\u0430\u043c\u0438.<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<br \/>  &nbsp;&nbsp;&nbsp;&nbsp;<\/font><font color=\"#0000ff\">do&nbsp;<\/font><font color=\"#000080\">##class<\/font><font color=\"#000000\">(<\/font><font color=\"#008080\">%UnitTest.Manager<\/font><font color=\"#000000\">).<\/font><font color=\"#0000ff\">RunTest<\/font><font color=\"#000000\">(<\/font><font color=\"#008000\">&quot;habr&quot;<\/font><font color=\"#000000\">,<\/font><font color=\"#008000\">&quot;\/nodelete\/noload&quot;<\/font><font color=\"#000000\">)<br \/>  }<br \/>  }<\/font><\/p><\/blockquote>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u0447\u0442\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c, \u044d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 <i>Tutorial.Person<\/i> \u0438 \u043c\u0435\u0442\u043e\u0434 <i>AddPerson<\/i>, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0434\u043e\u043b\u0433\u043e\u0436\u0434\u0430\u043d\u043d\u043e\u0435 \u00ab<i>ALL PASSED<\/i>\u00bb:<\/p>\n<pre><code>USER&gt;do ##class(Tutorial.Test.All).runall()   \u042d\u043a\u0441\u043f\u043e\u0440\u0442  \u0432 XML \u043d\u0430\u0447\u0430\u043b\u0441\u044f \u0432 07\/26\/2015 01:25:12 \u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 \u043a\u043b\u0430\u0441\u0441: Tutorial.Test.Person \u042d\u043a\u0441\u043f\u043e\u0440\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d.   ================================================================== Directory: C:\\UnitTests\\habr\\ ==================================================================   habr begins ... \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442\u044c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0432\u0448\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 07\/26\/2015 01:25:12 '*.xml;*.XML'   \u0412\u044b\u0432\u0435\u0441\u0442\u0438 \u0444\u0430\u0439\u043b C:\\UnitTests\\habr\\tutorial.test.person.xml \u0432 xml \u0412\u044b\u0432\u043e\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e.       Tutorial.Test.Person begins ...       TestNewPerson() begins ...         AssertStatusOK:ec (passed)         AssertTrue:$IsObject(p) (passed)         AssertEquals:p.Surname== surname (passed)         AssertEquals:p.Name== name (passed)         AssertEquals:p.Job== job (passed)         LogMessage:Duration of execution: .000503 sec.       TestNewPerson passed     Tutorial.Test.Person passed   Skipping deleting classes   habr passed   Use the following URL to view the result: http:\/\/192.168.1.6:57772\/csp\/sys\/%25UnitTest.Portal.Indices.cls?Index=7&$NAMESPACE=USER All PASSED <\/code><\/pre>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043f\u044b\u0442\u043b\u0438\u0432\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c (\u043f\u0440\u0438\u0432\u0435\u0442,  <a href=\"http:\/\/habrahabr.ru\/users\/tsafin\/\" class=\"user_link\">tsafin<\/a>) \u0432\u043e\u0437\u043c\u0443\u0442\u0438\u0442\u0441\u044f: \u00ab<i>\u0417\u0430\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0442\u0435\u0441\u0442?! \u041d\u0435\u043b\u044c\u0437\u044f \u043b\u0438 \u043a\u0430\u043a-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u043f\u0440\u043e\u0449\u0435?<\/i>\u00bb. \u041a\u043e\u043d\u0435\u0447\u043d\u043e <s>\u043d\u0435\u043b\u044c\u0437\u044f<\/s> \u043c\u043e\u0436\u043d\u043e! \u041d\u043e \u043d\u0435 \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0449\u0435. \u0415\u0441\u043b\u0438 \u043f\u0430\u043f\u043a\u0430 c:\\UnitTests\\habr \u0435\u0441\u0442\u044c \u0438 \u0432 ^UnitTestRoot \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d \u043f\u0443\u0442\u044c \u00abc:\\UnitTests\u00bb, \u0442\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0432\u0437\u044f\u0442\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0441 \u0442\u0435\u0441\u0442\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e (\u0431\u0435\u0437 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0438) \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code>do ##class(%UnitTest.Manager).DebugRunTestCase(&quot;habr&quot;,&quot;Tutorial.Test.Person&quot;) <\/code><\/pre>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435, Cach\u00e9 \u2014 \u044d\u0442\u043e \u0421\u0423\u0411\u0414. \u0412\u0441\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u043e\u0432 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044e\u0442\u0441\u044f \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f SQL-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u043e\u043a\u043d\u043e \u041f\u043e\u0440\u0442\u0430\u043b\u0430 \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0430 SQL. \u041f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0433\u0430\u043b\u043e\u0447\u043a\u0443 \u0440\u044f\u0434\u043e\u043c \u0441\u043e \u0441\u043b\u043e\u0432\u043e\u043c \u0421\u0438\u0441\u0442\u0435\u043c\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b. \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0441\u0445\u0435\u043c\u0443 %UnitTest_Result. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u0441\u0442\u043e\u043b\u0431\u0446\u0435 Duration \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0442\u0430\u0431\u043b\u0438\u0446 \u044d\u0442\u043e\u0439 \u0441\u0445\u0435\u043c\u044b \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 (\u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0435\u0441\u0442\u0430). \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u044f \u0442\u0435\u0441\u0442\u044b \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0442\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043d\u0435 \u043f\u0430\u0434\u0430\u043b\u0438, \u043d\u043e \u0438 \u0447\u0442\u043e\u0431\u044b \u0432\u0440\u0435\u043c\u044f \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u043b\u043e\u0441\u044c.<\/p>\n<p>  \u0412 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u0440\u043e\u0439\u0442\u0438 <a href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/docbook\/DocBook.UI.Page.cls?KEY=TUNT\">\u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b<\/a> \u043f\u043e \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0435\u0441\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u043e Cach\u00e9, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"http:\/\/docs.intersystems.com\/cache20152\/csp\/documatic\/%25CSP.Documatic.cls?PAGE=CLASS&amp;LIBRARY=%25SYS&amp;CLASSNAME=%25UnitTest\">\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043f\u0430\u043a\u0435\u0442\u0430 %UnitTest<\/a> \u0432 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432.     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/263677\/\"> http:\/\/habrahabr.ru\/post\/263677\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0411\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u044b \u043b\u044e\u0431\u044f\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0431\u0430\u0433\u0438. \u0428\u0430\u0433\u043e\u043c \u043d\u0430 \u043f\u0443\u0442\u0438 \u043a \u044d\u0442\u043e\u0439 \u043d\u0435\u0441\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0439 \u043c\u0435\u0447\u0442\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432. \u0412 Cach\u00e9, \u043a\u0430\u043a \u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0421\u0423\u0411\u0414, \u0435\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0442\u0435\u0441\u0442\u043e\u0432.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/company\/intersystems\/blog\/263677\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d24\/9e3\/83b\/d249e383b49540798cf8dd0fb2036ee1.jpg\" title=\"\u041d\u0438\u043a\u043e\u043b\u0430\u0439 \u0417\u0430\u0433\u0440\u0435\u043a\u043e\u0432 \u2014 \u0422\u0440\u043e\u0435 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0437\u0430 \u0442\u0440\u0430\u043c\u0431\u043e\u0432\u043a\u043e\u0439\"\/><\/a>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-262444","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/262444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=262444"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/262444\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}