-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lockedDataProps: add csv list option and cleanup tests a little bit
- Loading branch information
Showing
8 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test-harness/wires/test/should_not_throw_exception_on_locked_data_property_empty_array.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
test-harness/wires/test/should_not_throw_exception_on_locked_data_property_empty_string.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test-harness/wires/test/should_throw_exception_on_locked_data_property_array.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
test-harness/wires/test/should_throw_exception_on_locked_data_property_list.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<cfoutput> | ||
<div> | ||
<h1>Should Throw Exception on Locked Property</h1> | ||
<p>When a property is locked with an list, it should throw an exception when trying to set any of the keys in the list.</p> | ||
</div> | ||
</cfoutput> | ||
|
||
<cfscript> | ||
// @startWire | ||
data = { | ||
"lockedPropertyKey": "I AM LOCKED!", | ||
"lockedPropertyKeyTwo": "I AM ALSO LOCKED!", | ||
"lockedPropertyKeyThree": "I AM LOCKED AS WELL!" | ||
}; | ||
locked = "lockedPropertyKeyThree,lockedPropertyKey"; | ||
// @endWire | ||
</cfscript> |
2 changes: 1 addition & 1 deletion
2
test-harness/wires/test/should_throw_exception_on_locked_data_property_string.cfm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters