Skip to content

Commit

Permalink
Tests for short targets in inbound expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Aug 25, 2017
1 parent f43142c commit ce0d39c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Expand Up @@ -423,6 +423,9 @@ public void test210ModifyAccountOrangeQuoteMonkey() throws Exception {
assertAssignments(userAfter, 1);
assertLinks(userAfter, 2);

// Second inbound expression should work here
PrismAsserts.assertPropertyValue(userAfter, getExtensionPath(PIRACY_TALES), "Look behind you, a Three-Headed Monkey!");

DummyAccount dummyAccount = assertDummyAccount(RESOURCE_DUMMY_ORANGE_NAME, USER_GUYBRUSH_USERNAME, USER_GUYBRUSH_FULL_NAME, true);
display("Orange account", dummyAccount);

Expand Down Expand Up @@ -471,6 +474,9 @@ public void test211ModifyAccountOrangeQuotePirate() throws Exception {
assertAssignments(userAfter, 1);
assertLinks(userAfter, 2);

// Second inbound expression should work here
PrismAsserts.assertPropertyValue(userAfter, getExtensionPath(PIRACY_TALES), "I wanna be a pirrrrrrate!");

DummyAccount dummyAccount = assertDummyAccount(RESOURCE_DUMMY_ORANGE_NAME, USER_GUYBRUSH_USERNAME, USER_GUYBRUSH_FULL_NAME, true);
display("Orange account", dummyAccount);

Expand Down
Expand Up @@ -170,6 +170,11 @@
</expression>
<target>
<path>description</path>
</target>
</inbound>
<inbound>
<target>
<path>extension/tales</path>
</target>
</inbound>
</attribute>
Expand Down

0 comments on commit ce0d39c

Please sign in to comment.