Tcl Source Code

View Ticket
Login
Ticket UUID: 1216074
Title: TIP#208: Finish implementation (chan command)
Type: Bug Version: obsolete: 8.5a4
Submitter: dkf Created on: 2005-06-07 00:03:20
Subsystem: 25. Channel System Assigned To: andreas_kupries
Priority: 6 Severity:
Status: Closed Last Modified: 2009-01-30 18:35:27
Resolution: Fixed Closed By: dkf
    Closed on: 2009-01-30 11:35:27
Description:
More docs
More tests
Implement on non-POSIX (Win only?)
User Comments: dkf added on 2009-01-30 18:35:27:

allow_comments - 1

There are now two examples that demonstrate various subcommands. Should be good enough for now.

dkf added on 2007-11-15 03:15:17:
Logged In: YES 
user_id=79902
Originator: YES

Remember with examples: they don't need to be complete. It's enough to just tantalize and hint what you can do with the commands documented. :-)

andreas_kupries added on 2007-11-15 02:54:36:
Logged In: YES 
user_id=75003
Originator: NO

The file chanio.test has been committed now.
Nothing done for examples yet.

andreas_kupries added on 2007-11-07 01:34:23:

File Added - 253103: chanio.test.gz

Logged In: YES 
user_id=75003
Originator: NO

Attached a chanio.test. This is basically 'io.test' with all suitable commnds rewritten to their 'chan' form.

File Added: chanio.test.gz

andreas_kupries added on 2007-11-06 03:55:09:
Logged In: YES 
user_id=75003
Originator: NO

#208, that is the general 'chan' ensemble command for the various channel ops.
One test of functional behavior ? Which ? Where ?

I find lots in iocmd.test for 'chan postevent', 'chane create', i.e. the #219 reflection, and also some in chan.test ... Ok, the latter seems to be mostly 'chan pending' (#287) and syntax error conditions.

I guess that for testing we could in general copy the tests from io.test to chan.test and then modify them for the new 'chan' syntax, right?
Regarding more examples, it seems that we would have to copy the examples of the old channel commands and add them to chan.n. Sufficient ?

dkf added on 2005-09-01 21:31:29:
Logged In: YES 
user_id=79902

No, this bug is a reminder to write *more* docs (e.g.
examples) and *more* tests (we've only got one test of
functional behaviour right now)

andreas_kupries added on 2005-08-30 04:41:18:
Logged In: YES 
user_id=75003

As far as I can see this has been implemented by JeffH for
Unix as well, including docs and tests.

dkf added on 2005-06-08 04:58:29:
Logged In: YES 
user_id=79902

Implemented on Win

Attachments: