JPH06238993A - Testing method for display/printer - Google Patents

Testing method for display/printer

Info

Publication number
JPH06238993A
JPH06238993A JP5024599A JP2459993A JPH06238993A JP H06238993 A JPH06238993 A JP H06238993A JP 5024599 A JP5024599 A JP 5024599A JP 2459993 A JP2459993 A JP 2459993A JP H06238993 A JPH06238993 A JP H06238993A
Authority
JP
Japan
Prior art keywords
test
command
test procedure
file
sequence
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.)
Withdrawn
Application number
JP5024599A
Other languages
Japanese (ja)
Inventor
Ikuko Tachibana
育子 橘
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5024599A priority Critical patent/JPH06238993A/en
Publication of JPH06238993A publication Critical patent/JPH06238993A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To enhance an efficiency of analysis at the time of debugging or a fault, for example, in a method for testing a printer. CONSTITUTION:A test program of, for example, a method for testing a printer has a testing procedure forming part for generating a test command file (1) in which its testing procedure is described by a predetermined description language at each testing item and an actual testing procedure column (2) is generated by translating the file (1), and a test controller having a command code converter for converting the generated column (2) to an execution command column, and the column (2) and a test result (4) are output as a pair when the column (2) is converted to the execution command column by the converter. Or, the execution command column is converted to a predetermined code, and output as a pair with the result (4).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、プリンタ装置
のテスト方法に関する。近年のデータ処理の多様化に伴
い、例えば、プリンタ装置の機能も多様化しており、障
害が発生した場合の解析が複雑になってきたことから、
デバッグ, 又は、障害発生時の解析の効率化を図ること
ができるテスト方法が必要とされる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for testing a printer device, for example. With the diversification of data processing in recent years, for example, the functions of printer devices have also diversified, and the analysis when a failure occurs has become complicated,
A test method that can improve the efficiency of debugging or analysis when a failure occurs is needed.

【0002】[0002]

【従来の技術】図9は、従来のデバッグ,障害解析の方
法を説明する図である。例えば、プリンタ装置のテスト
を行うためには、ソースファイルaをアセンブル,コ
ンパイル,リンクして実行形式ファイルaを作成し、
ソースファイルaと実行形式ファイルaとは、別々
に格納され、テスト対象のプリンタ装置が接続されてい
るシステムに、図示されているように、実行形式ファイ
ルaと,ソースファイルリスト,及びプログラム説
明書を持っていく。
2. Description of the Related Art FIG. 9 is a diagram for explaining a conventional debugging and failure analysis method. For example, in order to test the printer device, the source file a is assembled, compiled, and linked to create an executable file a,
The source file a and the executable file a are stored separately, and as shown in the figure, the executable file a, the source file list, and the program description are stored in the system to which the printer device to be tested is connected. Bring

【0003】テスト対象のプリンタ装置が接続されてい
るシステムに実行形式ファイルaをロードして、テス
ト(デバッグを含む)を行って、印字結果に異常がある
場合には、上記ソースファイルリスト,及びプログラ
ム説明書を見て、障害の解析を行う。
The executable file a is loaded into the system to which the printer to be tested is connected, a test (including debugging) is performed, and if the print result is abnormal, the source file list and the Look at the program manual and analyze the failure.

【0004】[0004]

【発明が解決しようとする課題】上記ソースファイル
aのソースファイルリストを追うには、プログラム言
語を理解していなければならない。
In order to follow the source file list of the source file a, it is necessary to understand the programming language.

【0005】プログラム説明書には、各コマンドの説
明はあっても、具体的に、どのようなコマンドがどのよ
うな順序で発行しているかの説明はない。又、上記ソー
スファイルリストや、プログラム説明書の版数と、
上記実行形式ファイルaの版数が等しいという保証は
ない。
Although the program manual describes each command, it does not specifically describe what command is issued in what order. Also, the version number of the above source file list and program manual,
There is no guarantee that the version numbers of the executable file a are the same.

【0006】従って、操作者は、1)ソースファイルリ
スト,及び、プログラム説明書を持ち歩かなければ
ならない。 2)又、プログラム言語を理解していなければならな
い。
Therefore, the operator must 1) carry around the source file list and the program description. 2) Also, you must understand the programming language.

