Colin Kuskie
f1159269a0
Macro Tests: refactored all macro tests to remove a very evil hack
...
for inserting macros into the config. The new method is much cleaner
and uses the Config API.
Updated the docs for the RootTitle macro, both POD and online help.
2006-07-25 20:54:08 +00:00
JT Smith
6766c63731
- Added the arrayRef() method to WebGUI::SQL::ResultSet, which is 12% faster
...
than the array() method.
- Added more tests to the test suite.
2006-07-25 17:58:54 +00:00
Wouter van Oijen
4e2e5e8c78
fix: Splat_random Macro not so random
2006-07-24 20:27:29 +00:00
Colin Kuskie
f83c0fa957
remove debugging output
2006-07-24 20:00:46 +00:00
Colin Kuskie
654e5751e8
Add tests for GroupDelete and GroupAdd macros.
...
Fix bugs exposed by the tests.
2006-07-24 19:58:50 +00:00
Eric Kennedy
3ebd2ef625
Revised WebGUI::HTML::filter "all" so that text does not run together when tags are removed. Added additional tests to HTML.t.
2006-07-24 17:31:57 +00:00
Colin Kuskie
63972bab6d
GroupAdd macro test. This is just the bare beginnings of the test, it will be rounded out over the next several days
2006-07-24 05:09:26 +00:00
Colin Kuskie
0be1193574
adding test for id returned from calling find with a non-existant group name
2006-07-24 05:03:28 +00:00
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