﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ADoc%2FTools%2FTests%2FGTest</id>
	<title>Dev:Doc/Tools/Tests/GTest - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ADoc%2FTools%2FTests%2FGTest"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Tools/Tests/GTest&amp;action=history"/>
	<updated>2026-06-10T07:35:32Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Doc/Tools/Tests/GTest&amp;diff=147787&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Tools/Tests/GTest&amp;diff=147787&amp;oldid=prev"/>
		<updated>2018-06-28T21:09:40Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 21:09時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Doc/Tools/Tests/GTest&amp;diff=147786&amp;oldid=prev</id>
		<title>2015年1月8日 (木) 15:01にwiki&gt;Psy-Fiによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Doc/Tools/Tests/GTest&amp;diff=147786&amp;oldid=prev"/>
		<updated>2015-01-08T15:01:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= GTest =&lt;br /&gt;
&lt;br /&gt;
GTest is a C++ testing framework which can be used to test C/C++ code in Blender.&lt;br /&gt;
It needs to be enabled at build-time, and creates tests (in the form of executables) which are run to perform the tests.&lt;br /&gt;
&lt;br /&gt;
Tests are located in blenders source directory [http://developer.blender.org/diffusion/B/browse/master/tests/gtests &amp;lt;tt&amp;gt;'tests/gtests'&amp;lt;/tt&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Enable the `WITH_GTESTS` CMake build option and execute the tests from the build directory &amp;lt;tt&amp;gt;'bin/tests/'&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example use ==&lt;br /&gt;
&lt;br /&gt;
The tests for Blender's path utilities:&lt;br /&gt;
[http://developer.blender.org/diffusion/B/browse/master/source/blender/blenlib/intern/path_util.c &amp;lt;tt&amp;gt;'source/blender/blenlib/intern/path_util.c'&amp;lt;/tt&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
Test file located in:&lt;br /&gt;
[http://developer.blender.org/diffusion/B/browse/master/tests/gtests/blenlib/BLI_path_util_test.cc &amp;lt;tt&amp;gt;'tests/gtests/blenlib/BLI_path_util_test.cc'&amp;lt;/tt&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
The test can be executed from the build directory:&lt;br /&gt;
&amp;lt;tt&amp;gt;'./bin/tests/BLI_path_util_test'&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And produces output, for example:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
[==========] Running 3 tests from 1 test case.&lt;br /&gt;
[----------] Global test environment set-up.&lt;br /&gt;
[----------] 3 tests from path_util&lt;br /&gt;
[ RUN      ] path_util.PathUtilClean&lt;br /&gt;
[       OK ] path_util.PathUtilClean (0 ms)&lt;br /&gt;
[ RUN      ] path_util.PathUtilFrame&lt;br /&gt;
[       OK ] path_util.PathUtilFrame (0 ms)&lt;br /&gt;
[ RUN      ] path_util.PathUtilSplitDirfile&lt;br /&gt;
[       OK ] path_util.PathUtilSplitDirfile (0 ms)&lt;br /&gt;
[----------] 3 tests from path_util (0 ms total)&lt;br /&gt;
&lt;br /&gt;
[----------] Global test environment tear-down&lt;br /&gt;
[==========] 3 tests from 1 test case ran. (0 ms total)&lt;br /&gt;
[  PASSED  ] 3 tests.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
&lt;br /&gt;
For information on the GTest framework its self, see: https://code.google.com/p/googletest/w/list&lt;br /&gt;
&lt;br /&gt;
See Blenders Automated Testing Project: http://developer.blender.org/tag/automated_testing&lt;/div&gt;</summary>
		<author><name>wiki&gt;Psy-Fi</name></author>
		
	</entry>
</feed>