【0007】3)実際に、どのようなコマンドが発行さ
れているか分からない。 4)ソースファイルリストや、プログラム説明書の
版数が異なる場合がある。 等の問題があった。
3) It is not known what kind of command is actually issued. 4) The version numbers of the source file list and program manual may differ. There was a problem such as.

【0008】本発明は上記従来の欠点に鑑み、例えば、
プリンタ装置のテスト方法において、デバッグ, 又は、
障害発生時の解析の効率化を図ることができるテスト方
法を提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention provides, for example,
In the printer device test method, debug or
It is an object of the present invention to provide a test method capable of improving the efficiency of analysis when a failure occurs.

【0009】[0009]

【課題を解決するための手段】図1,図2,図3は、本
発明の原理説明図であって、図1は原理構成図を示し、
図2は、テスト制御部の動作を流れ図で示し、図3は、
本発明によって、デバッグ,障害解析を行う際の媒体,
データの流れを示している。上記の問題点は、下記の如
くに構成したテスト方法によって解決される。
FIG. 1, FIG. 2 and FIG. 3 are explanatory diagrams of the principle of the present invention, and FIG.
FIG. 2 is a flow chart showing the operation of the test control unit, and FIG.
According to the present invention, a medium for performing debugging and failure analysis,
It shows the flow of data. The above problems are solved by the test method configured as follows.

【0010】(1) 表示/印刷装置のテスト方法であっ
て、テストプログラムを、テスト項目毎に、そのテスト
手順を、所定の記述言語で記述したテストコマンドファ
イルと、前記テストコマンドファイルを翻訳して、
実際のテスト手順列を生成するテスト手順作成部 20
と、前記生成されたテスト手順列を、実行コマンド列
に変換するコマンドコード変換部 21 とからなるテス
ト制御部 2とで構成し、上記テスト手順列を、上記コ
マンドコード変換部 21 で実行コマンド列に変換して
実行する際、上記テスト手順列と、テスト結果とを
対にして出力するように構成する。
(1) A display / printing apparatus test method, wherein a test program, a test command file for each test item, and a test command file describing the test procedure in a predetermined description language, and the test command file are translated. hand,
Test procedure generator that generates the actual test procedure sequence 20
And a test control unit 2 including a command code conversion unit 21 for converting the generated test procedure sequence into an execution command sequence, and the test procedure sequence is executed by the command code conversion unit 21. When the test procedure sequence is converted into and executed, the test procedure sequence and the test result are output as a pair.

【0011】(2) 表示/印刷装置のテスト方法であっ
て、テストプログラムを、テスト項目毎に、そのテスト
手順を、所定の記述言語で記述したテストコマンドファ
イルと、前記テストコマンドファイルを翻訳して、
実際のテスト手順列を生成するテスト手順作成部 20
と、前記生成されたテスト手順列を、実行コマンド列
に変換するコマンドコード変換部 21 とからなるテス
ト制御部 2とで構成し、上記テスト手順列を、上記コ
マンドコード変換部 21 で実行コマンド列に変換して
実行する際、上記実行コマンド列を、所定のコードに
変換し、上記実行コマンド列のテスト結果と対に
して出力するように構成する。
(2) A display / printing apparatus test method, wherein a test program is translated into a test command file for each test item in a predetermined description language, and the test command file is translated. hand,
Test procedure generator that generates the actual test procedure sequence 20
And a test control unit 2 including a command code conversion unit 21 for converting the generated test procedure sequence into an execution command sequence, and the test procedure sequence is executed by the command code conversion unit 21. When the above-mentioned execution command string is converted and executed, the above-mentioned execution command string is converted into a predetermined code, and the test result of the above-mentioned execution command string is output as a pair.

【0012】[0012]

【作用】即ち、本発明のテストプログラムは、図1に示
されているように、所定の言語で記述されたテストコマ
ンドファイルと、このテストコマンドファイルを読
み込んで、本発明の印字制御を行うテスト制御部から構
成されている。
That is, the test program of the present invention is, as shown in FIG. 1, a test command file written in a predetermined language and a test for reading the test command file and performing the print control of the present invention. It is composed of a control unit.

【0013】テストコマンドファイルは、テスト項目
毎に、開始コード(S) と、終了コード(E) とが対になっ
ていて、所定の記述言語で記述されたテスト内容がファ
イルされている。
In the test command file, a start code (S) and an end code (E) are paired for each test item, and the test contents described in a predetermined description language are filed.

【0014】テストを行う為には、テストプログラムの
ソースファイルをアセンブル/コンパイル/リンクして
実行形式のファイルであるテスト制御部を作成する。上
記テストコマンドファイルは、上記テスト制御部と同
じ媒体に格納して、テスト用システムにロードし、実行
する。{図3のデータの流れ,媒体の持ち運び参照} テスト用システムでは、以下の動作をする。
In order to perform a test, the source files of the test program are assembled / compiled / linked to create a test control unit which is an executable file. The test command file is stored in the same medium as the test control unit, loaded into the test system, and executed. {Refer to the data flow in Fig. 3 and carrying of media} The test system operates as follows.

【0015】即ち、上記テスト制御部は、テスト手順作
成部とコマンドコード変換部とからなっているので、先
ず、テスト手順作成部で、上記テストコマンドファイル
から1つ宛テスト項目を読み込み、テスト手順、即
ち、1命令毎の命令列を作成して、メモリに格納する。
{図2の処理ステップ 100〜103 参照} 次に、メモリから、入出力ドライバを経由して、上記テ
スト手順を印字すると共に、上記テスト手順を、上
記コマンドコード変換部で、実行コマンド列に変換し
て、上記入出力ドライバを経由して、印字テストを行
い、テスト結果が、上記、既に、印字されているテス
ト手順と対の形で印字される。{図1,図3のテスト
対象のプリンタ装置での印字結果、図2の処理ステップ
104〜106参照} テスト項目数分、上記の処理が繰り返される。{図2の
流れ図参照} 勿論、テストの結果、印字に異常がある場合、そのテス
ト項目のみを選択して、上記テスト手順の印字を指定
するようにしても良い。
That is, since the test control section comprises a test procedure creation section and a command code conversion section, first, the test procedure creation section reads one test item from the test command file to execute the test procedure. That is, an instruction string for each instruction is created and stored in the memory.
{Refer to processing steps 100 to 103 in FIG. 2} Next, the test procedure is printed from the memory via the input / output driver, and the test procedure is converted into an execution command string by the command code conversion unit. Then, a print test is performed via the input / output driver, and the test result is printed in a pair with the already printed test procedure. {Printing results on the test target printer device of FIGS. 1 and 3, processing steps of FIG.
See 104 to 106} The above processing is repeated for the number of test items. {Refer to the flow chart of FIG. 2} Of course, if there is an abnormality in printing as a result of the test, only the test item may be selected and printing of the test procedure may be designated.

【0016】上記の例では、テスト手順の印字方法と
して、テスト手順作成部で作成したテスト手順そのも
のを印字する例で説明したが、コマンドコード変換部
で、実行形式の実行コマンド列に変換したものを、所
定のコード、例えば、ASCIIコードの形式に変換
して印字するようにしても良い。
In the above example, the test procedure is printed by printing the test procedure itself created by the test procedure creation section. However, the command code conversion section converts the test procedure into an execution command string in the execution format. May be converted into a predetermined code, for example, ASCII code format, and printed.

【0017】このような印字制御をすることにより、コ
マンド,データ共に、英数字で印字され、テスト手順
をコード形式で認識することができる。上記のように制
御することで、ソースファイルリストやプログラム説
明書{図9参照}がなくても、テスト手順を容易に
認識することができる。
By performing such printing control, both commands and data are printed in alphanumeric characters, and the test procedure can be recognized in code format. By controlling as described above, the test procedure can be easily recognized without the source file list or the program manual (see FIG. 9).

【0018】[0018]

【実施例】以下本発明の実施例を図面によって詳述す
る。前述の図1〜図3は、本発明の原理説明図であり、
図4は、本発明のテストコマンドファイルのフォーマッ
ト例を示した図であり、図5,図6は、本発明の一実施
例を示した図であり、図7,図8は、本発明の他の実施
例を示した図であり、図5,図7は、それぞれの実施例
での構成例を、データの流れで示し、図6,図8は、そ
れぞれの実施例での、印字例を示している。
Embodiments of the present invention will be described in detail below with reference to the drawings. 1 to 3 described above are explanatory views of the principle of the present invention.
FIG. 4 is a diagram showing a format example of the test command file of the present invention, FIGS. 5 and 6 are diagrams showing an embodiment of the present invention, and FIGS. 7 and 8 are diagrams of the present invention. FIG. 5 is a diagram showing another embodiment, FIG. 5 and FIG. 7 show configuration examples in each embodiment in a data flow, and FIG. 6 and FIG. 8 are print examples in each embodiment. Is shown.

