Colin Kuskie
d756069c43
instrumented to abort tests if the macro does not load
2006-07-29 23:43:13 +00:00
Colin Kuskie
5e7c0faf68
During the rework of the Macro tests to only test the macro procedure
...
instead of the macro processor, all tests which default behavior (no parameters)
were broken.
The next series of test commits will remedy this on all tests. Also during
this time, each test will be augmented to abort the test if the Macro
cannot be loaded.
2006-07-29 23:38:32 +00:00
Colin Kuskie
433521f30f
LoginToggle test
2006-07-29 23:25:07 +00:00
Colin Kuskie
f7b4367205
remote debug of smoke-test setup
2006-07-29 22:28:04 +00:00
Colin Kuskie
e84c58bd66
prototyping conditional tests based on Macro load. There is no sense running the tests if there are syntax errors in the code.
2006-07-29 04:03:17 +00:00
Colin Kuskie
be6fc4b4f9
clean up old macroText statements
2006-07-29 03:50:34 +00:00
Colin Kuskie
84117932af
add a test for the FormParam macro, and clarify in the docs that FormParam returns only the first value from a list
2006-07-29 03:31:59 +00:00
Colin Kuskie
b2d4c36080
add Include macro test and fix Include bug
2006-07-28 16:11:47 +00:00
Colin Kuskie
d9b4b1df06
test for Env macro. It grabs all keys from the env object and makes sure they can be retrieved via the macro. It also tests null, undef and non-existant keys
2006-07-27 18:05:46 +00:00
Colin Kuskie
54d2d687e8
Test for the printable macro. This macro DOES NOT test changing the style, only
...
the text generated by the macro.
2006-07-27 16:35:41 +00:00
Colin Kuskie
e3ae42aa1a
remove dependency on Macro_Config from last tests, and reindent some lines in RootTitle
2006-07-27 16:00:46 +00:00
Colin Kuskie
aa15635fde
Macro_Config code not needed anymore
2006-07-27 16:00:06 +00:00
Colin Kuskie
5c443480ed
incremented number of planned tests since a test was added
2006-07-27 15:58:08 +00:00
Colin Kuskie
89abfdef9d
Use just 1 versionTag for RootTitle. Much cleaner code.
...
Remove old Macro enabling code from PageTitle
2006-07-26 20:28:57 +00:00
Frank Dillon
ebc3db0725
added test for addToDateTime method
2006-07-26 19:24:38 +00:00
Roy Johnson
ce22acea8e
Adding a test
2006-07-26 19:21:04 +00:00
Colin Kuskie
caa58f26f2
finish Setting Macro breakout
2006-07-26 19:09:55 +00:00
Colin Kuskie
6aab9a6eec
Rework all tests to call the Macro's process subroutine directly.
...
Add RootTitle.t test.
Broke up the SettingMacros.t test into individual tests.
2006-07-26 19:02:22 +00:00
Colin Kuskie
927d097375
Fix a parsing bug in WebGUI::Operation::Shared where it would puke if
...
the code it was parsing had spaces after the commas.
Formatting code in EditableToggle.t
2006-07-26 01:23:30 +00:00
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