JPH0553870A - System for testing interface between tasks - Google Patents

System for testing interface between tasks

Info

Publication number
JPH0553870A
JPH0553870A JP3213882A JP21388291A JPH0553870A JP H0553870 A JPH0553870 A JP H0553870A JP 3213882 A JP3213882 A JP 3213882A JP 21388291 A JP21388291 A JP 21388291A JP H0553870 A JPH0553870 A JP H0553870A
Authority
JP
Japan
Prior art keywords
message
task
test
tasks
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3213882A
Other languages
Japanese (ja)
Other versions
JP2915640B2 (en
Inventor
Ihei Kajitani
伊平 梶谷
Masataka Akagi
雅孝 赤木
Hisashi Matsumura
久司 松村
Hiroshi Sekino
浩 関野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd, Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP3213882A priority Critical patent/JP2915640B2/en
Publication of JPH0553870A publication Critical patent/JPH0553870A/en
Application granted granted Critical
Publication of JP2915640B2 publication Critical patent/JP2915640B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessitate the preparation of a driver task and a stub task by adding a function to forcedly transfer a message transmitted from a certain task to any task excepting for an addressed task. CONSTITUTION:A transferring means 101 transfers the message transmitted from one task 104 to be tested to another task 106 to be tested to a test task executing means 108. At the test task executing means 108, a message analysis part 110 analyzes the received message and it is judged whether the contents of the message are correct or not. When the contents of the message are not correct, an abnormal message recording part 111 records the abnormality of the message contents and when the contents of the message are correct, the message is transmitted from a message retransmission part 112 to the tasks 104 and 106 again. Therefore, an interface between the tasks 104 and 106 can be tested, an actual real-time test is enabled and by transferring the message, it is not necessary to prepare the driver task and the stub task.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マルチタスクシステム
におけるタスク間通信のテストシステムに関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test system for intertask communication in a multitask system.

【0002】[0002]

【従来の技術】従来の方式では、タスクが擬似的に動作
するようなドライバタスクやスタブタスクを作成し、こ
れらのドライバタスクおよびスタブタスクによってテス
ト環境の設定およびタスク間インタフェ−スのテストを
行っている。
2. Description of the Related Art In the conventional method, a driver task or a stub task is created so that the task operates in a pseudo manner, and the driver environment and the stub task are used to set the test environment and test the intertask interface. ing.

【0003】これに関するものに、特開平2−2572
27号公報に記載のプログラムの単体テストの支援シス
テムがある。
Regarding this, Japanese Patent Laid-Open No. 2572/1990
There is a unit test support system of the program described in Japanese Patent No. 27.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術において
は、タスク間インタフェ−スのテストを行う場合、その
インタフェ−スに着目したドライバタスクおよびスタブ
タスクを作成する。作成したドライバタスクおよびスタ
ブタスクによってテスト環境の設定およびタスク間イン
タフェ−スのテストを行っている。
In the above-mentioned prior art, when testing the inter-task interface, a driver task and a stub task focusing on the interface are created. The created driver task and stub task are used to set the test environment and test the inter-task interface.

【0005】そのためテスト毎にドライバタスクおよび
スタブタスクの作成が必要不可欠となり、ドライバタス
クおよびスタブタスクの作成中にミスが発生する場合が
ある。
Therefore, it is necessary to create a driver task and a stub task for each test, and a mistake may occur during the creation of the driver task and the stub task.

【0006】また、被テストタスクと被テストタスクと
の間でタスク間インタフェ−スの確認を行うための、複
数のタスクを接続したテストを行うことは非常に困難で
あり、実際の実時間テストを行うことができない。
Further, it is very difficult to perform a test in which a plurality of tasks are connected in order to confirm the inter-task interface between the task under test and the task under test. Can't do.

【0007】本発明の目的は、ドライバタスクおよびス
タブタスクの作成を不必要にし、また、被テストタスク
と被テストタスクの間でタスク間インタフェ−スのテス
トを容易に行えるテストシステムを提供することにあ
る。
It is an object of the present invention to provide a test system which makes it unnecessary to create driver tasks and stub tasks, and can easily test an intertask interface between tested tasks. It is in.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、複数のタスクのタスク間のインタフェ−ステストを
行うテストタスク実行手段と、一つのタスクが他のタス
クに送信するメッセ−ジをテストタスク実行手段に振り
替える振り替え手段とを有し、上記テストタスク実行手
段は、メッセ−ジの内容が正しいか異常かを判断するメ
ッセ−ジ解析部と、解析結果からの異常メッセ−ジを記
録しておく異常メッセ−ジ記録部とを備えることができ
る。
In order to achieve the above-mentioned object, a test task executing means for performing an interface test between a plurality of tasks and a message sent by one task to another task are tested. The test task executing means has a transferring means for transferring to the task executing means, and the test task executing means records a message analyzing section for judging whether the content of the message is correct or abnormal, and an abnormal message from the analysis result. An abnormal message recording unit may be provided.

【0009】さらに、上記テストタスク実行手段は、メ
ッセ−ジ解析後にタスクにメッセ−ジを再送するメッセ
−ジ再送信部を備えてもよい。
Further, the test task executing means may include a message re-sending unit for re-sending the message to the task after the message is analyzed.

【0010】上記振り替え手段はタスク間通信を制御す
るタスクスケジュ−ラ内部に有することができる。ま
た、特定のメッセ−ジのみを振り替えるようにするメッ
セ−ジ振り替えモ−ド記憶部をさらに有することができ
る。
The above-mentioned transfer means can be provided inside a task scheduler for controlling communication between tasks. Further, a message transfer mode storage unit for transferring only a specific message can be further provided.

【0011】さらに、メッセ−ジ振り替えの指示などを
行う入力手段と、異常メッセ−ジの表示やテスト状態の
表示をする表示手段を設けることができる。
Further, it is possible to provide an input means for instructing message transfer and the like, and a display means for displaying an abnormal message or a test status.

【0012】[0012]

【作用】振り替え手段において、一つのタスクが他のタ
スクに送信するメッセ−ジをテストタスク実行手段に振
り替える。テストタスク実行手段は、受け取ったメッセ
−ジをメッセ−ジ解析部で、解析しメッセ−ジ内容が正
しいか異常かを判定する。メッセ−ジ内容が正しくない
場合はメッセ−ジ内容の異常の記録を異常メッセ−ジ記
録部において記録する。メッセ−ジ内容が正しい場合
は、メッセ−ジ再送信部からタスクにメッセ−ジを再送
する。
In the transfer means, the message sent from one task to another task is transferred to the test task execution means. The test task executing means analyzes the received message in the message analysis section and determines whether the message content is correct or abnormal. If the content of the message is incorrect, a record of the abnormality in the content of the message is recorded in the abnormality message recording section. If the content of the message is correct, the message retransmitting unit retransmits the message to the task.

【0013】[0013]

【実施例】本発明の実施例について図面を用いて説明す
る。
Embodiments of the present invention will be described with reference to the drawings.

【0014】図1は本発明によるタスク間インタフェ−
ステストシステムの構成を示すブロック図、図2はタス
ク間通信制御部の流れ図、図3はテストタスクの流れ図
を示している。
FIG. 1 shows an intertask interface according to the present invention.
2 is a block diagram showing the configuration of the test system, FIG. 2 is a flow chart of the inter-task communication control unit, and FIG. 3 is a flow chart of the test task.

【0015】図1において、タスク間インタフェ−ステ
ストシステムはタスクスケジュ−ラ101、被テストタ
スク104、被テストタスク106およびテストタスク
108から構成されている。被テストタスク104およ
び被テストタスク106は、複数あるタスクのうちの1
つであり、両者は相互に接続してタスクを処理し、被テ
ストタスク104内部のメッセ−ジ送信部105から被
テストタスク106内部のメッセ−ジ受信部107に1
または2以上のメッセ−ジを送る。それぞれのタスクは
共通のプロセッサにより実行される。また、タスクごと
にプロセッサを持つようなマルチプロセッサ環境で動作
してもよい。ここではテスト対象のタスクを被テストタ
スクといい、実際に解析するタスクをテストタスクとい
う。タスク間で送受信されるそれぞれのメッセ−ジには
管理用のID番号が付されている。タスクスケジュ−ラ
101は、被テストタスク104と被テストタスク10
6との間に接続され、両者の間で送受信するメッセージ
をタスク間通信制御部102により監視し、振り替えテ
ストモ−ドである場合には振り替え対象メッセ−ジをテ
ストタスク108に振り替えている。すなわち、タスク
より送信されたメッセ−ジを強制的に他のタスクへ振り
替える機能をタスクスケジュ−ラに付加している。タス
ク間通信制御部102は、図1では、タスクスケジュ−
ラ101内部に示すが、外部に単体でタスクを振り替え
手段を有したものであればよい。また、メッセ−ジ振り
替えモ−ド記憶部103には、被テストタスク104と
被テストタスク106との間で送受信するメッセージの
うちテストしたいメッセージをあらかじめ登録しておき
記憶している。
In FIG. 1, the inter-task interface test system comprises a task scheduler 101, a tested task 104, a tested task 106 and a test task 108. The task under test 104 and the task under test 106 are one of a plurality of tasks.
Both of them are connected to each other to process a task, and one message is sent from the message sending section 105 inside the task under test 104 to the message receiving section 107 inside the task under test 106.
Or send two or more messages. Each task is executed by a common processor. Further, it may operate in a multiprocessor environment in which a processor is provided for each task. Here, the task to be tested is called the tested task, and the task that is actually analyzed is called the test task. An ID number for management is attached to each message transmitted and received between tasks. The task scheduler 101 includes the task under test 104 and the task under test 10
6, the message transmitted and received between the two is monitored by the inter-task communication control unit 102, and when the transfer test mode is selected, the transfer target message is transferred to the test task 108. That is, the task scheduler has a function of forcibly transferring the message sent from the task to another task. The inter-task communication control unit 102 in FIG.
Although it is shown inside the printer 101, it may be any one that has a task transfer means by itself outside. Further, in the message transfer mode storage unit 103, of the messages transmitted and received between the task under test 104 and the task under test 106, the message to be tested is registered and stored in advance.

【0016】テストタスク108の内部は、メッセ−ジ
振り替えモ−ド指示部109と、メッセ−ジ解析部11
0と、異常メッセ−ジ記録部111と、メッセ−ジ再送
信部112とからなり、テストタスク実行手段を構成し
ている。テストタスク108およびタスクスケジュ−ラ
101を実行するプロセッサは上記被テストタスクと同
一でもよいし、別のプロセッサでもよい。
The inside of the test task 108 is a message transfer mode instructing section 109 and a message analyzing section 11
0, an abnormal message recording unit 111, and a message retransmitting unit 112, which constitute a test task executing means. The processor that executes the test task 108 and the task scheduler 101 may be the same as the above-described task under test or a different processor.

【0017】テストタスク108の内部において、メッ
セ−ジ振り替えモ−ド指示部109は、タスクスケジュ
−ラ101に対してタスク間通信を強制的に振り替えテ
ストモ−ドにするための指示と、振り替え対象のメッセ
−ジの指示とを送出する。また、タスク間通信を強制的
には振り替えないモ−ドとタスク間通信を強制的に振り
替えるテストモ−ドを動作中に変更することもできる。
振り替え対象のメッセ−ジは、メッセ−ジに付されてい
るID番号により識別する。メッセ−ジ解析部110で
は、タスク間通信制御部102から振り替えられたメッ
セ−ジの内容と、あらかじめ入力しておいた正しいメッ
セ−ジとを比較することによりメッセ−ジの内容が正し
いかを解析し、誤りを検出した場合には、メッセ−ジ内
容に誤りがあったことを通知する。異常メッセ−ジ記録
部111では、メッセ−ジ解析部110からの通知され
た異常メッセ−ジの事象を記録しておく。メッセ−ジ再
送信部112では、タスク間通信制御部102によって
振り替えられたメッセ−ジを被テストタスク106のメ
ッセ−ジ受信部107に再送する。
Inside the test task 108, a message transfer mode instructing section 109 instructs the task scheduler 101 to forcibly switch inter-task communication to the transfer test mode and the transfer target. And the instruction of the message. It is also possible to change a mode in which communication between tasks is not forcibly transferred and a test mode in which communication between tasks is forcibly transferred during operation.
The message to be transferred is identified by the ID number attached to the message. The message analysis unit 110 compares the content of the message transferred from the inter-task communication control unit 102 with the correct message input in advance to check whether the content of the message is correct. When an error is detected by analysis, it is notified that the message content has an error. The abnormal message recording unit 111 records the event of the abnormal message notified from the message analysis unit 110. The message retransmitting unit 112 retransmits the message transferred by the inter-task communication control unit 102 to the message receiving unit 107 of the task under test 106.

【0018】また、テストタスク108には、キ−ボ−
ドなどの入力手段113と、異常メッセ−ジを表示した
り、テスト状態を表示したりするディスプレイやプリン
タ−などの表示手段114が接続している。入力手段1
13から振り替えテストモ−ドの指示や、振り替え対象
のメッセ−ジに付されているID番号を指示したり、正
しいメッセ−ジを入力することができる。
Further, the test task 108 has a keyboard.
The input means 113 such as a printer is connected to the display means 114 such as a display or a printer for displaying an abnormal message or a test status. Input means 1
From 13, the transfer test mode can be instructed, the ID number attached to the message to be transferred can be instructed, and the correct message can be input.

【0019】なお、図1において、被テストタスク10
4にはメッセ−ジ送信部105を、被テストタスク10
6にはメッセ−ジ受信部107を示しているが、両方の
被テストタスクに送信部および受信部の両方を備えるこ
とができ、相互の送受信をテストすることもできる。
In FIG. 1, the task under test 10 is tested.
4 is a message transmission unit 105, and the task under test 10
Although the message receiving unit 107 is shown in 6, it is possible to provide both the transmitting unit and the receiving unit for both tasks under test, and to test mutual transmission and reception.

【0020】つぎに、テストシステムの動作をタスク間
インタフェ−スのテストを行わない場合と行う場合とに
分けて説明する。
Next, the operation of the test system will be described separately for the case where the inter-task interface test is not performed and the case where it is performed.

【0021】まず、タスク間インタフェ−スのテストを
行わない場合は、タスクスケジューラのタスク間通信制
御部102は、被テストタスク104内のメッセ−ジ送
信部105が送信したメッセ−ジを106のメッセ−ジ
受信部107にそのまま送る。
First, when the inter-task interface is not tested, the inter-task communication control section 102 of the task scheduler sets the message sent by the message sending section 105 in the task under test 104 to 106. It is sent to the message receiving unit 107 as it is.

【0022】タスク間インタフェ−スのテストを行う場
合は、まず、事前に被テストタスク104と被テストタ
スク106との間でやり取りされるメッセ−ジのうち、
テストしたいメッセ−ジに付されているID番号を入力
手段113から入力しておき、メッセ−ジ振り替えモ−
ド指示部109から、メッセ−ジ振り替えモ−ド記憶部
103に記録しておく。また、メッセ−ジ解析部110
に、入力手段113から正しいメッセ−ジを入力してお
く。
When testing the task-to-task interface, first of the messages exchanged between the task under test 104 and the task under test 106 in advance,
The ID number attached to the message to be tested is entered from the input means 113 and the message transfer mode is entered.
It is recorded in the message transfer mode storage unit 103 from the command instructing unit 109. Also, the message analysis unit 110
Then, a correct message is input from the input means 113.

【0023】つぎに、オペレ−タが入力手段113から
タスク間通信を強制的に振り替えテストモ−ドに入るこ
とを指示する。指示があるとメッセ−ジ振り替えモ−ド
指示部109が指示を受け付けて、メッセ−ジ振り替え
モ−ド記憶部103を介してタスク間通信制御部102
に対してテストモ−ドに入ることを指示する。このモ−
ドに入った場合、タスク間通信制御部102は、メッセ
−ジ送信部105から送信したメッセ−ジをテストタス
ク108内のメッセ−ジ解析部110に送る。メッセ−
ジ解析部110は、メッセ−ジ送信部105から送信さ
れたメッセ−ジの内容を解析し、メッセ−ジの内容に誤
りを検出した場合、メッセ−ジ内容に誤りがあったこと
を異常メッセ−ジ記録部111に通知する。異常メッセ
−ジ記録部111は通知された事象を記録する。オペレ
ータはこの異常メッセ−ジ記録部111の情報を表示手
段114より知ることができる。また、異常を検出した
場合にテストをその時点で終了するようにするか、異常
メッセ−ジを記録しておいてメッセ−ジ再送信部112
からメッセ−ジを再送して最後までテストを行うかを入
力手段113より指示することもできる。
Next, the operator instructs the input means 113 to forcibly perform the inter-task communication and enter the transfer test mode. When there is an instruction, the message transfer mode instructing unit 109 receives the instruction, and the inter-task communication control unit 102 via the message transferring mode storage unit 103.
Instruct to enter the test mode. This mode
When the task is entered, the inter-task communication control unit 102 sends the message sent from the message sending unit 105 to the message analysis unit 110 in the test task 108. Messe
The message analysis unit 110 analyzes the content of the message transmitted from the message transmission unit 105, and if an error is detected in the content of the message, it is determined that the content of the message has an error. -Notify the recording unit 111. The abnormal message recording unit 111 records the notified event. The operator can know the information of the abnormal message recording unit 111 from the display means 114. Further, when an abnormality is detected, the test is terminated at that point, or an abnormal message is recorded and the message re-sending unit 112 is recorded.
It is also possible to instruct from the input means 113 whether the message is retransmitted and the test is performed to the end.

【0024】また、メッセ−ジ解析部110でメッセ−
ジの内容に誤りを検出しなかった場合は、タスク間通信
制御部102によって振り替えられたメッセ−ジをメッ
セ−ジ再送信部112に送る。もしくは、異常を検出し
てもテストを最後まで行う場合には、異常メッセ−ジ記
録部111に記録をしておいて、メッセ−ジ再送信部1
12にメッセ−ジを送る。この時、送るメッセ−ジは、
異常メッセ−ジをそのまま転送して、被テストタスクの
処理をそのままテストすることもでき、また、正しいメ
ッセ−ジを送ってテストを続行することもできる。メッ
セ−ジ再送信部112はメッセ−ジの本来の宛先である
メッセ−ジ受信部107にメッセ−ジを送信する。
In addition, the message analysis unit 110 displays a message.
When no error is detected in the content of the message, the message transferred by the inter-task communication control unit 102 is sent to the message retransmitting unit 112. Alternatively, if the test is performed to the end even if an abnormality is detected, a record is made in the abnormality message recording unit 111 and the message retransmission unit 1
Send a message to 12. At this time, the message to send is
The abnormal message can be transferred as it is to test the processing of the task under test as it is, or the correct message can be sent to continue the test. The message re-sending unit 112 sends the message to the message receiving unit 107 which is the original destination of the message.

【0025】つぎに、図2を参照してタスク間通信制御
部102の処理フローを詳細に説明する。タスク間通信
制御部102は、被テストタスク104からメッセ−ジ
が送信された場合に起動される。タスク間通信制御部1
02はメッセ−ジ振り替えテストモ−ドか否かを判定す
る(処理201)。メッセ−ジ振り替えテストモ−ドで
ない場合は、被テストタスク106にそのままメッセ−
ジを送る(処理203)。メッセ−ジ振り替えモ−ドの
場合は、メッセ−ジ振り替えモ−ド記憶部103を参照
して、メッセ−ジ振り替え対象か否かの判定を行う(処
理202)。メッセ−ジ振り替え対象でない場合は、被
テストタスク106にメッセ−ジを送り(処理20
3)、メッセ−ジ振り替え対象の場合はテストタスク1
08にメッセ−ジを送る(処理204)。
Next, the processing flow of the inter-task communication control unit 102 will be described in detail with reference to FIG. The inter-task communication control unit 102 is activated when a message is transmitted from the task under test 104. Inter-task communication controller 1
02 determines whether or not it is a message transfer test mode (process 201). If it is not the message transfer test mode, the message is directly sent to the task under test 106.
(Step 203). In the case of the message transfer mode, the message transfer mode storage unit 103 is referred to and it is determined whether or not the message is to be transferred (process 202). If the message is not to be transferred, a message is sent to the task under test 106 (process 20).
3), test task 1 for message transfer target
A message is sent to 08 (process 204).