【0019】本発明においては、例えば、プリンタ装置
のテストする際、テストプログラムを、テスト項目毎
に、そのテスト手順を、所定の記述言語で記述したテス
トコマンドファイルと、前記テストコマンドファイル
を翻訳して、実際のテスト手順列を生成するテスト
手順作成部 20 と、前記生成されたテスト手順列を、
実行コマンド列に変換するコマンドコード変換部 21
とで構成し、上記テスト手順列をコマンドコード変換
部 21 で実行コマンド列に変換して実行する際、上記
テスト手順列と、テスト結果とを対にして出力す
る。又は、上記実行コマンド列を、所定のコード、例
えば、ASCIIコードに変換したものを、テスト結
果と対にして出力する手段が、本発明を実施するのに
必要な手段である。尚、全図を通して同じ符号は同じ対
象物を示している。
In the present invention, for example, when testing a printer device, a test program, a test command file in which a test procedure for each test item is described in a predetermined description language, and the test command file are translated. The test procedure generation unit 20 that generates the actual test procedure sequence, and the generated test procedure sequence,
Command code conversion unit that converts to an execution command string 21
When the test procedure sequence is converted into an execution command sequence by the command code conversion unit 21 and executed, the test procedure sequence and the test result are output as a pair. Alternatively, means for outputting a pair of the execution command string converted into a predetermined code, for example, an ASCII code, and a test result is a means necessary for carrying out the present invention. The same reference numerals indicate the same objects throughout the drawings.

【0020】以下、図1〜図3を参照しながら、図4,
図5〜図8によって、本発明の、例えば、プリンタ装置
のテスト方法を説明する。尚、本発明では、テストの内
容そのものは、直接関係しないので、例えば、図4で示
したテストコマンドファイルのフォーマット例等におい
て、テスト内容の詳細な説明は省略する。
Hereinafter, referring to FIGS. 1 to 3, FIG.
A method for testing, for example, a printer device according to the present invention will be described with reference to FIGS. Note that in the present invention, the test content itself is not directly related, and therefore a detailed description of the test content will be omitted in the format example of the test command file shown in FIG. 4, for example.

【0021】先ず、図4において、テストコマンドファ
イルでの記述例を説明する。図4の、*で囲んだ部分
の記述は、所謂、コメント欄であって、テスト項目の内
容に関するコメント、例えば、テスト項目の名称,テス
ト番号,テスト目的,確認事項などが記述されている。
First, a description example in the test command file will be described with reference to FIG. The part surrounded by * in FIG. 4 is a so-called comment field, in which comments about the contents of the test item, for example, the name of the test item, the test number, the test purpose, and the confirmation items are described.

【0022】具体的なテスト内容は、開始記号"S0205"
と、終了記号"E" の間に記述されている。記述方法は、
原則的には、後述のテスト制御部 2のテスト手順作成部
20 での翻訳機能との間での規約に基づいて記述すれば
良い。或いは、所定の言語で記述しておき、上記テスト
手順作成部 20 での翻訳を、その言語に合わせて翻訳す
るようにしても良い。
The specific test content is the start symbol "S0205".
, And the end symbol "E". The description method is
In principle, the test procedure creation section of the test control section 2 described later
It should be written based on the convention with the translation function in 20. Alternatively, it may be described in a predetermined language, and the translation in the test procedure creating unit 20 may be translated according to the language.

【0023】図4の例で説明すると、記述“2 LF OA ;
改行" は、改行を2回行うことを記述しており、テスト
手順作成部 20 で翻訳すると、改行コマンド "LF 0A"が
2つのコマンド列に翻訳される。{例えば、図6の印字
例参照} 又、
Explaining with the example of FIG. 4, the description "2 LF OA;
"Line feed" describes that line feed is performed twice, and when translated by the test procedure creation unit 20, the line feed command "LF 0A" is translated into two command strings. {For example, see the print example in Fig. 6. } or,

