Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pcl-expect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
pcl-expect
Commits
1c323a2f
Commit
1c323a2f
authored
20 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Added more test cases. Made the tests less likely to loop forever.
parent
c40e96a7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ChangeLog
+43
-0
43 additions, 0 deletions
ChangeLog
with
43 additions
and
0 deletions
ChangeLog
+
43
−
0
View file @
1c323a2f
2005-03-12 Per Cederqvist <ceder@ingate.com>
Added more test cases. Made the tests less likely to loop
forever.
* test/hello.sh: New file.
* test/tool.sh: New file.
* test/test_spawn.py: Import test.base instead of importing
unittest. Removed top-level code -- use testdriver.py to run the
tests instead.
(TestSpawn): Inherit from test.base.TestCase.
(TestSpawn.test_spawn_sleep_1): Use assertTimeDiff instead of
assertAlmostEqual.
(TestSpawn.test_spawn_sleep_1_compat): Ditto.
(TestSpawn.test_hello_world): New test.
(TestSpawn.test_stderr): New test.
(TestSpawn.test_stderr_2): New test.
* test/test_popen.py: Import test.base instead of importing
unittest. Removed top-level code -- use testdriver.py to run the
tests instead.
(TestPopen): Inherit from test.base.TestCase.
(Timeout): Moved to test/base.py.
(handler): Ditto.
(TestPopen.setUp): Moved to test.base.TestCase.
(TestPopen.tearDown): Ditto.
(TestPopen.test_popen_sleep_1): Use assertTimeDiff instead of
assertAlmostEqual.
(TestPopen.test_popen_sleep_1_compat): Ditto.
(TestPopen.test_read_hello_no_eof_handling): New test.
(TestPopen.test_read_hello_no_eof_handling_no_exception): New
test.
* test/base.py (Timeout): New exception.
(handler): New signal handler.
(TestCase): New class.
(TestCase.setUp): New setup function. Reset the state of
pcl_expect, and set up a SIGALRM timer.
(TestCase.tearDown): Cancel the SIGALRM timer.
(TestCase.progress): Re-arm the SIGALRM timer.
(TestCase.assertTimeDiff): New function.
2005-03-02 Per Cederqvist <ceder@ingate.com>
* test/test_environment.py: New tests.
2005-01-19 Per Cederqvist <ceder@ingate.com>
2005-01-19 Per Cederqvist <ceder@ingate.com>
Added some test cases.
Added some test cases.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment