From 6bbbd860a81f70cb15cd110c363d8a313e7a26e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 3 Nov 2015 19:34:51 -0500 Subject: [PATCH] contrib/nitester: rename local class Task to TesterTask MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/nitester/src/nitester.nit | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/nitester/src/nitester.nit b/contrib/nitester/src/nitester.nit index 8f28415..0904053 100644 --- a/contrib/nitester/src/nitester.nit +++ b/contrib/nitester/src/nitester.nit @@ -170,7 +170,7 @@ abstract class Processor end # All tasks to be performed - var tasks = new Array[Task] + var tasks = new Array[TesterTask] # Gather and register all tasks fun create_tasks @@ -193,7 +193,7 @@ abstract class Processor continue label end - tasks.add new Task(engine, prog) + tasks.add new TesterTask(engine, prog) end label end end @@ -429,7 +429,7 @@ class Worker # Single C `int` to hold the next task id received from the `Controller` var task_buffer = new CIntArray(1) - # Manage communication with the `Controller` and execute dispatched `Task`s + # Manage communication with the `Controller` and execute dispatched `TesterTask`s fun work_on_tasks do var status = new Status @@ -566,7 +566,7 @@ end # # Note that a task may involve more than one program to test considering the # alts and args for the `test_program`. -class Task +class TesterTask # Engine to test executing `test_program` var engine: String @@ -576,12 +576,12 @@ class Task redef fun to_s do return "{engine} {test_program}" end -# Result of a `Task` +# Result of a `TesterTask` # -# There may be more than one result per `Task`. +# There may be more than one result per `TesterTask`. class Result - # `Task` associated to `self` - var task: Task + # `TesterTask` associated to `self` + var task: TesterTask # Argument index of the execution resulting in `self` var arg: Int -- 1.7.9.5