mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-09 20:57:51 +00:00
* added callback plugin
* cleaned up plugin prioritization * updated plain docs git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@148 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
class CMockGeneratorPluginArray
|
||||
|
||||
attr_reader :priority
|
||||
attr_accessor :config, :utils, :unity_helper, :ordered
|
||||
|
||||
def initialize(config, utils)
|
||||
@@ -9,6 +10,7 @@ class CMockGeneratorPluginArray
|
||||
@ordered = @config.enforce_strict_ordering
|
||||
@utils = utils
|
||||
@unity_helper = @utils.helpers[:unity_helper]
|
||||
@priority = 8
|
||||
end
|
||||
|
||||
def instance_structure(function)
|
||||
@@ -37,10 +39,6 @@ class CMockGeneratorPluginArray
|
||||
end
|
||||
end
|
||||
|
||||
def mock_implementation(function)
|
||||
nil
|
||||
end
|
||||
|
||||
def mock_interfaces(function)
|
||||
return nil unless function[:contains_ptr?]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user