【0026】つぎに、図3を参照してテストタスク10
8の処理フローを詳細に説明する。図3に示すフロー図
は、異常を検出した時に、テストをその時点で終了する
ようにする場合のフロー図である。
Next, referring to FIG. 3, the test task 10
The processing flow of No. 8 will be described in detail. The flow chart shown in FIG. 3 is a flow chart when the test is terminated at that time when an abnormality is detected.

【0027】タスク間通信制御部102で振り替えられ
たメッセ−ジはテストタスク108に受信される(処理
301)。受信したメッセ−ジをメッセ−ジ解析部11
0で解析し(処理302)、解析の結果メッセ−ジの内
容に誤りを検出し(処理303)、異常があった場合に
はメッセ−ジ内容に誤りがあったことをで異常メッセ−
ジ記録しテストを中止する(処理304)。一方、メッ
セ−ジの内容に誤りを検出しなかった場合は、メッセ−
ジ再送信部112から振り替えられたメッセ−ジを被テ
ストタスク106に送信する(処理305)。テストタ
スク108は一連のタスク間インタフェ−ステストが終
了したかを判断し(処理306)、終了しことを検出す
るとテストタスクの実行を終了し、終了でなければつぎ
のメッセ−ジを受信する。以後、各メッセ−ジごとに解
析を繰り返す。
The message transferred by the inter-task communication control unit 102 is received by the test task 108 (process 301). The received message is analyzed by the message analysis unit 11
0 is analyzed (process 302), an error is detected in the content of the message as a result of the analysis (process 303), and if there is an error, it means that there is an error in the message content
Data is recorded and the test is stopped (process 304). On the other hand, if no error is detected in the content of the message, the message
The retransmitted message is transmitted from the message retransmitting unit 112 to the task under test 106 (process 305). The test task 108 judges whether or not a series of inter-task interface tests have ended (step 306). If it is detected that the inter-task interface test has ended, execution of the test task is ended. After that, the analysis is repeated for each message.

