Commit graph

51 commits

Author SHA1 Message Date
briancaruso
876e2d97f1 Adding more unit tests for EditN3Generator. Dealing with literals better 2011-11-18 17:07:52 +00:00
briancaruso
123215e530 Removing debugging output. 2011-11-17 21:53:27 +00:00
briancaruso
012c5dc43b Fixing BaseDumpDirective so it does not attempt do dump methods defined in the java.lang and sun packages 2011-11-17 00:08:37 +00:00
ryounes
80234688a6 Fixes to dump 2011-08-10 16:46:08 +00:00
ryounes
8e53069ec5 NIHVIVO-3113 fix values for null objects in dump 2011-08-09 23:20:42 +00:00
ryounes
da8c374676 NIHVIVO-3119 Skip methods of a map in BaseDumpDirective.getMapDump(). 2011-08-09 16:10:37 +00:00
ryounes
1f9bcac9b1 NIHVIVO-3114 Fix problems with dump of IndividualTemplateModel.qrData() 2011-08-08 22:28:55 +00:00
ryounes
ddd6469a3a NIHVIVO-2508 Change template properties to methods so not pre-computed. 2011-08-05 21:30:36 +00:00
ryounes
43614290c4 NIHVIVO-3087 Improve handling of method invocation in argumentless method dump. Add unit test for this case. 2011-08-05 17:11:45 +00:00
ryounes
5fd6020035 Revert changes from r8901 since caused unit test failure. 2011-08-05 15:21:25 +00:00
ryounes
092f6ed4d8 NIHVIVO-3087 Improve handling of method invocation in argumentless method dump. Add unit test for this case. 2011-08-05 15:08:44 +00:00
ryounes
4229e04a02 NIHVIVO-3087 Add parens to method display name in dump of argumentless method 2011-08-05 14:35:50 +00:00
ryounes
f49460245b NIHVIVO-3087 Display information on object method parameters, values, and return type in dump 2011-08-04 16:07:03 +00:00
ryounes
c356b16807 NIHVIVO-2508 Preparation for exposing some template model methods as methods rather than properties. Also condensed code used to generate editing links for menu management. 2011-08-03 14:55:18 +00:00
ryounes
5dd5fe6c45 Fix bug in dump methods that generated an error on individual page when getting dump value for individual.mostSpecificTypes 2011-08-02 15:47:50 +00:00
ryounes
655d92284c NIHVIVO-1512 ReadOnlyBeansWrapper exposes getters and not setters, though the identification of a setter is only approximated. 2011-07-26 20:21:17 +00:00
ryounes
b73939fc80 NIHVIVO-1512 ReadOnlyBeansWrapper - draft implementation, not yet functioning as desired. Remove a deprecated method. 2011-07-21 16:04:23 +00:00
ryounes
1ef114ff45 NIHVIVO-1562 Add unit tests for TemplateDirectiveModel and TemplateMethodModel help() methods that return something other than the expected type. Delete HelpDirectiveTest since it just replicated method and help directive tests in DumpDirectiveTest, and was a nuisance to maintain. 2011-04-25 14:13:33 +00:00
ryounes
1b9f4bbdce NIHVIVO-1562 Show class of template directive/model in dump. Use LinkedHashMap in help data structure to ensure ordering of the entries. 2011-04-22 22:16:28 +00:00
ryounes
9aa6c17dd9 NIHVIVO-1562 Rename dump template. 2011-04-22 21:24:33 +00:00
ryounes
8c7900f239 NIHVIVO-1562 Remove old dump files 2011-04-22 21:20:11 +00:00
ryounes
0926e5cc30 NIHVIVO-2479 Small improvements to dump output 2011-04-22 20:27:55 +00:00
ryounes
530c7a70f8 NIHVIVO-2479 Continue work on dump templates for values of different types 2011-04-22 16:55:36 +00:00
ryounes
2f884cec25 NIHVIVO-2479 Dump templates 2011-04-21 17:17:28 +00:00
ryounes
d64d45d8e6 NIHVIVO-2470 Restore parameter type checking on DumpDirective and HelpDirective. Handle undefined variables by assigning value = "Undefined." 2011-04-20 21:37:12 +00:00
ryounes
84f779238c NIHVIVO-2470 Initial work on new dump template. Handle undefined variables. 2011-04-20 21:23:38 +00:00
ryounes
c1a7c7a9f5 NIHVIVO-2378 Add HelpDirective to freemarker dump package. Remove DescribeDirective from vitro source. 2011-04-20 18:56:05 +00:00
ryounes
9e847bad59 NIHVIVO-1564 Minor tweak to DumpDirective tests, and comments in BaseDumpDirective. 2011-04-20 15:41:05 +00:00
ryounes
5152f971e7 NIHVIVO-2378 Implement dumpAll directive in freemarker dump package 2011-04-20 14:42:32 +00:00
ryounes
4e4566c55f NIHVIVO-1564 Modify dump data structure so variable name is a map key rather than the value of "name" key: this will work better for dumpAll directive. 2011-04-19 18:46:14 +00:00
ryounes
f7dbdc4889 NIHVIVO-1564 Minor refactoring. Add DumpAll directive. 2011-04-18 22:41:35 +00:00
ryounes
15ed59d494 Revert changes from r7821 - incomplete refactoring 2011-04-18 22:23:09 +00:00
ryounes
4227bfb2ad NIHVIVO-1564 Minor refactoring 2011-04-18 22:11:00 +00:00
ryounes
0cf1da00b8 NIHVIVO-1564 Object dump with different exposure levels 2011-04-18 21:09:17 +00:00
ryounes
6ebb72a09d NIHVIVO-1564 Separate properties and methods in object dump. Reorganize unit tests to share more code. 2011-04-18 20:02:08 +00:00
ryounes
b2b3086ef6 NIHVIVO-1564 Continue work on object dump 2011-04-18 18:38:50 +00:00
ryounes
75377ae10e NIHVIVO-1564 Continue work on object dump 2011-04-18 17:29:25 +00:00
ryounes
eb2995ac12 NIHVIVO-1564 Continue work on object dump 2011-04-15 22:29:29 +00:00
ryounes
6375161d5a NIHVIVO-1564 Add sorting to map keys in dump 2011-04-15 15:52:18 +00:00
ryounes
1d2e1009e5 NIHVIVO-1562 Test for object dump with EXPOSE_NOTHING BeansWrapper 2011-04-12 19:58:02 +00:00
ryounes
f1288b90b5 NIHVIVO-1562 Working on dumping Java objects through method invocation 2011-04-12 19:11:00 +00:00
ryounes
79effb9a6e NIHVIVO-1562 Replace hard-coded strings with enums in dump methods. Rudimentary template for variable dump. 2011-04-11 22:05:36 +00:00
ryounes
9bfa6acbd5 NIHVIVO-1562 Dump of TemplateCollectionModel and TemplateHashModelEx, along with some unit tests. 2011-04-11 15:32:12 +00:00
ryounes
68385d6d84 NIHVIVO-1562 Date dump 2011-04-08 21:23:32 +00:00
ryounes
575ab24ef6 NIHVIVO-1562 Dump for TemplateSequenceModel 2011-04-08 17:23:16 +00:00
ryounes
5bbf6b472b NIHVIVO-1562 Dump for TemplateDirectiveModels and TemplateMethodModels 2011-04-08 16:50:33 +00:00
ryounes
b57acbb87f NIHVIVO-1562 Add initial work on new dump package for freemarker, including unit tests. 2011-04-07 16:15:49 +00:00
rjy7
28b6c4b867 Reverted use of exposureLevel in dump methods, removed in r7599. 2011-03-11 20:06:41 +00:00
rjy7
36e5bc2574 NIHVIVO-1562 Sort properties and methods of template model objects in dump. This commit contains a regression: exposureLevel has been removed, so public methods that are hidden by the BeansWrapper are still included in the dump. Will be corrected in an upcoming commit. 2011-03-10 17:26:57 +00:00
rjy7
733a70faf4 NIHVIVO-1564 Improvements to dump methods 2011-02-24 15:46:12 +00:00