Welcome, Guest
Username: Password:
  • Page:
  • 1

TOPIC:

A problem of library management 04 Nov 2002 13:23 #6258


Original Message
From: Syntax [This email address is being protected from spambots. You need JavaScript enabled to view it.]
Sent: 31 October 2002 07:56
To: Editor
Subject: A problem of library management


I'm a TTCN-3 tool developer in huawei.

We found that there is no limitation of the relationship between a
file's name and it's module's name.

If user import from a module by module name, how can we find the file
contains the proper module? Search it from each TTCN-3 source file
allover the world?

I think the standard should give some limitation of this. Maybe force
one module one file and the filename must be same as the module file.
Another way is that we allow multi module in one file, but the form of
import statement must be like this:
import from modulename in packagename something.

the packagename is the source file name contains the module we need.

I need your help, thanks.

Please Log in to join the conversation.

A problem of library management 04 Nov 2002 13:41 #6259

Hello all!

Traditionally in TTCN there has been a concept called "Domain of
Interest" and module identifiers have been said to be unique within the
Domain of Interest. In this way there is no need to have a mapping
between module name/identifier and the file name of the TTCN-2/TTCN-3
test specification.

How this "Domain of Interest" is implemented in various tools is a tool
specific implementation detail that gives different tool different
characteristics and features. Somehow different modules are associated
to this "Domain of Interest" and they are found using the module name...

Does the TTCN-3 spec even state that the TTCN-3 code should be in a file
and that the file should have a name... Some tools may use files, some
others objects, etc...

Best regards,
Vesa-Matti

Anthony Wiles wrote:
>
>
>
Original Message
> From: Syntax [This email address is being protected from spambots. You need JavaScript enabled to view it.]
> Sent: 31 October 2002 07:56
> To: Editor
> Subject: A problem of library management
>
> I'm a TTCN-3 tool developer in huawei.
>
> We found that there is no limitation of the relationship between a
> file's name and it's module's name.
>
> If user import from a module by module name, how can we find the file
> contains the proper module? Search it from each TTCN-3 source file
> allover the world?
>
> I think the standard should give some limitation of this. Maybe force
> one module one file and the filename must be same as the module file.
> Another way is that we allow multi module in one file, but the form of
> import statement must be like this:
> import from modulename in packagename something.
>
> the packagename is the source file name contains the module we need.
>
> I need your help, thanks.
>

--
Vesa-Matti Puro
Open Environment Software Oy
Laserkatu 6, FIN-53850 LAPPEENRANTA, Finland
Postal address: P.O. Box 6, FIN-53851 LAPPEENRANTA, Finland
Telephone +358 40 820 4616
E-mail This email address is being protected from spambots. You need JavaScript enabled to view it.
Web www.openttcn.com

Please Log in to join the conversation.

A problem of library management 04 Nov 2002 13:41 #6260

Hi all,
I think this issue has been discussed before in the TTCN-3 community and I'm
not sure that it would be a good idea
to standardize the relation between TTCN-3 specifications and their storage
like the below proposition.

How a tool realizes TTCN-3 import statements in a test suite should be a
tool issue. The module name is given,
how the tool chooses to retrieve its contents really should be hidden from
the user. Remember, the standard does
not even specify that a TTCN-3 module should be stored as a file. It is not
hard to imagine an environment where
the TTCN-3 module is fetched from a database server, so why should the
standard stop anyone from this?

Just my two eurocents
/Johan

Original Message
From: Anthony Wiles [This email address is being protected from spambots. You need JavaScript enabled to view it.]
Sent: den 4 november 2002 14:23
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: FW: A problem of library management





Original Message
From: Syntax [This email address is being protected from spambots. You need JavaScript enabled to view it.]
Sent: 31 October 2002 07:56
To: Editor
Subject: A problem of library management


I'm a TTCN-3 tool developer in huawei.

We found that there is no limitation of the relationship between a file's
name and it's module's name.

If user import from a module by module name, how can we find the file
contains the proper module? Search it from each TTCN-3 source file allover
the world?

I think the standard should give some limitation of this. Maybe force one
module one file and the filename must be same as the module file. Another
way is that we allow multi module in one file, but the form of import
statement must be like this:
import from modulename in packagename something.

the packagename is the source file name contains the module we need.

I need your help, thanks.

Please Log in to join the conversation.

  • Page:
  • 1

FacebookTwitterGoogle BookmarksRedditNewsvineTechnoratiLinkedin