【0028】上記に示した実施例により、タスク間のイ
ンタフェ−スのテストを行うことができ、実際の実時間
テストを行うことができる。また、メッセ−ジを振り替
えることにより、従来のように、ドライバタスクや、ス
タブタスクを作成する必要がなくなり、テストタスクの
作成量が少なくなる。
With the above-described embodiment, the interface between tasks can be tested, and the actual real-time test can be performed. Further, by transferring the message, it is not necessary to create a driver task or a stub task as in the conventional case, and the amount of test tasks created is reduced.

【0029】また、テストタスク108のメッセ−ジ解
析部110において擬似的に異常を発生させて、障害の
テストをすることもできる。
It is also possible to test the failure by causing a pseudo abnormality in the message analysis unit 110 of the test task 108.

【0030】なお、上記実施例においては、テストシス
テムとしているが、あらかじめ別の処理装置において、
テストタスクプログラムを作成しておいて、取外しが可
能な磁気記憶媒体やRAMまたはROMなどの記憶手段
にテストタスクを記憶して、被テストタスクを実行する
処理装置の記憶手段に装着して実行することもできる。
これによりテストシステムを実行するハ−ドウェアを設
けずソフトウェアでテストすることができる。
In the above embodiment, the test system is used.
A test task program is created, the test task is stored in a removable storage device such as a magnetic storage medium, RAM, or ROM, and the test task program is loaded into a storage device of a processing device that executes the task under test and executed. You can also
As a result, the test can be performed by software without providing hardware for executing the test system.

