mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-11-03 22:32:50 +00:00
brought expectations out to a plugin also
git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@20 bf332499-1b4d-0410-844d-d2d48d5cc64c
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
require "#{$here}/cmock_generator_plugin_expect.rb"
|
||||
require "#{$here}/cmock_generator_plugin_ignore.rb"
|
||||
require "#{$here}/cmock_generator_plugin_cexception.rb"
|
||||
|
||||
@@ -11,6 +12,7 @@ class CMockPluginManager
|
||||
|
||||
def get_generator_plugins
|
||||
@plugins = []
|
||||
@plugins << CMockGeneratorPluginExpect.new( @config, @utils )
|
||||
@plugins << CMockGeneratorPluginCException.new( @config, @utils ) if @config.use_cexception
|
||||
@plugins << CMockGeneratorPluginIgnore.new( @config, @utils ) if @config.allow_ignore_mock
|
||||
return @plugins
|
||||
|
||||
Reference in New Issue
Block a user