Commit graph

1446 commits

Author SHA1 Message Date
Colin Kuskie
2eaea55041 Added a basic frequency distribution test. Note that in limited samples of
1000 across 5 bins that the distribution is not even.  The highest and lowest
bin seem to have about half the frequency of the other bins.  This is due to
the use of the round function.  int would make the distribution more even (white)
at the cost of not returning the limiting number.
2006-07-23 06:19:31 +00:00
Colin Kuskie
746ccf43bb test of Splat_random macro 2006-07-23 06:08:35 +00:00
Colin Kuskie
10135118d2 rename FileUrl test 2006-07-23 01:34:47 +00:00
Colin Kuskie
63db4ee2ed finish FileUrl test 2006-07-23 01:34:21 +00:00
Colin Kuskie
8d88e8fcb1 Add a quick comment to Page.t
Add the FileUrl test.  It is under development and won't be renamed until
it's fully working.
2006-07-21 23:33:41 +00:00
JT Smith
012e6ee84a added a test for complex html stripping because it was reportedly not working 2006-07-21 01:56:56 +00:00
Colin Kuskie
ac953d2043 Adding Page macro test. If there complaints about not being able to
access variables from an Asset, the test is very easy to extend to add
new fields or asset types.
The remaining t's have had their URLs lower-cased to be URL compliant.
2006-07-19 22:20:49 +00:00
Colin Kuskie
a147c770f8 put Thumbnail test in place 2006-07-19 05:10:53 +00:00
Colin Kuskie
9da54e56aa finalize Thumbnail test 2006-07-19 05:10:26 +00:00
Colin Kuskie
6e42a6268b early work on Thumbnail macro test 2006-07-18 23:38:40 +00:00
Colin Kuskie
610520e29a spacer macro test 2006-07-17 03:39:19 +00:00
Colin Kuskie
6e818b3eb3 User Macro testing 2006-07-17 03:14:42 +00:00
Colin Kuskie
48e005e8cb add custom template parsing check to EditableToggle 2006-07-17 00:19:31 +00:00
Wouter van Oijen
7d9d8f1b73 Removing diag to clean up smoke test output 2006-07-15 20:38:35 +00:00
Colin Kuskie
8f4dcfe900 fix typos in test comments 2006-07-15 03:17:02 +00:00
Colin Kuskie
dae8c4c22f Fix bug where Admins are not in the Visitor group. Add a test to verify this going forward. 2006-07-15 02:30:53 +00:00
Colin Kuskie
f3a1f0f9f2 GroupText.t: fix number of tests
Session/Id.pm: add a method to validate GUIDs, change s/// to tr/// for efficiency.
Session.pm: change open to use new Id.pm validation method
Scratch.t: Change test from ok to is so that it tells you what the failing ID is.
Id.t: Add validation tests in addition to uniqueness tests.  Fix the uniqueness test so that it works.  Add tests to check the new validation method
2006-07-15 01:54:49 +00:00
Wouter van Oijen
41bdf0e28d Better diagnostics for Whitespace test 2006-07-14 11:13:11 +00:00
Wouter van Oijen
3f9331a774 Removing diag to clean up smoke test output 2006-07-14 10:53:15 +00:00
Wouter van Oijen
2a929b83bd Adding PodChecker.t 2006-07-13 12:28:00 +00:00
Colin Kuskie
e1b7082ac5 clean up all groups in Group.t 2006-07-13 05:29:21 +00:00
Colin Kuskie
3dd45bad6d GroupText macro now returns an error message if group cannot be found. includes test 2006-07-13 05:23:49 +00:00
Colin Kuskie
2555a7d5b4 add tests for bug validation 2006-07-13 04:58:03 +00:00
Colin Kuskie
718ca3eed4 partial test for EditableToggle macro 2006-07-12 05:31:33 +00:00
Colin Kuskie
99937e80c1 new macro tests with interesting features 2006-07-09 04:56:25 +00:00
Colin Kuskie
c8a780b2a4 Leverage H_homeLInk to build a_account macro tests. 2006-07-07 05:00:52 +00:00
Colin Kuskie
54671ed087 WebGUI::HTML test script for filter subroutine 2006-07-06 23:01:54 +00:00
Colin Kuskie
2967681f6d Updated macro test to instantiate a test template using the
new version control/tag API and then
use HTML and text parsers to read the output to see if
the templates were executed correctly.
2006-07-06 22:04:51 +00:00
Colin Kuskie
a3bd26cdd0 tests for H_homeLink macro 2006-07-05 23:36:02 +00:00
Colin Kuskie
5ad0bb3f96 LastModified macro tests 2006-07-05 05:34:40 +00:00
Colin Kuskie
4fff8c5697 simple test for Slash_gatewayUrl macro 2006-07-04 22:00:27 +00:00
Colin Kuskie
2caf5ecdbe simple PageUrl macro test 2006-07-04 21:56:42 +00:00
Colin Kuskie
2df0c6174c simple test of PageTitle macro 2006-07-04 21:52:55 +00:00
Colin Kuskie
bfa089141f basic tests for Hash_userId macro 2006-07-04 21:27:11 +00:00
Colin Kuskie
1804ac8c6e basic tests for Extras macro 2006-07-04 04:39:04 +00:00
Colin Kuskie
553f1e0c4a Add new tests for unused numeric macros and the rownum macro in t/Macro/SQL.t
Document how unused numeric macros are handled in the SQL macro and that rownum
starts counting at 1.
Quote entries in the related section to make detecting spaces in names easier.
2006-07-04 04:14:20 +00:00
Colin Kuskie
122b59019c Fixed a problem with the Macro config inserter.
Added a clause to SQL.t to force it to bail if the macro hasn't
been temporarily added to the config.
2006-07-03 21:37:53 +00:00
Colin Kuskie
2b9efcb217 more SQL macro tests 2006-07-02 23:00:03 +00:00
Colin Kuskie
67dc45be28 add a test for two digit macros in the template 2006-07-02 21:11:56 +00:00
Colin Kuskie
d27b3c24b6 test for examples from SQL macro docs 2006-07-02 02:19:58 +00:00
Colin Kuskie
5ddc168659 Fix a typo in WSClient which prevented it from adding/editing assets.
Make the whitespace test give some context to its failures.
Fix a buglet in the label test.
2006-06-30 20:41:33 +00:00
Colin Kuskie
206a294988 Fix bug where groups were being created with no defaults.
Update Group test to check for default values in groups created
with gid "new" and "".
2006-06-30 05:14:28 +00:00
Colin Kuskie
dd82e87b16 remove old template from template tests 2006-06-27 04:31:35 +00:00
Colin Kuskie
17308e72aa fix problem with test reporting errors on programmatically generated content on body tags 2006-06-26 04:06:02 +00:00
Colin Kuskie
56ec67626d use Test::More::is_deeply instead of custom sub and implement check for simple inheritance in Asset classes 2006-06-15 22:33:36 +00:00
Colin Kuskie
4c39c6759b For lib/*.pm, template variable breakout.
Collaboration template labels need to be rethought
fix t/i18n/label.t to not always check on the name of a variable as an i18n entry,
since the description may hold the actual variable description.
2006-06-07 05:10:08 +00:00
Colin Kuskie
fa4fe985ae fix User.t so that it will tolerate 1 second variances in update times 2006-06-02 18:06:46 +00:00
Colin Kuskie
b4597e50e5 Implement multiple inheritance in Help, allowing variables, fields and related
topics to be inherited from multiple entries.  Operation/Help now also gives
the help hash a default ISA array, to make downstream processing by tests and
documentation compilers easier.
Convert existing Help entries that already used ISA to have an array ref
instead of a singular hash ref.  Also update the Help skeleton to show
the new syntax.
2006-05-31 04:16:40 +00:00
Colin Kuskie
c96cef545c fix a typo and logic error in the label test 2006-05-30 04:38:34 +00:00
Colin Kuskie
7100d1df41 Add a new method called getAllGroupsFor, which recursively returns ALL groups
that a group belongs to.  This is required to properly uncache group settings
for groups with more than 2 levels of hierarchy.

Add 7 tests to verify the working of the new method.

Fix a typo in the POD for Operation/Group.pm
2006-05-26 16:43:47 +00:00