【0031】[0031]

【発明の効果】本発明によれば、タスクから送信された
メッセ−ジを強制的に宛先タスク以外へ振り替える機能
を付加する事によりドライバタスクおよびスタブタスク
の作成をする必要がなくなる。また、被テストタスクと
被テストタスクの間でタスク間インタフェ−スのテスト
を行うため、複数のタスクを接続したテストを行うこと
ができる。タスク間インタフェ−スのテストを容易にす
ることができる。
According to the present invention, it is not necessary to create a driver task and a stub task by adding a function of forcibly transferring a message sent from a task to a task other than the destination task. Further, since the inter-task interface is tested between the task under test and the task under test, a test in which a plurality of tasks are connected can be performed. The task-to-task interface can be easily tested.

【図面の簡単な説明】[Brief description of drawings]

【図1】テストシステムの構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of a test system.

【図2】タスク間通信制御部の流れ図。FIG. 2 is a flowchart of an inter-task communication control unit.

【図3】テストタスクの流れ図。FIG. 3 is a flowchart of a test task.

【符号の説明】[Explanation of symbols]

101…タスクスケジュ−ラ、102…タスク間通信制
御部、103…メッセ−ジ振り替えモ−ド記憶部、10
4および106…被テストタスク、105…メッセ−ジ
送信部、107…メッセ−ジ受信部、108…テストタ
スク、109…メッセ−ジ振り替えモ−ド指示部、11
0…メッセ−ジ解析部、111…異常メッセ−ジ記録
部、112…メッセ−ジ再送信部、113…入力手段、
114…表示手段、201〜204…処理、301〜3
06…処理。
101 ... Task scheduler, 102 ... Inter-task communication control unit, 103 ... Message transfer mode storage unit, 10
4 and 106 ... Tested task, 105 ... Message sending section, 107 ... Message receiving section, 108 ... Test task, 109 ... Message transfer mode instructing section, 11
0 ... Message analyzing unit, 111 ... Abnormal message recording unit, 112 ... Message retransmitting unit, 113 ... Input means,
114 ... Display means, 201-204 ... Processing, 301-3
06 ... Processing.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 梶谷 伊平 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウエアエンジニアリング株式会 社内 (72)発明者 赤木 雅孝 神奈川県麻生区王禅寺1099番地 株式会社 日立製作所システム開発研究所内 (72)発明者 松村 久司 神奈川県秦野市堀山下1番地 株式会社日 立製作所神奈川工場内 (72)発明者 関野 浩 神奈川県秦野市堀山下1番地 日立コンピ ユータエンジニアリング株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Ihei Kajitani 6-81 Onoue-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. (72) Inventor Masataka Akagi 1099, Ozenji, Aso-ku, Kanagawa Hitachi, Ltd. (72) Inventor, Koji Matsumura, 1 Horiyamashita, Hadano-shi, Kanagawa, Kanagawa Factory, Hiritsu Manufacturing Co., Ltd. (72) Hiroshi Sekino, 1 Horiyamashita, Hadano-shi, Kanagawa, Hitachi Computer Computer Engineering Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のタスクのタスク間のインタフェ−ス
テストを行うテストタスク実行手段と、一つのタスクが
他のタスクに送信するメッセ−ジをテストタスク実行手
段に振り替える振り替え手段とを有し、 上記テストタスク実行手段は、メッセ−ジの内容が正し
いか異常かを判断するメッセ−ジ解析部と、解析結果か
らの異常メッセ−ジを記録しておく異常メッセ−ジ記録
部とを備えることを特徴とするタスク間インタフェ−ス
テストシステム。
1. A test task executing means for performing an interface test between tasks of a plurality of tasks, and a transferring means for transferring a message sent from one task to another task to the test task executing means. The test task executing means is provided with a message analyzing section for judging whether the content of the message is correct or abnormal, and an abnormal message recording section for recording an abnormal message from the analysis result. An inter-task interface test system characterized by:
JP3213882A 1991-08-26 1991-08-26 Interface test system between tasks Expired - Lifetime JP2915640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3213882A JP2915640B2 (en) 1991-08-26 1991-08-26 Interface test system between tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3213882A JP2915640B2 (en) 1991-08-26 1991-08-26 Interface test system between tasks