【表1】 なる記述は、水平タブの実行を指示する文で、5ドット
目と,505 ドット目と,1005 ドット目で、水平タブを実
行し、データ"TAB5","TAB505","TAB1005" を印字して、
実行結果を指示することを記述しているが、この文を、
上記テスト手順作成部 20 で翻訳すると、実際のテスト
手順は、 HT 09 データ TAB5 HT 09 データ TAB505 HT 09 データ TAB1005 で示すコマンド列となる。{後述の図6,図8の印字例
参照} 次に、図2によって、上記テスト制御部 2の動作を説明
する。
[Table 1] Is a statement to instruct execution of a horizontal tab, a horizontal tab is executed at the 5th, 505th, and 1005th dots, and data "TAB5", "TAB505", "TAB1005" are printed. hand,
Although it is described that the execution result is instructed, this statement
When translated by the test procedure creation unit 20 above, the actual test procedure is the command sequence indicated by HT 09 data TAB5 HT 09 data TAB505 HT 09 data TAB1005. {Refer to the printing examples of FIGS. 6 and 8 described later} Next, the operation of the test control unit 2 will be described with reference to FIG.

【0024】上記テスト制御部 2は、図1に示されてい
るように、テスト手順作成部 20 とコマンドコード変換
部 21 とからなっているので、先ず、テスト手順作成部
20で、上記テストコマンドファイルから1つ宛テス
ト項目を読み込み、テスト手順、即ち、1命令毎の命
令列を作成して、メモリ 23 に格納する。{図2の処理
ステップ 100,101,102,103参照} 次に、メモリ 23 から、入出力ドライバ 24 を経由し
て、上記テスト手順を印字すると共に、上記テスト手
順を、上記コマンドコード変換部 21 で、実行形式の
コマンド列に変換して、上記入出力ドライバ 24 を経
由して、印字テストを行い、テスト結果が、上記、既
に、印字されているテスト手順と対の形で印字され
る。{図2の処理ステップ 104,105,106参照} テスト項目数分、上記の処理が繰り返される。{図2の
処理ステップ 100参照} 図5,図6は、本発明の一実施例を示した図であり、図
5は、前述のように、一実施例でのデータの流れを示し
ており、図6は、印字例を示している。
As shown in FIG. 1, the test control section 2 comprises a test procedure creating section 20 and a command code converting section 21.
At 20, the test item for one address is read from the test command file, a test procedure, that is, a command string for each command is created and stored in the memory 23. {Refer to the processing steps 100, 101, 102, 103 in FIG. 2} Next, the test procedure is printed from the memory 23 via the input / output driver 24, and the test procedure is executed by the command code conversion unit 21 in the form of an executable command. After being converted into a column, a print test is performed via the input / output driver 24, and the test result is printed in a pair with the above-mentioned already printed test procedure. {Refer to processing steps 104, 105 and 106 in FIG. 2} The above processing is repeated for the number of test items. {Refer to processing step 100 in FIG. 2} FIGS. 5 and 6 are views showing an embodiment of the present invention, and FIG. 5 shows a data flow in the embodiment, as described above. 6 shows an example of printing.

【0025】この実施例は、前述の図1,図2で説明し
た動作に対応し、テスト手順作成部20 で、上記テスト
コマンドファイルから1つ宛テスト項目を読み込み、
テスト手順、即ち、1命令毎の命令列を作成して、メ
モリ 23 に格納する。
This embodiment corresponds to the operation described above with reference to FIGS. 1 and 2, and the test procedure creation unit 20 reads one test item from the test command file,
A test procedure, that is, an instruction sequence for each instruction is created and stored in the memory 23.

【0026】次に、メモリ 23 から、入出力ドライバ 2
4 を経由して、上記テスト手順を印字すると共に、上
記テスト手順を、上記コマンドコード変換部 21 で、
実行形式のコマンド列に変換して、上記入出力ドライ
バ 24 を経由して、印字テストを行い、テスト結果
が、上記、既に、印字されているテスト手順と対の形
で印字される。
Next, from the memory 23, the input / output driver 2
The above test procedure is printed via 4 and the above test procedure is changed by the command code conversion unit 21.
It is converted into a command string in the execution format, a print test is performed via the input / output driver 24, and the test result is printed in a pair with the test procedure already printed.

