Skip to content

Commit

Permalink
Add sample data for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
EliJDonahue committed Oct 26, 2016
1 parent c838a79 commit ab56faf
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Data/testData.xml
@@ -0,0 +1,22 @@
<AML>
<Item type="Method" action="add" id="DF3EE005E1CF4AB9BDF4AA7FF3328BE5">
<comments>client method for testing "Run Client Method" action in method editor</comments>
<id keyed_name="test client method action" type="Method">DF3EE005E1CF4AB9BDF4AA7FF3328BE5</id>
<method_code>
var corpTZ = this.newItem("Variable","get");
corpTZ.setProperty("name","CorporateTimeZone");
corpTZ = corpTZ.apply();

if (corpTZ.isError())
return alert(corpTZ.getErrorString());

return corpTZ.getProperty("value","no time zone set");
</method_code>
<method_type>JavaScript</method_type>
<name>test client method action</name>
</Item>
<Item type="Variable" action="add">
<name>CorporateTimeZone</name>
<value>Eastern Standard Time</value>
</Item>
</AML>

0 comments on commit ab56faf

Please sign in to comment.