Publications (2)

Publication Number Publication Date
JPH0553870A true JPH0553870A (en) 1993-03-05
JP2915640B2 JP2915640B2 (en) 1999-07-05

Family

ID=16646584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3213882A Expired - Lifetime JP2915640B2 (en) 1991-08-26 1991-08-26 Interface test system between tasks

Country Status (1)

Country Link
JP (1) JP2915640B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6027629A (en) * 1994-11-16 2000-02-22 Kabushiki Kaisha Kobe Seiko Sho Vacuum chamber made of aluminum or its alloys, and surface treatment and material for the vacuum chamber
US6444304B1 (en) 1998-10-09 2002-09-03 Kabushiki Kaisha Kobe Seiko Sho (Kobe Steel, Ltd.) Anodic oxide layer and ceramic coating for aluminum alloy excellent in resistance to gas and plasma corrosion
US7005194B2 (en) 2003-01-23 2006-02-28 Kobe Steel, Ltd. Aluminum alloy member superior in corrosion resistance and plasma resistance
US8124240B2 (en) 2005-06-17 2012-02-28 Tohoku University Protective film structure of metal member, metal component employing protective film structure, and equipment for producing semiconductor or flat-plate display employing protective film structure
US8206833B2 (en) 2005-06-17 2012-06-26 Tohoku University Metal oxide film, laminate, metal member and process for producing the same
US8282807B2 (en) 2006-12-28 2012-10-09 National University Corporation Tohoku University Metal member having a metal oxide film and method of manufacturing the same
US8642187B2 (en) 2006-12-28 2014-02-04 National University Corporation Tohoku University Structural member to be used in apparatus for manufacturing semiconductor or flat display, and method for producing the same
JP2014211807A (en) * 2013-04-19 2014-11-13 三菱電機株式会社 Integration device software testing device
US9547581B2 (en) 2013-10-01 2017-01-17 Wipro Limited Systems and methods for fixing software defects in a binary or executable file

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6027629A (en) * 1994-11-16 2000-02-22 Kabushiki Kaisha Kobe Seiko Sho Vacuum chamber made of aluminum or its alloys, and surface treatment and material for the vacuum chamber
US6444304B1 (en) 1998-10-09 2002-09-03 Kabushiki Kaisha Kobe Seiko Sho (Kobe Steel, Ltd.) Anodic oxide layer and ceramic coating for aluminum alloy excellent in resistance to gas and plasma corrosion
US7005194B2 (en) 2003-01-23 2006-02-28 Kobe Steel, Ltd. Aluminum alloy member superior in corrosion resistance and plasma resistance
US8124240B2 (en) 2005-06-17 2012-02-28 Tohoku University Protective film structure of metal member, metal component employing protective film structure, and equipment for producing semiconductor or flat-plate display employing protective film structure
US8206833B2 (en) 2005-06-17 2012-06-26 Tohoku University Metal oxide film, laminate, metal member and process for producing the same
US9476137B2 (en) 2005-06-17 2016-10-25 Tohoku University Metal oxide film, laminate, metal member and process for producing the same
US8282807B2 (en) 2006-12-28 2012-10-09 National University Corporation Tohoku University Metal member having a metal oxide film and method of manufacturing the same
US8642187B2 (en) 2006-12-28 2014-02-04 National University Corporation Tohoku University Structural member to be used in apparatus for manufacturing semiconductor or flat display, and method for producing the same
JP2014211807A (en) * 2013-04-19 2014-11-13 三菱電機株式会社 Integration device software testing device
US9547581B2 (en) 2013-10-01 2017-01-17 Wipro Limited Systems and methods for fixing software defects in a binary or executable file