【0027】図6は、そのときの印字例を示しており、
テスト手順の印字は、コマンドは英数字で印字され、
タイトル等は、漢字, カタカナ等で印字される。これ
は、図4で説明したテストコマンドファイル上におい
て、コマンドは、ASCII コードで記述され、タイトル
は、日本工業規格(JIS) コードで記述されているので、
その儘、印字すると、図6のテスト手順の印字例で示
されている如く、コマンドは英数字で印字され、タイト
ル等は漢字,カタカナ等で印字されることによる。
FIG. 6 shows an example of printing at that time.
When printing the test procedure, commands are printed in alphanumeric
Titles are printed in Kanji, Katakana, etc. This is because the command is described in ASCII code and the title is described in Japanese Industrial Standard (JIS) code in the test command file explained in FIG.
When printed, the command is printed in alphanumeric characters and the title is printed in kanji, katakana, etc., as shown in the printing example of the test procedure in FIG.

【0028】上記テスト手順を、上記コマンドコード
変換部 21 で、実行形式の実行コマンド列に変換し
て、上記入出力ドライバ 24 を経由して、印字テストを
行うと、図6のテスト結果に示したように、テスト結果
が印字される。
When the command code conversion unit 21 converts the test procedure into an execution command string in an execution format and a print test is performed via the input / output driver 24, the test result is shown in FIG. The test result is printed as described above.

【0029】上記テスト手順の印字は、テストの結果
の印字に異常がある場合に、そのテスト項目のみを選択
して、テスト手順を印字するように指定しても良いこ
とはいう迄もないことである。
Needless to say, the printing of the test procedure may be performed by selecting only the test item and designating the printing of the test procedure when the test result is abnormally printed. Is.

【0030】尚、図6でのテスト結果において、縦の
点線は、上記テスト手順で設定された印字領域の右端
を示しており、“水平タブ”の実行時に、上記印字領域
の右端にかかると、印字データ“TAB505" の一部が、上
記印字領域内で折り辺されて印字されていることを示し
ている。
In the test results shown in FIG. 6, the vertical dotted line indicates the right end of the print area set in the above test procedure. When the "horizontal tab" is executed, if the right end of the print area is reached. , A part of the print data "TAB505" is printed along the folded side in the print area.

【0031】図7,図8は、本発明の他の実施例を示し
た図であり、図7は、前述のように、他の実施例でのデ
ータの流れを示しており、図8は、その場合の印字例を
示している。
FIGS. 7 and 8 are diagrams showing another embodiment of the present invention. FIG. 7 shows the data flow in another embodiment as described above, and FIG. , A printing example in that case is shown.

【0032】この実施例では、先ず、テスト手順作成部
20 で、上記テストコマンドファイルから1つ宛テス
ト項目を読み込み、テスト手順、即ち、1命令毎の命
令列を作成する。
In this embodiment, first, a test procedure creating section
At 20, a test item for one address is read from the test command file, and a test procedure, that is, a command string for each command is created.

【0033】次に、上記作成されたテスト手順を、上
記コマンドコード変換部 21 で実行形式のコマンド列
に変換すると、上記ASCII コマンドで記述されているコ
マンド, 日本工業規格(JIS) コードで記述されているタ
イトルも、共に、16進数に変換される。
Next, when the created test procedure is converted into a command string of an execution format by the command code conversion section 21, the command described by the ASCII command and the Japanese Industrial Standard (JIS) code are described. Both titles are also converted into hexadecimal numbers.

【0034】この16進数コードを、例えば、ASCII コー
ドに変換したものをテスト手順として印字すると、
図8に示されているように、コマンドも,タイトルも全
て、英数字で印字され、テスト手順をコード形式で認
識することができるようになる。
If this hexadecimal code is converted into ASCII code and printed as a test procedure,
As shown in FIG. 8, all commands and titles are printed in alphanumeric characters, and the test procedure can be recognized in code format.

【0035】上記テスト手順を、上記コマンドコード
変換部 21 で、実行形式の実行コマンド列に変換した
ものを、上記入出力ドライバ 24 を経由して、印字テス
トを行うと、図8のテスト結果に示したように、テスト
結果が印字される。
When the command code conversion unit 21 converts the above-mentioned test procedure into an execution format execution command string and a print test is performed via the input / output driver 24, the test result shown in FIG. The test results are printed as shown.

【0036】上記の実施例では、プリンタ装置を例にし
て説明したが、入出力ドライバのコマンドを変更するこ
とにより、表示装置,或いは、他の印刷装置にも適用で
きることはいう迄もないことである。
In the above embodiment, the printer device has been described as an example, but it goes without saying that it can be applied to the display device or other printing devices by changing the command of the input / output driver. is there.

