Sha256: 32430074cb9411f1c95b1f4f051cc5a3df0c93408d95691620f3d3d292cf4cd3
Contents?: true
Size: 893 Bytes
Versions: 2
Compression:
Stored size: 893 Bytes
Contents
# ========================================================================= # CMock - Automatic Mock Generation for C # ThrowTheSwitch.org # Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams # SPDX-License-Identifier: MIT # ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_file_writer' describe CMockFileWriter, "Verify CMockFileWriter Module" do before do create_mocks :config @cmock_file_writer = CMockFileWriter.new(@config) end after do end it "complain if a block was not specified when calling create" do begin @cmock_file_writer.create_file("test.txt") assert false, "Should Have Thrown An Error When Calling Without A Block" rescue end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ceedling-1.0.1 | vendor/cmock/test/unit/cmock_file_writer_test.rb |
ceedling-1.0.0 | vendor/cmock/test/unit/cmock_file_writer_test.rb |