"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googlemock/scripts/generator/gmock_gen.py" between
googletest-release-1.10.0.tar.gz and googletest-release-1.11.0.tar.gz

About: GoogleTest is Google's (unit) testing and mocking framework for C++ tests.

gmock_gen.py  (googletest-release-1.10.0):gmock_gen.py  (googletest-release-1.11.0)
skipping to change at line 19 skipping to change at line 19
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, # distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
"""Driver for starting up Google Mock class generator.""" """Driver for starting up Google Mock class generator."""
__author__ = 'nnorwitz@google.com (Neal Norwitz)'
import os import os
import sys import sys
if __name__ == '__main__': if __name__ == '__main__':
# Add the directory of this script to the path so we can import gmock_class. # Add the directory of this script to the path so we can import gmock_class.
sys.path.append(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__))
from cpp import gmock_class from cpp import gmock_class
# Fix the docstring in case they require the usage. # Fix the docstring in case they require the usage.
gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__) gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)