【0037】このように、本発明による、例えば、プリ
ンタ装置のテスト方法は、プリンタ装置のテストを実行
する際、テストプログラムを、テスト項目毎に、そのテ
スト手順を、所定の記述言語で記述したテストコマンド
ファイルと、前記テストコマンドファイルを翻訳し
て、実際のテスト手順列を生成するテスト手順作成部
20 と、前記生成されたテスト手順列を、実行コマン
ド列に変換するコマンドコード変換部 21 とからなる
テスト制御部 2とで構成し、上記テスト手順列をコマ
ンドコード変換部 21 で実行コマンド列に変換して実
行する際、上記テスト手順列と、テスト結果とを対
にして出力する。又は、上記実行コマンド列を、所定
のコード、例えば、ASCII コードに変換したものを、
テスト結果と対にして出力するようにした所に特徴が
ある。
As described above, for example, in the printer device testing method according to the present invention, when the printer device test is executed, the test program is described for each test item in the prescribed description language. A test command file and a test procedure creation unit that translates the test command file and generates an actual test procedure sequence.
20 and a test control unit 2 including a command code conversion unit 21 that converts the generated test procedure sequence into an execution command sequence, and the command procedure conversion unit 21 converts the test procedure sequence into an execution command sequence. When converted and executed, the test procedure sequence and the test result are output as a pair. Or, the above execution command string is converted into a predetermined code, for example, ASCII code,
It is characterized in that the test results are output as a pair.

【0038】[0038]

【発明の効果】以上、詳細に説明したように、本発明
の、プリンタ装置等のテスト方法によれば、ソースファ
イルリスト,及び、プログラム説明書をテスト対象
装置のところに持って行く必要がなく、プログラム言語
を知らなくても、どのコマンドが発行されているかが容
易に認識でき、必ず、テスト手順と、テストコマンド
の版数が等しいことにより、デバッグ,又は、障害発生
時の解析の効率化が図れる効果がある。
As described above in detail, according to the method for testing a printer or the like of the present invention, it is not necessary to bring the source file list and the program manual to the device to be tested. Even if you don't know the programming language, you can easily recognize which command is issued, and make sure that the test procedure and the version number of the test command are the same so that debugging or analysis at the time of failure can be made more efficient. Is effective.

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

【図1】本発明の原理説明図(その1)FIG. 1 is an explanatory diagram (1) of the principle of the present invention.

【図2】本発明の原理説明図(その2)FIG. 2 is an explanatory diagram of the principle of the present invention (No. 2)

【図3】本発明の原理説明図(その3)FIG. 3 is an explanatory diagram of the principle of the present invention (No. 3)

【図4】本発明のテストコマンドファイルのフォーマッ
ト例を示した図
FIG. 4 is a diagram showing a format example of a test command file of the present invention.

【図5】本発明の一実施例を示した図(その1)FIG. 5 is a diagram showing an embodiment of the present invention (No. 1).

【図6】本発明の一実施例を示した図(その2)FIG. 6 is a diagram showing an embodiment of the present invention (No. 2).

【図7】本発明の他の実施例を示した図(その1)FIG. 7 is a diagram showing another embodiment of the present invention (No. 1).

【図8】本発明の他の実施例を示した図(その2)FIG. 8 is a diagram showing another embodiment of the present invention (No. 2).

【図9】従来のデバッグ,障害解析の方法を説明する図FIG. 9 is a diagram for explaining conventional debugging and failure analysis methods.

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

