From e97742b913b6c7748cda348c9c739047ccfc5392 Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Tue, 7 Aug 2012 19:38:11 -0700 Subject: [PATCH 01/13] Create gh-pages branch via GitHub --- images/bkg.png | Bin 0 -> 4261 bytes images/blacktocat.png | Bin 0 -> 1266 bytes index.html | 62 +++++++++ javascripts/main.js | 1 + params.json | 1 + stylesheets/pygment_trac.css | 68 ++++++++++ stylesheets/stylesheet.css | 247 +++++++++++++++++++++++++++++++++++ 7 files changed, 379 insertions(+) create mode 100644 images/bkg.png create mode 100644 images/blacktocat.png create mode 100644 index.html create mode 100644 javascripts/main.js create mode 100644 params.json create mode 100644 stylesheets/pygment_trac.css create mode 100644 stylesheets/stylesheet.css diff --git a/images/bkg.png b/images/bkg.png new file mode 100644 index 0000000000000000000000000000000000000000..fcebb5b22999adb792afee1f74bcf4af91db8441 GIT binary patch literal 4261 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 E2cLQQbpQYW literal 0 HcmV?d00001 diff --git a/images/blacktocat.png b/images/blacktocat.png new file mode 100644 index 0000000000000000000000000000000000000000..273d5710a2e0968d77584ad073e4a089fbfd7e68 GIT binary patch literal 1266 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*9U+nA0*tB1$5BeXNr6bM+EIYV;~{3xK*A7;Nk-3KEmEQ%e+* zQqwc@Y?a>c-mj#PnPRIHZt82`Ti~3Uk?B!Ylp0*+7m{3+ootz+WN)WnQ(*-(AUCxn zQK2F?C$HG5!d3}vt`(3C64qBz04piUwpD^SD#ABF!8yMuRl!uxKsVXI%s|1+P|wiV z#N6CmN5ROz&_Lh7NZ-&%*U;R`*vQJjKmiJrfVLH-q*(>IxIyg#@@$ndN=gc>^!3Zj z%k|2Q_413-^$jg8EkR}&8R-I5=oVMzl_XZ^<`pZ$OmImpPA){ffi_eM3D1{oGuTzrd=COM+4n&cLd=IHa;5RX-@T zIKQ+g85kdF$}r8qu)}W=NFmTQR{lkqz(`5Vami0E%}vcK@pQ3O0?O#6WTsdd7+V+^ z8k(CJm>U_GSr{5xm>asenYlPSS~yx7IT;(l%)qAC#mvab6&Utr2Bs#4hOUN|=4MVV zCI+U?PDZXKZWgXEy`Fi+C5d^-sW5vpf%Zc6n&H)JD;QCfH z^og8&1M`mKzE)l;d=qjrb~vvJSy|Mouyo1dg^ni6?thVCs0yAf`Q@5aq}s+K9`V=C z{rP`=v-NB<-^nFOYBRV_`Rx;uVYQy^)9a}ALqMd-xJi4fVcRLrrgF#H^(z_`gmYNg z8`ZC~^QU(&GySnBKw|Qotw~8oCN7?p;&T4i?d&@L$Gl%$8&-dv`S`$=`T36X{>ZDw zT=kLd?0S^caPZI_ua^-qKl~;=EWB<}?CV->TJO$Qp2Pd-+ + + + + + + + + + + Cpputest by basvodde + + + + +
+
+

Cpputest

+

CppUTest unit testing and mocking framework for C/C++

+ +
+ Download as .zip + Download as .tar.gz + View on GitHub +
+
+
+ +
+
+

Welcome to CppUTest github page.

+ +

This is CppUTest

+ +
Some code here
+$ git fetch origin
+$ git checkout gh-pages
+
+ +

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

+ +

Designer Templates

+ +

We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

+ +

Rather Drive Stick?

+ +

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

+ +

Authors and Contributors

+ +

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

+ +

Support or Contact

+ +

Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.

+
+
+ + + + \ No newline at end of file diff --git a/javascripts/main.js b/javascripts/main.js new file mode 100644 index 000000000..d8135d37b --- /dev/null +++ b/javascripts/main.js @@ -0,0 +1 @@ +console.log('This would be the main JS file.'); diff --git a/params.json b/params.json new file mode 100644 index 000000000..60141920b --- /dev/null +++ b/params.json @@ -0,0 +1 @@ +{"note":"Don't delete this file! It's used internally to help with page regeneration.","name":"Cpputest","body":"### Welcome to CppUTest github page.\r\n\r\nThis is CppUTest\r\n\r\n```\r\nSome code here\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.","google":"","tagline":"CppUTest unit testing and mocking framework for C/C++"} \ No newline at end of file diff --git a/stylesheets/pygment_trac.css b/stylesheets/pygment_trac.css new file mode 100644 index 000000000..d1df6a210 --- /dev/null +++ b/stylesheets/pygment_trac.css @@ -0,0 +1,68 @@ +.highlight .c { color: #999988; font-style: italic } /* Comment */ +.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ +.highlight .k { font-weight: bold } /* Keyword */ +.highlight .o { font-weight: bold } /* Operator */ +.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ +.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ +.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ +.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #aa0000 } /* Generic.Error */ +.highlight .gh { color: #999999 } /* Generic.Heading */ +.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ +.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ +.highlight .go { color: #888888 } /* Generic.Output */ +.highlight .gp { color: #555555 } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */ +.highlight .gt { color: #aa0000 } /* Generic.Traceback */ +.highlight .kc { font-weight: bold } /* Keyword.Constant */ +.highlight .kd { font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { font-weight: bold } /* Keyword.Pseudo */ +.highlight .kr { font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ +.highlight .m { color: #009999 } /* Literal.Number */ +.highlight .s { color: #d14 } /* Literal.String */ +.highlight .na { color: #008080 } /* Name.Attribute */ +.highlight .nb { color: #0086B3 } /* Name.Builtin */ +.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ +.highlight .no { color: #008080 } /* Name.Constant */ +.highlight .ni { color: #800080 } /* Name.Entity */ +.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ +.highlight .nn { color: #555555 } /* Name.Namespace */ +.highlight .nt { color: #CBDFFF } /* Name.Tag */ +.highlight .nv { color: #008080 } /* Name.Variable */ +.highlight .ow { font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mf { color: #009999 } /* Literal.Number.Float */ +.highlight .mh { color: #009999 } /* Literal.Number.Hex */ +.highlight .mi { color: #009999 } /* Literal.Number.Integer */ +.highlight .mo { color: #009999 } /* Literal.Number.Oct */ +.highlight .sb { color: #d14 } /* Literal.String.Backtick */ +.highlight .sc { color: #d14 } /* Literal.String.Char */ +.highlight .sd { color: #d14 } /* Literal.String.Doc */ +.highlight .s2 { color: #d14 } /* Literal.String.Double */ +.highlight .se { color: #d14 } /* Literal.String.Escape */ +.highlight .sh { color: #d14 } /* Literal.String.Heredoc */ +.highlight .si { color: #d14 } /* Literal.String.Interpol */ +.highlight .sx { color: #d14 } /* Literal.String.Other */ +.highlight .sr { color: #009926 } /* Literal.String.Regex */ +.highlight .s1 { color: #d14 } /* Literal.String.Single */ +.highlight .ss { color: #990073 } /* Literal.String.Symbol */ +.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #008080 } /* Name.Variable.Class */ +.highlight .vg { color: #008080 } /* Name.Variable.Global */ +.highlight .vi { color: #008080 } /* Name.Variable.Instance */ +.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ + +.type-csharp .highlight .k { color: #0000FF } +.type-csharp .highlight .kt { color: #0000FF } +.type-csharp .highlight .nf { color: #000000; font-weight: normal } +.type-csharp .highlight .nc { color: #2B91AF } +.type-csharp .highlight .nn { color: #000000 } +.type-csharp .highlight .s { color: #A31515 } +.type-csharp .highlight .sc { color: #A31515 } diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css new file mode 100644 index 000000000..a54a6397e --- /dev/null +++ b/stylesheets/stylesheet.css @@ -0,0 +1,247 @@ +body { + margin: 0; + padding: 0; + background: #151515 url("../images/bkg.png") 0 0; + color: #eaeaea; + font: 16px; + line-height: 1.5; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; +} + +/* General & 'Reset' Stuff */ + +.container { + width: 90%; + max-width: 600px; + margin: 0 auto; +} + +section { + display: block; + margin: 0 0 20px 0; +} + +h1, h2, h3, h4, h5, h6 { + margin: 0 0 20px; +} + +li { + line-height: 1.4 ; +} + +/* Header,
+ header - container + h1 - project name + h2 - project description +*/ + +header { + background: rgba(0, 0, 0, 0.1); + width: 100%; + border-bottom: 1px dashed #b5e853; + padding: 20px 0; + margin: 0 0 40px 0; +} + +header h1 { + font-size: 30px; + line-height: 1.5; + margin: 0 0 0 -40px; + font-weight: bold; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: #b5e853; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); + letter-spacing: -1px; + -webkit-font-smoothing: antialiased; +} + +header h1:before { + content: "./ "; + font-size: 24px; +} + +header h2 { + font-size: 18px; + font-weight: 300; + color: #666; +} + +#downloads .btn { + display: inline-block; + text-align: center; + margin: 0; +} + +/* Main Content +*/ + +#main_content { + width: 100%; + -webkit-font-smoothing: antialiased; +} +section img { + max-width: 100% +} + +h1, h2, h3, h4, h5, h6 { + font-weight: normal; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + color: #b5e853; + letter-spacing: -0.03em; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), + 0 0 5px rgba(181, 232, 83, 0.1), + 0 0 10px rgba(181, 232, 83, 0.1); +} + +#main_content h1 { + font-size: 30px; +} + +#main_content h2 { + font-size: 24px; +} + +#main_content h3 { + font-size: 18px; +} + +#main_content h4 { + font-size: 14px; +} + +#main_content h5 { + font-size: 12px; + text-transform: uppercase; + margin: 0 0 5px 0; +} + +#main_content h6 { + font-size: 12px; + text-transform: uppercase; + color: #999; + margin: 0 0 5px 0; +} + +dt { + font-style: italic; + font-weight: bold; +} + +ul li { + list-style: none; +} + +ul li:before { + content: ">>"; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; + font-size: 13px; + color: #b5e853; + margin-left: -37px; + margin-right: 21px; + line-height: 16px; +} + +blockquote { + color: #aaa; + padding-left: 10px; + border-left: 1px dotted #666; +} + +pre { + background: rgba(0, 0, 0, 0.9); + border: 1px solid rgba(255, 255, 255, 0.15); + padding: 10px; + font-size: 14px; + color: #b5e853; + border-radius: 2px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + text-wrap: normal; + overflow: auto; + overflow-y: hidden; +} + +table { + width: 100%; + margin: 0 0 20px 0; +} + +th { + text-align: left; + border-bottom: 1px dashed #b5e853; + padding: 5px 10px; +} + +td { + padding: 5px 10px; +} + +hr { + height: 0; + border: 0; + border-bottom: 1px dashed #b5e853; + color: #b5e853; +} + +/* Buttons +*/ + +.btn { + display: inline-block; + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3)); + padding: 8px 18px; + border-radius: 50px; + border: 2px solid rgba(0, 0, 0, 0.7); + border-bottom: 2px solid rgba(0, 0, 0, 0.7); + border-top: 2px solid rgba(0, 0, 0, 1); + color: rgba(255, 255, 255, 0.8); + font-family: Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 13px; + text-decoration: none; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); +} + +.btn:hover { + background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8)); +} + +.btn .icon { + display: inline-block; + width: 16px; + height: 16px; + margin: 1px 8px 0 0; + float: left; +} + +.btn-github .icon { + opacity: 0.6; + background: url("../images/blacktocat.png") 0 0 no-repeat; +} + +/* Links + a, a:hover, a:visited +*/ + +a { + color: #63c0f5; + text-shadow: 0 0 5px rgba(104, 182, 255, 0.5); +} + +/* Clearfix */ + +.cf:before, .cf:after { + content:""; + display:table; +} + +.cf:after { + clear:both; +} + +.cf { + zoom:1; +} \ No newline at end of file From ac7b0b006f4779c20034e94e9f0c57241242e83e Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Wed, 8 Aug 2012 10:53:31 +0800 Subject: [PATCH 02/13] Made a local change to check --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index c8fdd5e03..6652b1e70 100644 --- a/index.html +++ b/index.html @@ -33,6 +33,7 @@

Welcome to CppUTest github page.

This is CppUTest

Some code here
+And some more code
 $ git fetch origin
 $ git checkout gh-pages
 
From b6175dd70099eaa6aaaa88534cbeb2ba3e825522 Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Wed, 8 Aug 2012 11:59:16 +0800 Subject: [PATCH 03/13] index.html --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 6652b1e70..8227d25c4 100644 --- a/index.html +++ b/index.html @@ -19,8 +19,10 @@

Cpputest

CppUTest unit testing and mocking framework for C/C++

- Download as .zip - Download as .tar.gz + Download Release 3.2 as .zip + Download Release 3.2 as .tar.gz + Download latest code as .zip + Download latest code as .tar.gz View on GitHub
@@ -60,4 +62,4 @@

Support or Contact

- \ No newline at end of file + From fea8a72a05ab3a7f86b5016a4d276590d8ec8e7f Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Wed, 8 Aug 2012 12:08:42 +0800 Subject: [PATCH 04/13] Added more text on the page --- index.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 8227d25c4..9116653b9 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,6 @@

CppUTest unit testing and mocking framework for C/C++

Download Release 3.2 as .zip Download Release 3.2 as .tar.gz Download latest code as .zip - Download latest code as .tar.gz View on GitHub @@ -32,7 +31,17 @@

CppUTest unit testing and mocking framework for C/C++

Welcome to CppUTest github page.

-

This is CppUTest

+

What is CppUTest

+ +CppUTest is a C /C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. + +CppUTest is based on the following design principles +
    +
  • Simple in design and simple in use. +
  • Portable to old and new platforms. +
+ +

Where to get CppUTest

Some code here
 And some more code

From 23e3a0b1bd8861531e364ac6bbdc76ccb32b3e30 Mon Sep 17 00:00:00 2001
From: Bas Vodde 
Date: Wed, 8 Aug 2012 12:19:59 +0800
Subject: [PATCH 05/13] Added more text

---
 index.html | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html
index 9116653b9..39d0d43b3 100644
--- a/index.html
+++ b/index.html
@@ -29,9 +29,7 @@ 

CppUTest unit testing and mocking framework for C/C++

-

Welcome to CppUTest github page.

- -

What is CppUTest

+

What is CppUTest.

CppUTest is a C /C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. @@ -41,7 +39,20 @@

Welcome to CppUTest github page.

  • Portable to old and new platforms. -

    Where to get CppUTest

    +

    Where to get CppUTest

    + +The download link for github is at the top of this page. You can either get the latest code or a specific release. +
    +You can find all the downloads at the github CppUTest download page +
    +Alternatively, you can clone the github repository, read-only: +
    git clone git://github.com/basvodde/cpputest.git
    +
    +Or clone it via ssh (which requires a github account) +
    git clone git@github.com:basvodde/cpputest.git
    +
    + +

    Where to find more information

    Some code here
     And some more code
    
    From efb2821a5b0e74b3bac0e55ed40909962816a7b0 Mon Sep 17 00:00:00 2001
    From: Bas Vodde 
    Date: Wed, 8 Aug 2012 13:14:46 +0800
    Subject: [PATCH 06/13] Updated the index.html main page
    
    ---
     index.html | 67 +++++++++++++++++++++++++++++++++++-------------------
     1 file changed, 44 insertions(+), 23 deletions(-)
    
    diff --git a/index.html b/index.html
    index 39d0d43b3..d029aa4b4 100644
    --- a/index.html
    +++ b/index.html
    @@ -8,7 +8,7 @@
         
         
     
    -    Cpputest by basvodde
    +    Cpputest
       
     
       
    @@ -29,7 +29,7 @@ 

    CppUTest unit testing and mocking framework for C/C++

    -

    What is CppUTest.

    +

    What is CppUTest.

    CppUTest is a C /C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. @@ -39,44 +39,65 @@

    What is CppUTest.

  • Portable to old and new platforms. -

    Where to get CppUTest

    +

    Where to get CppUTest

    -The download link for github is at the top of this page. You can either get the latest code or a specific release. -
    -You can find all the downloads at the github CppUTest download page -
    +

    The download link for github is at the top of this page. You can either get the latest code or a specific release. +

    +You can find all the downloads at the download page +

    Alternatively, you can clone the github repository, read-only:

    git clone git://github.com/basvodde/cpputest.git
     
    Or clone it via ssh (which requires a github account)
    git clone git@github.com:basvodde/cpputest.git
     
    +

    -

    Where to find more information

    +

    Where to find more information

    -
    Some code here
    -And some more code
    -$ git fetch origin
    -$ git checkout gh-pages
    -
    - -

    If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

    + +

    Quick introduction (some code!)

    +To write your first test, all you need is a new cpp file with a TEST_GROUP and a TEST, like: -

    Designer Templates

    +
    TEST_GROUP(FirstTestGroup)
    +{
    +};
     
    -

    We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

    +TEST(FirstTestGroup, FirstTest) +{ + FAIL("Fail me!"); +} +
    -

    Rather Drive Stick?

    +

    This test will fail.

    -

    If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

    +

    You can add new tests to the test group by just writing more tests in the file, like this:

    -

    Authors and Contributors

    +
    TEST(FirstTestGroup, SecondTest)
    +{
    +   STRCMP_EQUAL("hello", "world");
    +   LONGS_EQUAL(1, 2);
    +   CHECK(false);
    +}
    +
    -

    You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

    +You do need to create a main where you run all the unit tests. Such a main will look like this: +
    int main(int ac, char** av)
    +{
    +   return CommandLineTestRunner::RunAllTests(ac, av);
    +}
    +
    +

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    +

    Authors and Contributors

    -

    Support or Contact

    +

    CppUTest has many has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    -

    Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.

  • From fe385d3a75f5eb958a124093c4502ba8cf6e68e9 Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Thu, 9 Aug 2012 14:06:53 +0800 Subject: [PATCH 07/13] Changed links --- index.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index d029aa4b4..516cd1c28 100644 --- a/index.html +++ b/index.html @@ -19,10 +19,10 @@

    Cpputest

    CppUTest unit testing and mocking framework for C/C++

    - Download Release 3.2 as .zip - Download Release 3.2 as .tar.gz - Download latest code as .zip - View on GitHub + Download Release 3.2 as .zip + Download Release 3.2 as .tar.gz + Download latest code as .zip + View on GitHub
  • @@ -43,13 +43,13 @@

    Where to get CppUTest

    The download link for github is at the top of this page. You can either get the latest code or a specific release.

    -You can find all the downloads at the download page +You can find all the downloads at the download page

    Alternatively, you can clone the github repository, read-only: -

    git clone git://github.com/basvodde/cpputest.git
    +
    git clone git://github.com/cpputest/cpputest.git
     
    Or clone it via ssh (which requires a github account) -
    git clone git@github.com:basvodde/cpputest.git
    +
    git clone git@github.com:cpputest/cpputest.git
     

    @@ -58,8 +58,8 @@

    Where to find more information

    Quick introduction (some code!)

    @@ -93,7 +93,7 @@

    Quick introduction (some code!)

    return CommandLineTestRunner::RunAllTests(ac, av); }
    -

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    +

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    Authors and Contributors

    CppUTest has many has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    From cd95ed4375211e706b946a8239a9dff49f936306 Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Thu, 9 Aug 2012 14:33:26 +0800 Subject: [PATCH 08/13] Fixed a typo --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 516cd1c28..49c7f0774 100644 --- a/index.html +++ b/index.html @@ -96,7 +96,7 @@

    Quick introduction (some code!)

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    Authors and Contributors

    -

    CppUTest has many has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    +

    CppUTest has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    From fe538f7319c322e595a1054977091f604f5973f5 Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Thu, 9 Aug 2012 15:18:27 +0800 Subject: [PATCH 09/13] Fixed a link --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 49c7f0774..050070ef8 100644 --- a/index.html +++ b/index.html @@ -93,7 +93,7 @@

    Quick introduction (some code!)

    return CommandLineTestRunner::RunAllTests(ac, av); }
    -

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    +

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    Authors and Contributors

    CppUTest has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    From a169ddff6a56b1f792e840eb13c0faa0299ced17 Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Sat, 11 Aug 2012 23:36:34 +0800 Subject: [PATCH 10/13] Mentioned the Eclipse plugin project --- index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.html b/index.html index 050070ef8..fa68cc8a8 100644 --- a/index.html +++ b/index.html @@ -94,6 +94,12 @@

    Quick introduction (some code!)

    }

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    +

    Related projects

    +

    +

    +

    Authors and Contributors

    CppUTest has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    From 92107e4fc136efca9fb88c5df386056af4a9358f Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Fri, 24 Aug 2012 11:57:01 +0800 Subject: [PATCH 11/13] New Release --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index fa68cc8a8..8077fa17e 100644 --- a/index.html +++ b/index.html @@ -19,8 +19,8 @@

    Cpputest

    CppUTest unit testing and mocking framework for C/C++

    - Download Release 3.2 as .zip - Download Release 3.2 as .tar.gz + Download Release 3.3 as .zip + Download Release 3.3 as .tar.gz Download latest code as .zip View on GitHub
    From 32ee13a803de50d057653588a9bdb61e2db5a6eb Mon Sep 17 00:00:00 2001 From: Bas Vodde Date: Wed, 24 Apr 2013 15:27:54 +0800 Subject: [PATCH 12/13] Added redirect to the new pages --- index.html | 103 ++--------------------------------------------------- 1 file changed, 2 insertions(+), 101 deletions(-) diff --git a/index.html b/index.html index 8077fa17e..a8588f318 100644 --- a/index.html +++ b/index.html @@ -1,112 +1,13 @@ + - - - - - Cpputest - -
    -
    -

    Cpputest

    -

    CppUTest unit testing and mocking framework for C/C++

    - -
    - Download Release 3.3 as .zip - Download Release 3.3 as .tar.gz - Download latest code as .zip - View on GitHub -
    -
    -
    - -
    -
    -

    What is CppUTest.

    - -CppUTest is a C /C++ based unit xUnit test framework for unit testing and for test-driving your code. It is written in C++ but is used in C and C++ projects and frequently used in embedded systems but it works for any C/C++ project. - -CppUTest is based on the following design principles -
      -
    • Simple in design and simple in use. -
    • Portable to old and new platforms. -
    - -

    Where to get CppUTest

    - -

    The download link for github is at the top of this page. You can either get the latest code or a specific release. -

    -You can find all the downloads at the download page -

    -Alternatively, you can clone the github repository, read-only: -

    git clone git://github.com/cpputest/cpputest.git
    -
    -Or clone it via ssh (which requires a github account) -
    git clone git@github.com:cpputest/cpputest.git
    -
    -

    - -

    Where to find more information

    - - -

    Quick introduction (some code!)

    -To write your first test, all you need is a new cpp file with a TEST_GROUP and a TEST, like: - -
    TEST_GROUP(FirstTestGroup)
    -{
    -};
    -
    -TEST(FirstTestGroup, FirstTest)
    -{
    -   FAIL("Fail me!");
    -}
    -
    - -

    This test will fail.

    - -

    You can add new tests to the test group by just writing more tests in the file, like this:

    - -
    TEST(FirstTestGroup, SecondTest)
    -{
    -   STRCMP_EQUAL("hello", "world");
    -   LONGS_EQUAL(1, 2);
    -   CHECK(false);
    -}
    -
    - -You do need to create a main where you run all the unit tests. Such a main will look like this: -
    int main(int ac, char** av)
    -{
    -   return CommandLineTestRunner::RunAllTests(ac, av);
    -}
    -
    -

    For more information, I'd recommend to read the manual or, even better, check some existing tests such as SimpleStringTest or (a bit more complicated) MemoryLeakDetectorTest or the mocking tests or just check out the Cheat Sheet

    -

    Related projects

    -

    -

    -

    -

    Authors and Contributors

    - -

    CppUTest has had many contributions from its users. We can't remember all, but we appreciate it a lot!. Much of the original code was written by Michael Feathers (based on CppUnit Lite). The current main maintainers are @jwgrenning and @basvodde

    - -
    -
    - - + Moved to cpputest.github.com From 6fba37085ced4da18cc7ef05341ff9bddec5dba0 Mon Sep 17 00:00:00 2001 From: Dinuirar Date: Wed, 4 Aug 2021 10:02:44 +0200 Subject: [PATCH 13/13] Update index.html github pages are now hosted under .io domain --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a8588f318..501083e04 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,13 @@ - + Cpputest - Moved to cpputest.github.com + Moved to cpputest.github.io