Also Published As

Publication number Publication date
JP2915640B2 (en) 1999-07-05

Similar Documents

Publication Publication Date Title
US5233611A (en) Automated function testing of application programs
JPH07253956A (en) Computer supervisory system
JP3566975B2 (en) Automatic operation device of computer operation terminal device
JPH0553870A (en) System for testing interface between tasks
KR19990047323A (en) Remote after service control method of personal computer
JP2007213192A (en) Remote console device, remote control method, and remote console program
JPH07282002A (en) Message controller
JPH0784901A (en) Terminal operation reproducing device
JP3672758B2 (en) Debugging support device
KR100301585B1 (en) Operating command performance timeout method of the BSM system
JPH1023107A (en) Communication simulator and communication simulating method
JPH071800A (en) Outputting method for erroneous information of printer
JPH02141835A (en) Test processing system for online system
JP4574105B2 (en) Information processing apparatus, communication system, and program thereof
KR20230114499A (en) Apparatus and method for testing software
Dunning et al. A real-time expert system for computer network monitor and control
JP2001160036A (en) General-purpose system tool for client
JP2006020170A (en) Communication test device
JPH0548678A (en) System for testing system of transmission
KR19990019376A (en) How to improve command input / output in a control device connected to a switching system
JPH1146388A (en) Interface test system for transmission system
JP2000259435A (en) Multioperating system, error information centralizing method and recording medium
JPH0587850B2 (en)
Pereira et al. Remote Diagnosis for Highly Multiplexed Vehicles
JPH0962531A (en) Tested result collating method