2 テスト制御部 20 テスト手順
作成部 21 コマンドコード変換部 テストコマンドファイル a ソースファイル テスト手順,テスト手順列 実行コマンド列,実行形式のコマンド列 a 実行形式ファイル テスト結果 ソースファイルリスト プログラム
説明書 100 〜106 処理ステップ
2 Test control unit 20 Test procedure creation unit 21 Command code conversion unit Test command file a Source file Test procedure, test procedure sequence Execution command sequence, execution format command sequence a Execution format file Test result source file list Program Manual 100 to 106 Processing step

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】表示/印刷装置のテスト方法であって、 テストプログラムを、テスト項目毎に、そのテスト手順
を、所定の記述言語で記述したテストコマンドファイル
() と、前記テストコマンドファイル ()を翻訳し
て、実際のテスト手順列 () を生成するテスト手順作
成部(20)と、前記生成されたテスト手順列 () を、実
行コマンド列 () に変換するコマンドコード変換部(2
1)とからなるテスト制御部(2) とで構成し、 上記テスト手順列 () を、上記コマンドコード変換部
(21)で実行コマンド列() に変換して実行する際、上
記テスト手順列 () と、テスト結果 () とを対にし
て出力することを特徴とする表示/印刷装置のテスト方
法。
1. A test method for a display / printing apparatus, comprising a test command file in which a test program is described for each test item in a prescribed description language.
(), The test procedure file () that translates the test command file () to generate the actual test procedure sequence (), and the generated test procedure sequence () to the execution command sequence (). Command code conversion part (2
1) and a test control section (2), and the above test procedure sequence ()
A test method for a display / printing device, comprising the step of outputting the test procedure string () and the test result () as a pair when the command is converted into the execution command string () and executed in (21).
【請求項2】表示/印刷装置のテスト方法であって、 テストプログラムを、テスト項目毎に、そのテスト手順
を、所定の記述言語で記述したテストコマンドファイル
() と、前記テストコマンドファイル ()を翻訳し
て、実際のテスト手順列 () を生成するテスト手順作
成部(20)と、前記生成されたテスト手順列 () を、実
行コマンド列 () に変換するコマンドコード変換部(2
1)とからなるテスト制御部(2) とで構成し、 上記テスト手順列 () を、上記コマンドコード変換部
(21)で実行コマンド列() に変換して実行する際、上
記実行コマンド列()を、所定のコードに変換()
し、上記実行コマンド列()のテスト結果()と対
にして出力することを特徴とする表示/印刷装置のテス
ト方法。
2. A display / printing apparatus test method, comprising a test command file in which a test program is described for each test item in a prescribed description language.
(), The test procedure file () that translates the test command file () to generate the actual test procedure sequence (), and the generated test procedure sequence () to the execution command sequence (). Command code conversion part (2
1) and a test control section (2), and the above test procedure sequence ()
When converting to the execution command string () in (21) and executing it, convert the above execution command string () into the specified code ()
A test method of the display / printing apparatus, wherein the test result () of the execution command string () is output as a pair.
JP5024599A 1993-02-15 1993-02-15 Testing method for display/printer Withdrawn JPH06238993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5024599A JPH06238993A (en) 1993-02-15 1993-02-15 Testing method for display/printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5024599A JPH06238993A (en) 1993-02-15 1993-02-15 Testing method for display/printer

Publications (1)

Publication Number Publication Date
JPH06238993A true JPH06238993A (en) 1994-08-30

Family

ID=12142622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5024599A Withdrawn JPH06238993A (en) 1993-02-15 1993-02-15 Testing method for display/printer

Country Status (1)

Country Link
JP (1) JPH06238993A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015528978A (en) * 2012-05-23 2015-10-01 エルジー・ケム・リミテッド System and method for generating a diagnostic test file for a battery pack

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015528978A (en) * 2012-05-23 2015-10-01 エルジー・ケム・リミテッド System and method for generating a diagnostic test file for a battery pack

Similar Documents

Publication Publication Date Title
JP4007562B2 (en) Programming support method and apparatus
JPH07311677A (en) Operation processor
JPH0793186A (en) Reusing method for existing test program
JP2000020114A (en) Method for generating and executing program for motion controller
JPH06238993A (en) Testing method for display/printer
JPH10187461A (en) Language processing system
JPH03241439A (en) Test data preparation tool
JPH01175036A (en) Source selection type conversion system for source converter
JP2005316710A (en) Software test support device
JP2009205242A (en) Automatic generation device of program for verification, and method and program thereof
JP2009151613A (en) Program source conversion apparatus
JPH0689166A (en) Parts processing description expanding system
JPH1031585A (en) Automatic programming generating system by inputting specification
JP2672968B2 (en) Source list output processing method for debugging
JP2006277330A (en) Source code editing device and source code editing method
JPH11154093A (en) Program compiler and storage medium recording compiler program
JPH08328841A (en) Software generating device
JPH02214941A (en) Compiling list processing system
JPS63250735A (en) Image output device
JPH07129384A (en) Conversion system of operation procedure into natural language format file
JPH0736685A (en) Parts processor
JPH05108372A (en) System for outputting compiler optimization processing content
JPH0423102A (en) Programming device for programmable controller
JPH0520060A (en) Method and device for program partial execution
JPH05151195A (en) Kanji input device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000509