Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358422

Summary: [EDT test framework] Need fully qualified library reference
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.language-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jqian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-09-21 10:08:50 EDT
I created an Eunit test library named Skipped (passed, characterLen get same results).  Then I generate the EUNIT driver I get unresolved EGL messages in

program Skipped_pgm type BasicProgram {}
	function main()
		Skipped.invokeTheTest();
		TestExecutionLib.writeResultSummary(3);
	end
end

These issue happens in RBD as well.  There are two ways to fix the code:

1.  fully qualify the library function name
program Skipped_pgm type BasicProgram {}
	function main()
		eunitgen.mine.Skipped.invokeTheTest();
		TestExecutionLib.writeResultSummary(3);
	end
end

2. include the use library statement
program Skipped_pgm type BasicProgram {}
	use Skipped;
	function main()
		invokeTheTest();
		TestExecutionLib.writeResultSummary(3);
	end
end

or

program Skipped_pgm type BasicProgram {}
	use Skipped;
	function main()
		Skipped.invokeTheTest();
		TestExecutionLib.writeResultSummary(3);
	end
end
Comment 1 Jing Qian CLA 2011-09-22 15:13:55 EDT
fixed, I now generate the fully qualified name for the library

eunitgen.mine.Skipped.invokeTheTest();
Comment 2 Jing Qian CLA 2011-09-22 15:14:06 EDT
resolved
Comment 3 Kathy Carroll CLA 2011-09-23 08:48:59 EDT
verified with 201109222102
Comment 4 Lisa Lasher CLA 2011-10-11 16:18:35 EDT
Closing this defect.