{"id":5544,"date":"2021-01-21T10:00:02","date_gmt":"2021-01-21T01:00:02","guid":{"rendered":"https:\/\/hldc.co.jp\/blog\/?p=5544"},"modified":"2024-08-14T14:40:15","modified_gmt":"2024-08-14T05:40:15","slug":"%e5%ae%a2%e5%85%88%e3%81%a7%e3%81%97%e3%81%8b%e7%99%ba%e7%94%9f%e3%81%97%e3%81%aa%e3%81%84%e4%b8%8d%e5%85%b7%e5%90%88%e3%81%a7%e5%9b%b0%e3%81%a3%e3%81%a6%e3%81%be%e3%81%99%e3%83%bb%e3%83%bb-10-2-2-1-6","status":"publish","type":"post","link":"https:\/\/hldc.co.jp\/blog\/2021\/01\/21\/5544\/","title":{"rendered":"OSS\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u300cGoogle Test\u300d\u4f7f\u3063\u3066\u307f\u305f<br>\uff5e \u7121\u511f\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u77e5\u308d\u3046\uff1apart3 \uff5e"},"content":{"rendered":"\n<p>\u5148\u65e5\u306e\u8a18\u4e8b\u3001<br><a href=\"https:\/\/hldc.co.jp\/blog\/2020\/08\/26\/4835\/\">\u300c\u73fe\u5834\u306b\u5fc5\u8981\u306aOSS (\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2) \u306e\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3068\u306f\u300d<\/a><br>\u3067\u89e6\u308c\u305f\u3001\u7121\u511f\u306e\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u3066\u3044\u304f\u30b7\u30ea\u30fc\u30ba\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u672c\u683c\u7684\u306a\u30c6\u30b9\u30c8\u30d5\u30a7\u30fc\u30ba\u3067\u4f7f\u3048\u308b\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u300d\u3068\u3057\u3066\u3001<br> \u300e Google Test \u300f <br>\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a2d\u8a08\u30d5\u30a7\u30fc\u30ba\u3067\u4f7f\u3048\u308b\u7121\u511f\u30c4\u30fc\u30eb\u300ePlantUML\u300f\u3092\u4f7f\u3063\u3066\u307f\u305f\u8a18\u4e8b\u306f\u30b3\u30c1\u30e9 \u2193 \u304b\u3089\u3002<\/p>\n\n\n<div class=\"box_border_gray\">\n<div class='one_half'>\n\t\t\t\t\t<figure><img decoding=\"async\" class=\"aligncenter wp-image-8873 size-large\" src=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2019\/06\/Lovepik_com-500534745-out-of-the-labyrinth.jpg\" alt=\"\" width=\"512\"><\/figure>\n\t\t\t\t<\/div><br \/>\n<div class='one_half et_column_last'>\n\t\t\t\t\t<p><strong style=\"color: revert; font-size: revert;\">OSS\u306e\u30e2\u30c7\u30ea\u30f3\u30b0\u30c4\u30fc\u30eb\u300cPlantUML\u300d\u4f7f\u3063\u3066\u307f\u305f\u3002<\/strong><\/p>\n<p>\u624b\u9593\u3092\u3042\u307e\u308a\u304b\u3051\u305a\u306b\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u8a2d\u8a08\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u4f5c\u308a\u305f\u3044\u3001\u30d7\u30ed\u30bb\u30b9\u5316\u3057\u305f\u3044\u3068\u3044\u3046\u65b9\u306b\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><a class=\"button button-blue\" target=\"_blank\" href=\"https:\/\/hldc.co.jp\/blog\/2020\/09\/16\/4884\/\" onclick=\"gtag('event', 'Click', {'event_category': 'BlogLink','event_label': 'to4884_from5544'});\" style=\"margin-top:10px;\">\u8aad\u3093\u3067\u307f\u308b<\/a>\n\t\t\t\t<\/div><div class='clear'><\/div>\n<\/p><\/div>\n\n\n\n<div class=\"box_border_gray\">\n<h5>CONTENTS<\/h5>\n<ol>\n<li><a href=\"#cont1\">\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3068\u306f\uff1f<\/a><\/li>\n<li><a href=\"#cont2\">\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u7528\u8a9e<\/a><\/li>\n<li><a href=\"#cont3\">OSS\u306b\u306f\u3069\u3093\u306a\u30c4\u30fc\u30eb\u304c\u3042\u308b\u304b<\/a><\/li>\n<li><a href=\"#cont4\">\u3055\u3063\u305d\u304f\u5c0e\u5165\u3057\u3066\u307f\u305f<\/a><\/li>\n<li><a href=\"#cont5\">\u4f7f\u3063\u3066\u307f\u305f\u611f\u60f3<\/a><\/li>\n<li><a href=\"#cont6\">\u307e\u3068\u3081<\/a><\/li>\n<\/ol>\n<\/div>\n\n\n\n<div id=\"cont1\" class=\"anchor\">&nbsp;<\/div>\n\n\n\n<h2 class=\"wp-block-heading title\">\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>\u30c4\u30fc\u30eb\u306e\u8a71\u306e\u524d\u306b\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u300d\u306b\u3064\u3044\u3066\u3001\u5c11\u3057\u8aac\u660e\u3057\u305f\u3044\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3068\u306f<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u500b\u3005\u306e\u30e6\u30cb\u30c3\u30c8\u3001\u3059\u306a\u308f\u3061\u30011\u3064\u4ee5\u4e0a\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30d7\u30ed\u30b0\u30e9\u30e0\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u4f7f\u7528\u306b\u9069\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u6c7a\u5b9a\u3059\u308b\u305f\u3081\u306b\u3001\u95a2\u9023\u3059\u308b\u5236\u5fa1\u30c7\u30fc\u30bf\u3001\u4f7f\u7528\u624b\u9806\u3001\u64cd\u4f5c\u624b\u9806\u3068\u3068\u3082\u306b\u30c6\u30b9\u30c8\u3059\u308b\u624b\u6cd5\u3067\u3042\u308b\u3002<\/p>\n<cite> <a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E5%8D%98%E4%BD%93%E3%83%86%E3%82%B9%E3%83%88\">@Wikipedia<\/a> <\/cite><\/blockquote>\n\n\n\n<p>\u3068\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3068\u306f\u7c21\u5358\u306b\u8a00\u3046\u3068\u3001<br>\u5358\u4f53\u30c6\u30b9\u30c8(\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8)\u3092\u7c21\u5358\u306b\u884c\u3046\u305f\u3081\u306e\u30c4\u30fc\u30eb<br>\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6975\u7aef\u306a\u8a71\u3067\u3059\u304c\u3001<br>\u5358\u4f53\u30c6\u30b9\u30c8\u81ea\u4f53\u306f\u3001\u7d19\u3068\u30da\u30f3\u306b\u3088\u308b\u673a\u4e0a\u78ba\u8a8d\u3084\u3001\u30c7\u30d0\u30c3\u30ac\u30fc\u3092\u7528\u3044\u30661\u500b1\u500b\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u306e\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u3082\u5b9f\u65bd\u3067\u304d\u307e\u3059\u3002<br>\u305f\u3060\u3001\u81a8\u5927\u306a\u95a2\u6570\u3092\u3053\u306e\u65b9\u6cd5\u3067\u30c6\u30b9\u30c8\u3059\u308b\u3068\u3044\u3046\u306e\u306f\u6642\u9593\u3084\u624b\u9593\u304c\u639b\u304b\u308a\u3059\u304e\u308b\u305f\u3081\u3001\u73fe\u5b9f\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u3068\u3001<br>\u5404\u95a2\u6570\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u3068\u3057\u3066\u7528\u610f\u3057\u305f\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306b\u6cbf\u3063\u3066\u3001\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3057\u3001\u7d50\u679c\u3092\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3059\u308b\u4e8b\u3067\u4ee5\u4e0b\u306e2\u70b9\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul>\n<li>\u30fb<strong>\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u7d50\u679c\u304c\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3055\u308c\u308b \u2192 <strong>\u300e\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316<strong><strong>\u300f<\/strong><\/strong><\/strong><\/strong><\/li>\n\n\n\n<li><strong>\u30fb\u4e00\u5ea6\u4f5c\u3063\u3066\u3055\u3048\u3057\u307e\u3048\u3070\u4f55\u5ea6\u3067\u3082\u30c6\u30b9\u30c8\u3067\u304d\u308b \u2192 <strong>\u300e\u30c6\u30b9\u30c8\u306e\u518d\u73fe\u6027<\/strong>\u306e\u78ba\u4fdd<strong><strong>\u300f<\/strong><\/strong><\/strong><\/li>\n<\/ul>\n\n\n\n<div id=\"cont2\" class=\"anchor\">&nbsp;<\/div>\n\n\n\n<h2 class=\"wp-block-heading title\">\u5358\u4f53\u30c6\u30b9\u30c8\u306e\u7528\u8a9e<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u306b\u3042\u305f\u3063\u3066\u3001\u3088\u304f\u4f7f\u308f\u308c\u308b\u7528\u8a9e\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">&nbsp;\u30c9\u30e9\u30a4\u30d0<\/h4>\n\n\n\n<p>\u30c9\u30e9\u30a4\u30d0\u3068\u306f\u3001\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u4e0a\u4f4d\u95a2\u6570\u306e\u4ee3\u7528\u3068\u306a\u308b\u4ed5\u7d44\u307f\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u30b9\u30bf\u30d6<\/h4>\n\n\n\n<p>\u30c6\u30b9\u30c8\u5bfe\u8c61\u95a2\u6570\u5185\u3067\u547c\u3070\u308c\u308b\u95a2\u6570\u3084\u5909\u6570\u306e\u4ee3\u308f\u308a\u306b\u306a\u308b\u4ed5\u7d44\u307f\u3092\u6307\u3057\u307e\u3059\u3002<br>\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u95a2\u6570\u306b\u53c2\u7167\u3059\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3084\u5024\u3092\u53c2\u7167\u3059\u308b\u95a2\u6570\u306a\u3069\u304c\u3042\u308c\u3070\u3001\u30b9\u30bf\u30d6\u3092\u4f5c\u3063\u3066\u5bfe\u5fdc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u57fa\u672c\u7684\u306b\u30c6\u30b9\u30c8\u3092\u9032\u3081\u308b\u305f\u3081\u306b\u6c7a\u307e\u3063\u305f\u56fa\u5b9a\u5024\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u30e2\u30c3\u30af<\/h4>\n\n\n\n<p>\u30c6\u30b9\u30c8\u5bfe\u8c61\u95a2\u6570\u5185\u3067\u3001\u547c\u3070\u308c\u308b\u95a2\u6570\u3084\u5909\u6570\u306e\u547c\u3073\u51fa\u3057\u3084\u547c\u3073\u51fa\u3057\u65b9\u306b\u5fdc\u3058\u305f\u5024\u3084\u30a8\u30e9\u30fc\u3092\u8fd4\u3059\u4ed5\u7d44\u307f\u3092\u6307\u3057\u307e\u3059\u3002<br>\u30e2\u30c3\u30af\u6a5f\u80fd\u306f\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u306b\u3088\u3063\u3066\u6a5f\u80fd\u3092\u6301\u305f\u306a\u3044\u5834\u5408\u3084\u3001\u4ed6\u306e\u30c4\u30fc\u30eb\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u5b9f\u73fe\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br>\u5b9f\u88c5\u3059\u308b\u5834\u5408\u3001\u3042\u308b\u7a0b\u5ea6\u5143\u3005\u3088\u3070\u308c\u308b\u51e6\u7406\u3092\u7c21\u6613\u5316\u3057\u305f\u51e6\u7406\u3092\u884c\u3046\u305f\u3081\u3001\u5143\u3005\u306e\u51e6\u7406\u81ea\u4f53\u306e\u5185\u90e8\u7684\u306a\u77e5\u8b58\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u30b9\u30bf\u30d6\u3068\u9055\u3044\u3001\u610f\u8b58\u3059\u308b\u5bfe\u8c61\u306f\u547c\u3073\u51fa\u3057\u5074\u306e\u5165\u529b\u304c\u6b63\u3057\u3044\u304b\u3092\u610f\u8b58\u3057\u305f\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u300c\u3042\u308b\u51e6\u7406\u304c\u8907\u6570\u56de\u547c\u3070\u308c\u308b\u5834\u5408\u306b\u3001\u547c\u3070\u308c\u305f\u56de\u6570\u3084\u5f15\u6570\u3092\u8a18\u9332\u3057\u5f15\u6570\u306b\u5fdc\u3058\u3066\u51fa\u529b\u304c\u5909\u308f\u308b\u3088\u3046\u306a\u30c6\u30b9\u30c8\u3092\u3057\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u5834\u5408\u306f\u3001\u30e2\u30c3\u30af\u6a5f\u80fd\u306e\u5229\u7528\u304c\u5fc5\u8981\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><a href=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695.png\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"634\" src=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695-1024x634.png\" alt=\"\" class=\"wp-image-5786\" srcset=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695-1024x634.png 1024w, https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695-300x186.png 300w, https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695-768x476.png 768w, https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695-1080x669.png 1080w, https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/43bac268b9b962fa1da92c3f5971d695.png 1130w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n<div id=\"cont3\" class=\"anchor\">&nbsp;<\/div>\n\n\n\n<h2 class=\"wp-block-heading title\">OSS\u306b\u306f\u3069\u3093\u306a\u30c4\u30fc\u30eb\u304c\u3042\u308b\u304b<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u306f\u3001\u6709\u511f\u306e\u3082\u306e\u3068\u7121\u511f\u306e\u3082\u306e\u306b\u5927\u5225\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6709\u511f\u306e\u3082\u306e\u306f\u3001<br>\u5148\u307b\u3069\u306e\u30c9\u30e9\u30a4\u30d0\u30fb\u30b9\u30bf\u30d6\uff0f\u30e2\u30c3\u30af\u306a\u3069\u304c\u4e88\u3081\u7528\u610f\u3055\u308c\u3066\u3044\u305f\u308a\u3001<br>GUI\u4e0a\u306b\u5165\u529b\u3059\u308b\u3060\u3051\u3067\u5358\u4f53\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u304c\u751f\u6210\u3055\u308c\u308b\u306a\u3069\u3001<br>\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u6709\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u65b9\u3067\u3001OSS\u3084\u30d5\u30ea\u30fc\u306e\u3082\u306e\u306f\u3001<br>\u30c9\u30e9\u30a4\u30d0\u30fb\u30b9\u30bf\u30d6\uff0f\u30e2\u30c3\u30af\u306e\u5b9f\u88c5\u3084\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u4f5c\u6210\u306f\u81ea\u8eab\u3067\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u307e\u3067\u5358\u306b\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u300d\u3068\u547c\u3093\u3067\u304a\u308a\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306b\u306f<br><strong>\u524d\u8005\u304c\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u300d<\/strong>\u3068\u547c\u3070\u308c\u3001<br><strong>\u5f8c\u8005\u306f\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300d<\/strong>\u3068\u547c\u3070\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\uff0f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u5171\u306b\u3001\u591a\u7a2e\u591a\u69d8\u306a\u3082\u306e\u304c\u3042\u308a\u3001<br><a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E3%83%A6%E3%83%8B%E3%83%83%E3%83%88%E3%83%86%E3%82%B9%E3%83%88%E3%83%BB%E3%83%95%E3%83%AC%E3%83%BC%E3%83%A0%E3%83%AF%E3%83%BC%E3%82%AF%E4%B8%80%E8%A6%A7#C\">Wikipedia<\/a>\u3067\u3082\u4e00\u90e8\u304c\u4e00\u89a7\u3067\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u4e2d\u3067\u3082\u3001<\/p>\n\n\n\n<ul>\n<li>\u30fb\u5b9f\u7e3e\u304c\u3042\u308b\u3082\u306e<\/li>\n\n\n\n<li>\u30fb\u958b\u767a\u304c\u7d99\u7d9a\u3057\u3066\u3044\u308b\u3082\u306e<\/li>\n\n\n\n<li>\u30fb\u7d44\u8fbc\u307f\u3067\u3082\u4f7f\u3048\u308b\u3082\u306e<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u306a\u308b\u3068\u6570\u304c\u9650\u3089\u308c\u3066\u304d\u307e\u3059\u304c\u3001<br>\u73fe\u5728\u4ee3\u8868\u7684\u306b\u4e0a\u304c\u308b\u3082\u306e\u3068\u3057\u3066\u306f\u3001\u4ee5\u4e0b\u306e3\u3064\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/google\/googletest\">Google Test(Google C++ Testing Framework)<\/a><\/h4>\n\n\n\n<p>Google\u304cGitHub\u3067\u63d0\u4f9b\u3057\u3066\u3044\u308b\u5358\u4f53\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3002<br>\u65e5\u672c\u8a9e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3084\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306a\u3069\u3082\u3042\u308a\u60c5\u5831\u3082\u63a2\u3057\u3084\u3059\u3044\u5370\u8c61\u3067\u3059\u3002<br>Google Mock\u3068\u3044\u3046\u30e2\u30c3\u30af\u6a5f\u80fd\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u306e\u304cC++\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306a\u308b\u305f\u3081C\u8a00\u8a9e\u306e\u95a2\u6570\u547c\u3073\u51fa\u3057\u306f\u901a\u5e38\u5bfe\u5fdc\u3067\u304d\u306a\u3044\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002<br>\u305f\u3060\u3001C++11\u4ee5\u4e0a\u306e\u74b0\u5883\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u306a\u3069\u3001C\u8a00\u8a9e\u3088\u308a\u306fC++\u3092\u4e3b\u3068\u3057\u3066\u3044\u308b\u5370\u8c61\u304c\u3042\u308a\u3001\u958b\u767a\u74b0\u5883\u3084\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306a\u3069\u306b\u3088\u3063\u3066\u306f\u305d\u306e\u307e\u307e\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/cpputest\/cpputest\">CppUTest<\/a><\/h4>\n\n\n\n<p>GitHub\u4e0a\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bOSS\u5358\u4f53\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3002<br>\u65e5\u672c\u8a9e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306a\u3069\u306f\u3042\u308a\u307e\u305b\u3093\u304cGoogle Test\u307b\u3069\u3067\u306f\u306a\u3044\u306b\u305b\u3088\u60c5\u5831\u306f\u63a2\u3057\u3084\u3059\u3044\u5370\u8c61\u3067\u3059\u3002<br>CppUMock\u3068\u3044\u3046\u30e2\u30c3\u30af\u6a5f\u80fd\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7d44\u307f\u8fbc\u307e\u308c\u3066\u304a\u308a\u3001C\u8a00\u8a9e\u95a2\u6570\u5411\u3051\u306e\u30e2\u30c3\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3082\u3042\u308b\u305f\u3081\u7d44\u8fbc\u307f\u5411\u3051\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u9069\u5fdc\u3057\u3084\u3059\u305d\u3046\u306a\u5370\u8c61\u3092\u53d7\u3051\u307e\u3059\u3002<br>C++\u74b0\u5883\u30d9\u30fc\u30b9\u306b\u306a\u308b\u306e\u3067\u3001\u30d3\u30eb\u30c9\u74b0\u5883\u304cC++\u3067\u3082\u554f\u984c\u306a\u3044\u3068\u3044\u3046\u65b9\u3067\u3042\u308c\u3070\u4e00\u756a\u4f7f\u3044\u3084\u3059\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/ThrowTheSwitch\/Unity\">Unity(+CMock)<\/a><\/h4>\n\n\n\n<p>\u3053\u3061\u3089\u3082GitHub\u4e0a\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u3001\u5358\u4f53\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3002<br>\u540c\u3058\u540d\u524d\u306e\u6709\u540d\u306a\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u7d71\u5408\u958b\u767a\u74b0\u5883\u304c\u3042\u308b\u305f\u3081\u60c5\u5831\u3092\u63a2\u3057\u306b\u304f\u3044\u5370\u8c61\u304c\u3042\u308a\u307e\u3059\u3002<br>\u5225\u9014\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304cCMock\u3068\u3044\u3046\u30e2\u30c3\u30af\u6a5f\u80fd\u3068\u9023\u643a\u3067\u304d\u3001\u3059\u3079\u3066C\u8a00\u8a9e\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u305f\u3081\u7d44\u8fbc\u307f\u5411\u3051\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u3082\u9069\u7528\u3057\u3084\u3059\u305d\u3046\u306a\u5370\u8c61\u3092\u53d7\u3051\u307e\u3059\u3002<br>C\u8a00\u8a9e\u30d9\u30fc\u30b9\u306e\u70ba\u3001\u30d3\u30eb\u30c9\u74b0\u5883\u542b\u3081\u3066C\u306e\u77e5\u8b58\u306e\u7bc4\u56f2\u306e\u307f\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u306e\u304c\u7279\u5fb4\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div id=\"cont4\" class=\"anchor\">&nbsp;<\/div>\n\n\n\n<h2 class=\"wp-block-heading title\">\u3055\u3063\u305d\u304f\u5c0e\u5165\u3057\u3066\u307f\u305f<\/h2>\n\n\n\n<p>\u4eca\u56de\u306fVMWare\u4e0a\u306b\u69cb\u7bc9\u3057\u305fUbuntu\u5185\u3067\u3001Google Test\u306e\u5165\u624b\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u307e\u3067\u3092\u3084\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5165\u624b<\/h4>\n\n\n\n<p>\u4e0a\u8a18\u306eGit\u304b\u3089Zip\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3059\u308b\u304b\u3001Git\u304b\u3089\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5165\u624b\u3057\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306eLinux\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u306e\u4f5c\u696d\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"monokai\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">>sudo apt install git\n\u3000\u2026 Git\u304b\u3089clone\u3059\u308b\u5834\u5408\u306f\u5fc5\u8981\n\n>sudo apt install cmake\n\u3000\u2026 CMake\u3092\u5229\u7528\u3057\u3066\u30d3\u30eb\u30c9\u3059\u308b\u5834\u5408\u306f\u5fc5\u8981\n\n>git clone https:\/\/github.com\/google\/googletest.git\n\u3000\u2026 Git\u304b\u3089\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u5165\u624b<\/pre>\n\n\n\n<p>Git\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u3001\u3042\u3089\u304b\u3058\u3081Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u307e\u305fGoogle Test\u306fCMake\u304b\u3089\u697d\u306b\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001CMake\u3082\u4f75\u305b\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d3\u30eb\u30c9<\/h4>\n\n\n\n<p>\u74b0\u5883\u306b\u3088\u3063\u3066C++\u30d3\u30eb\u30c9\u74b0\u5883(g++\u7b49)\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<br>\u30d3\u30eb\u30c9\u74b0\u5883\u304c\u306a\u3044\u5834\u5408CMake\u5b9f\u884c\u6642\u306b\u30d3\u30eb\u30c9\u30a8\u30e9\u30fc\u3068\u306a\u308b\u305f\u3081\u3001\u3042\u3089\u304b\u3058\u3081\u4f5c\u696d\u4e2d\u306eLinux\u74b0\u5883\u3067\u306e\u30d3\u30eb\u30c9\u74b0\u5883\u3092\u5165\u624b\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u3082\u3057\u30d3\u30eb\u30c9\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306fbuild\u30d5\u30a9\u30eb\u30c0\u4ee5\u4e0b\u3092\u524a\u9664\u3057\u3001\u30a8\u30e9\u30fc\u3092\u89e3\u6c7a\u3057\u305f\u5f8c\u306bbuild\u30d5\u30a9\u30eb\u30c0\u306e\u4f5c\u6210\u304b\u3089\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>(\u82e5\u5e72\u30cf\u30de\u308a\u307e\u3057\u305f&#8230;\u3002)<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"monokai\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">>sudo apt-get update &amp;&amp; sudo apt-get install build-essential\n\u3000\u3000\u2026 \u74b0\u5883\u306b\u3088\u3063\u3066\u306fg++(gcc)\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\n\n>mkdir build &amp;&amp; cd build\n\u3000\u3000\u2026 \u30d3\u30eb\u30c9\u5f8c\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u7528\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u79fb\u52d5\n\n>cmake ..\n\u3000\u3000\u2026 \u30eb\u30fc\u30c8\u30d5\u30a9\u30eb\u30c0(\u3053\u306e\u5834\u5408\u306fgoogletest\u30d5\u30a9\u30eb\u30c0)\u306eCMakeLists.txt\u306e\u3042\u308b\u968e\u5c64\u3092\u6307\u5b9a\u3057\u3066CMake\u30d3\u30eb\u30c9\n\n>make\n\u3000\u3000\u2026 build\u30d5\u30a9\u30eb\u30c0\u4e0a\u306b\u30d3\u30eb\u30c9\u74b0\u5883\u3068Makefile\u304c\u751f\u6210\u3055\u308c\u308b\u306e\u3067Make\u3059\u308b\n\nScanning dependencies of target gtest\n\u2026\n[100%] Built target gtest_main                                              \n\u3000\u3000\u2026 \u3053\u308c\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u30d3\u30eb\u30c9\u5b8c\u4e86       <\/pre>\n\n\n\n<p>\u30d3\u30eb\u30c9\u306b\u6210\u529f\u3059\u308b\u3068\u3001.\/build\/lib \u30d5\u30a9\u30eb\u30c0\u4ee5\u4e0b\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<br>\u4ed6\u306e\u74b0\u5883\u304b\u3089\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066Google Test\u7528\u306e\u30d8\u30c3\u30c0\u30d5\u30a1\u30a4\u30eb\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u3001\u5171\u6709\u30d8\u30c3\u30c0\u30fb\u30e9\u30a4\u30d6\u30e9\u30ea\u30ea\u30f3\u30af\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"monokai\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">>sudo cp -r ~\/googletest\/googlemock\/include\/gmock \/usr\/local\/include\/gmock\n>sudo cp -r ~\/googletest\/googletest\/include\/gtest \/usr\/local\/include\/gtest\n>sudo cp ~\/googletest\/build\/lib\/*.a \/usr\/local\/lib\/<\/pre>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c<\/h4>\n\n\n\n<p>\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u53c2\u8003\u3068\u3057\u3066\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001<br>\u305d\u308c\u3092\u30d3\u30eb\u30c9\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<br>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u3001\u5bfe\u5fdc\u3059\u308b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br>\u968e\u4e57\u3092\u3059\u308b\u95a2\u6570Factorial\u306b\u5bfe\u3057\u30663\u3064\u306e\u30c6\u30b9\u30c8\u30d1\u30bf\u30fc\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"c\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#include \"sample1.h\"\n\n\/\/ Returns n! (the factorial of n).  For negative n, n! is defined to be 1.\nint Factorial(int n) {\n  int result = 1;\n  for (int i = 1; i &lt;= n; i++) {\n    result *= i;\n  }\n\n  return result;\n}<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"c\" data-enlighter-theme=\"atomic\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/\/\u5bfe\u8c61\u95a2\u6570\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u5ba3\u8a00\u304c\u5fc5\u8981\n#include \"sample1.h\"\n\/\/googletest\u306e\u30d8\u30c3\u30c0  \n#include \"gtest\/gtest.h\"\n\n\/\/TEST\u30de\u30af\u30ed\u306e\u7b2c\u4e00\u5f15\u6570\u304c\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u540d\u3001\u7b2c\u4e8c\u5f15\u6570\u304c\u30c6\u30b9\u30c8\u5185\u5bb9\n\/\/EXPECT_EQ()\u304c\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3(\u30c6\u30b9\u30c8\u5224\u5b9a\u51e6\u7406)\nTEST(FactorialTest, Negative) {      \n  EXPECT_EQ(1, Factorial(-5));       \n  EXPECT_EQ(1, Factorial(-1));\n  EXPECT_GT(Factorial(-10), 0);\n}\n\n\/\/ Tests factorial of 0.\nTEST(FactorialTest, Zero) {\n  EXPECT_EQ(1, Factorial(0));\n}\n\n\/\/ Tests factorial of positive numbers.\nTEST(FactorialTest, Positive) {\n  EXPECT_EQ(1, Factorial(1));\n  EXPECT_EQ(2, Factorial(2));\n  EXPECT_EQ(6, Factorial(3));\n  EXPECT_EQ(40320, Factorial(8));\n}<\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u30c6\u30b9\u30c8\u5224\u5b9a\u306b\u306f&#8221;\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3&#8221;\u3068\u547c\u3070\u308c\u308b\u5224\u5b9a\u7528\u306e\u30de\u30af\u30ed\u3092\u5229\u7528\u3057\u307e\u3059\u3002<br>\u30de\u30af\u30ed\u540d\u306a\u3069\u306e\u7d30\u90e8\u306f\u7570\u306a\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u4ed6\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3082\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u4e0a\u8a18\u306eEXPECT_EQ()\u306f\u7b2c\u4e00\u5f15\u6570\u304c\u671f\u5f85\u5024\u3001\u7b2c\u4e8c\u5f15\u6570\u304c\u5224\u5b9a\u3057\u305f\u3044\u51e6\u7406\u3092\u8868\u3057\u307e\u3059\u3002<br>EXPECT_EQ(2, Factorial(2))\u3067\u3042\u308c\u3070Factorial\u95a2\u6570\u306e\u5f15\u6570\u306b2\u3092\u4ee3\u5165\u3057\u3066\u5b9f\u884c\u3057\u305f\u3068\u304d\u3001<br>\u305d\u306e\u623b\u308a\u5024\u304c2\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b\u51e6\u7406\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>EXPECT_GT(Factorial(-10), 0)\u3067\u3042\u308c\u3070\u3001<br>\u7b2c\u4e00\u5f15\u6570\u306e\u7d50\u679c\uff1e\u7b2c\u4e8c\u5f15\u6570\u3067\u3042\u308b\u304b\u3092\u5224\u5b9a\u3059\u308b\u51e6\u7406\u3001\u3068\u3044\u3046\u5f62\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u4ed6\u3001\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3084NULL\u30c1\u30a7\u30c3\u30af\u306a\u3069\u3001\u69d8\u3005\u306a\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>GoogleTest\u306e\u5834\u5408\u3001TEST\u30de\u30af\u30ed\u3067\u5b9a\u7fa9\u3057\u305f\u5404\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u306f\u81ea\u52d5\u7684\u306b\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306e\u5bfe\u8c61\u3068\u3057\u3066\u7d44\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<br>(\u30c6\u30b9\u30c8\u30c7\u30a3\u30b9\u30ab\u30d0\u30ea\u6a5f\u80fd\u3068\u3044\u3044\u307e\u3059)<\/p>\n\n\n\n<p>\u3067\u306f\u5b9f\u969b\u306b\u30d3\u30eb\u30c9\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"monokai\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">>cd ~\/googletest\/googletest\/samples\/\n\u3000\u3000\u2026 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\n\n>g++ sample1.cc sample1_unittest.cc -pthread -lgtest_main -lgtest\n\u3000\u3000\u2026 g++\u3067\u30d3\u30eb\u30c9<\/pre>\n\n\n\n<p>sample.cc\u304c\u30c6\u30b9\u30c8\u5bfe\u8c61\u306e\u30b3\u30fc\u30c9\u3001sample1_unitest.cc\u304c\u5358\u4f53\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<br>\u307e\u305f\u3001Google Test\u3067\u306e\u30d3\u30eb\u30c9\u306b\u5fc5\u8981\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u3068\u3057\u3066 \u4ee5\u4e0b\u306e\u6307\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"monokai\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"false\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">-lpthread\n\u3000\u3000\u2026 \u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\n\n-lgtest\n\u3000\u3000\u2026Google Test\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53c2\u7167\n\n-lgtest_main\n\u3000\u3000\u2026 \u5358\u4f53\u30c6\u30b9\u30c8\u306emain\u51e6\u7406\u53c2\u7167(main\u95a2\u6570\u3092\u81ea\u4f5c\u3057\u306a\u3044\u5834\u5408\u5fc5\u8981)<\/pre>\n\n\n\n<p>\u30d3\u30eb\u30c9\u306b\u6210\u529f\u3059\u308b\u3068\u5358\u4f53\u30c6\u30b9\u30c8\u7528\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u306e\u3067\u65e9\u901f\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/9c17ab9125088ef79a0756ae1a184c47.png\"><img decoding=\"async\" loading=\"lazy\" width=\"986\" height=\"476\" src=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/9c17ab9125088ef79a0756ae1a184c47.png\" alt=\"\" class=\"wp-image-5804\" srcset=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/9c17ab9125088ef79a0756ae1a184c47.png 986w, https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/9c17ab9125088ef79a0756ae1a184c47-300x145.png 300w, https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/01\/9c17ab9125088ef79a0756ae1a184c47-768x371.png 768w\" sizes=\"(max-width: 986px) 100vw, 986px\" \/><\/a><\/figure><\/div>\n\n\n<div id=\"cont5\" class=\"anchor\">&nbsp;<\/div>\n\n\n\n<h2 class=\"wp-block-heading title\">\u4f7f\u3063\u3066\u307f\u305f\u611f\u60f3<\/h2>\n\n\n\n<p>\u30cd\u30c3\u30c8\u691c\u7d22\u3067\u3082\u4e00\u756a\u60c5\u5831\u91cf\u306e\u591a\u3044\u3068\u601d\u308f\u308c\u308bGoogle Test\u3092\u5c0e\u5165\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br>\u52d5\u304b\u3057\u3066\u307f\u308b\u3068\u3053\u308d\u307e\u3067\u306f\u7c21\u5358\u3067\u3057\u305f\u304c\u3001\u7d44\u8fbc\u307f\u958b\u767a\u306e\u5834\u5408\u3001\u305d\u306e\u5f8c\u304c\u672c\u5f53\u306b\u5927\u5909\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u672c\u6765\u306f\u5404\u958b\u767a\u74b0\u5883\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u30ec\u30b8\u30b9\u30bf\u3084API\u3092\u3001<br>\u30b9\u30bf\u30d6\u3001\u3042\u308b\u3044\u306f\u30e2\u30c3\u30af\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3066\u3044\u304f<\/strong>\u4f5c\u696d\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3053\u308c\u306f\u5358\u4f53\u30c6\u30b9\u30c8\u306b\u9650\u3063\u305f\u8a71\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u3001<br><strong>\u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u3092\u3069\u3046\u3059\u308b\u304b\u3068\u3044\u3063\u305f\u554f\u984c<\/strong>\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u3067\u306f\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b\u3089\u3001<br>\u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u306b\u5bfe\u3057\u3066\u3082\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u7528\u610f\u3057\u3066\u3044\u304f\u306e\u306f\u304b\u306a\u308a\u6642\u9593\u304c\u304b\u304b\u308b\u3060\u308d\u3046\u3068\u3044\u3046\u5370\u8c61\u3092\u53d7\u3051\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6709\u511f\u30c4\u30fc\u30eb\u306e\u5834\u5408\u3001\u7279\u306b\u7d44\u8fbc\u307f\u7cfb\u5bfe\u5fdc\u306e\u30c4\u30fc\u30eb\u3067\u3042\u308c\u3070\u3001\u30de\u30a4\u30b3\u30f3\u3084\u30b3\u30f3\u30d1\u30a4\u30e9\u5358\u4f4d\u306e\u5bfe\u5fdc\u3068\u3057\u3066\u3001<br>\u30ec\u30b8\u30b9\u30bf\u3084API\u306a\u3069\u306e\u30b9\u30bf\u30d6\uff0f\u30e2\u30c3\u30af\u306e\u751f\u6210\u304c\u3001GUI\u4e0a\u3067\u671f\u5f85\u5024\u3092\u66f8\u304f\u3060\u3051\u3067\u30b3\u30fc\u30c9\u751f\u6210\u3055\u308c\u305f\u308a\u3068\u3001<br>\u904b\u7528\u958b\u59cb\u306e\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u591a\u304f\u3001\u74b0\u5883\u306b\u9069\u5fdc\u3055\u305b\u308b\u305f\u3081\u306e\u521d\u671f\u30b3\u30b9\u30c8\u306f\u3042\u308b\u7a0b\u5ea6\u8efd\u6e1b\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u65b9\u3001\u6700\u521d\u304b\u3089API\u5236\u5fa1\u304c\u524d\u63d0\u3067\u30b9\u30bf\u30d6\/\u30e2\u30c3\u30af\u5316\u304c\u3057\u3084\u3059\u3044Linux\u74b0\u5883\u3067\u306e\u958b\u767a\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5c64\u306e\u307f\u306e\u958b\u767a\u3067\u3042\u308c\u3070\u3001<br>\u5143\u3005\u60f3\u5b9a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u8fd1\u3044\u4e8b\u3082\u3042\u308a\u307e\u3060\u9069\u7528\u3057\u3084\u3059\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div id=\"cont6\" class=\"anchor\">&nbsp;<\/div>\n\n\n\n<h2 class=\"wp-block-heading title\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u5358\u4f53\u30c6\u30b9\u30c8\u306f\u3001\u624b\u5143\u306b\u958b\u767a\u6a5f\u5668\u306e\u672c\u4f53\u304c\u306a\u304f\u3066\u3082\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30c6\u30b9\u30c8\u3067\u304d\u308b\u624b\u6bb5\u306e1\u3064\u3067\u3042\u308b\u305f\u3081\u3001<br>\u73fe\u5728\u306e\u72b6\u6cc1\u306e\u4e2d\u3067\u306e\u91cd\u8981\u5ea6\u306f\u9ad8\u307e\u3063\u3066\u3044\u308b\u3068\u8a00\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>OSS\u306a\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3067\u3042\u3063\u3066\u3082\u3001<br>\u5c0e\u5165\u624b\u9806\u3084\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u4f5c\u6210\u306e\u30cf\u30fc\u30c9\u30eb\u306f\u5927\u304d\u304f\u4e0b\u3052\u3089\u308c\u3066\u304a\u308a\u3001\u6e96\u5099\u307e\u3067\u306f\u304b\u306a\u308a\u5bb9\u6613\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u306f\u3044\u3048\u3001\u3044\u3056\u904b\u7528\u3068\u306a\u308b\u3068\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308b\u5206\u8ca0\u62c5\u3082\u5927\u304d\u304f\u3001<br>\u30ec\u30ac\u30b7\u30fc\u30b3\u30fc\u30c9\u3082\u542b\u3081\u3066\u4e00\u6c17\u306b\u9069\u7528\u3057\u3059\u3050\u306b\u9032\u3081\u3089\u308c\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul>\n<li>\u65b0\u898f\u3001\u307e\u305f\u306f\u5909\u66f4\u3057\u305f\u90e8\u5206\u306a\u3069\u304b\u3089\u59cb\u3081\u308b<\/li>\n\n\n\n<li>\u30d1\u30a4\u30ed\u30c3\u30c8\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u904b\u7528\u65b9\u6cd5\u3092\u56fa\u3081\u3001\u5c11\u3057\u3065\u3064\u904b\u7528\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5897\u3084\u3057\u3066\u3044\u304f<\/li>\n<\/ul>\n\n\n\n<p>\u3068\u3044\u3063\u305f\u3001\u9069\u5fdc\u7bc4\u56f2\u3092\u614e\u91cd\u306b\u5e83\u3052\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n<div class=\"box_border_gray\">\n<h3 id=\"seminar_title\">\u30cf\u30fc\u30c8\u30e9\u30f3\u30c9\u30fb\u30c7\u30fc\u30bf\u3068\u3044\u3048\u3070\u52d5\u7684\u89e3\u6790\u30c4\u30fc\u30eb\u3010DT+\u3011<\/h3>\n<div class='one_half'>\n\t\t\t\t\t<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2021\/12\/df98a638b295348fdd6e42fb4e05853e.png\" alt=\"\" width=\"500\" height=\"375\">\n\t\t\t\t<\/div>\n<div class='one_half et_column_last'>\n\t\t\t\t\t\u5b9f\u6a5f\u3092\u52d5\u304b\u3057\u3066\u3001\u300c\u30ca\u30de\u306e\u6319\u52d5\u300d\u3092\u89e3\u6790\u3059\u308b\u52d5\u7684\u89e3\u6790\u3002\n\u30bd\u30d5\u30c8\u306e\u5b9f\u884c\u7d4c\u8def\u3084\u5b9f\u884c\u6642\u9593\u304b\u3089\u3001\u30cf\u30fc\u30c9\u5074\u306e\u6319\u52d5\u307e\u3067\uff01\u5168\u90e8\u3072\u3068\u624b\u9593\u3067\u89e3\u6790\u3067\u304d\u307e\u3059\u3002<\/p>\n<p style=\"padding-top: 15px;\">\n<a class=\"button button-blue\" target=\"_blank\" href=\"https:\/\/hldc.co.jp\/product_service\/development\/dtplus\/\" onclick=\"gtag('event', 'Click', {'event_category': 'WebLink','event_label': 'toDTplus\u88fd\u54c1\u30da\u30fc\u30b8_from5544});\">DT+\u306e\u8a73\u7d30\u306f\u3053\u3061\u3089<\/a>\n<\/p>\n\t\t\t\t<\/div><div class='clear'><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u73fe\u5834\u306b\u5fc5\u8981\u306aOSS (\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2) \u306e\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u3068\u306f\u300d\u3067\u89e6\u308c\u305f\u3044\u304f\u3064\u304b\u306eOSS\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304f\u30b7\u30ea\u30fc\u30ba\u3002\u524d\u56de\u306f\u300ePlantUML\u300f\u3068\u3044\u3046\u8a2d\u8a08\u30d5\u30a7\u30fc\u30ba\u3067\u4f7f\u3048\u308b\u30c4\u30fc\u30eb\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u304b\u3089\u672c\u683c\u7684\u306b\u30c6\u30b9\u30c8\u3067\u4f7f\u7528\u3059\u308b\u30c4\u30fc\u30eb\u3068\u3057\u3066\u3001\u307e\u305a\u306f\u300c\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u300d\u3092\u4f7f\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u5358\u4f53\u30c6\u30b9\u30c8\u30c4\u30fc\u30eb\u306fOSS\u3067\u7d44\u307f\u8fbc\u307f\u3067\u5229\u7528\u3067\u304d\u308b\u3082\u306e\u304c\u3042\u308a\u3001\u74b0\u5883\u69cb\u7bc9\u3082\u7528\u610f\u306b\u53ef\u80fd\u3067\u3059\u3002\u305f\u3060\u904b\u7528\u307e\u3067\u8003\u3048\u308b\u3068\u9069\u7528\u306f\u614e\u91cd\u306b\u3001\u30b9\u30e2\u30fc\u30eb\u30b9\u30bf\u30fc\u30c8\u3067\u9032\u3081\u3066\u3044\u304f\u306e\u304c\u3088\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":5,"featured_media":2783,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_links_to":"","_links_to_target":""},"categories":[30,2],"tags":[],"featured_image_src":"https:\/\/hldc.co.jp\/blog\/wp-content\/uploads\/2019\/06\/Lovepik_com-500534745-out-of-the-labyrinth-400x250.jpg","post_categories":[{"term_id":30,"name":"OSS","link":"https:\/\/hldc.co.jp\/blog\/category\/oss\/"},{"term_id":2,"name":"\u6280\u8853\u60c5\u5831","link":"https:\/\/hldc.co.jp\/blog\/category\/technical\/"}],"_links":{"self":[{"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5544"}],"collection":[{"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=5544"}],"version-history":[{"count":9,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5544\/revisions"}],"predecessor-version":[{"id":14212,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/posts\/5544\/revisions\/14212"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/media\/2783"}],"wp:attachment":[{"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=5544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=5544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hldc.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=5544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}