Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358422 - [EDT test framework] Need fully qualified library reference
Summary: [EDT test framework] Need fully qualified library reference
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 10:08 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.