Skip to content

Commit

Permalink
Update hugo files
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandole committed Feb 23, 2024
1 parent dec668f commit 0c78670
Show file tree
Hide file tree
Showing 32 changed files with 3,707 additions and 880 deletions.
56 changes: 56 additions & 0 deletions categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,33 @@ <h3>

































Expand Down Expand Up @@ -859,6 +886,35 @@ <h3>






<li class="toctree-l2">
<a href="/mongocxx-v3/polyfill-selection/">

Choosing a C&#43;&#43;17 Polyfill
</a>
</li>























Expand Down
64 changes: 60 additions & 4 deletions contributing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,33 @@ <h3>

































Expand Down Expand Up @@ -863,6 +890,35 @@ <h3>






<li class="toctree-l2">
<a href="/mongocxx-v3/polyfill-selection/">

Choosing a C&#43;&#43;17 Polyfill
</a>
</li>























Expand Down Expand Up @@ -1777,16 +1833,16 @@ <h3 id="headers">Headers</h3>
<li>Header Postlude</li>
</ul>
<p>Example:</p>
<pre tabindex="0"><code>// Copyright 2018-present MongoDB Inc.
<pre tabindex="0"><code class="language-{.cpp}" data-lang="{.cpp}">// Copyright 2018-present MongoDB Inc.
//
// Licensed under the Apache License, Version 2.0 (the &#34;License&#34;);
// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an &#34;AS IS&#34; BASIS,
// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
Expand Down Expand Up @@ -1826,7 +1882,7 @@ <h3 id="headers">Headers</h3>
</li>
</ul>
<p>Example:</p>
<pre tabindex="0"><code>class foo {
<pre tabindex="0"><code class="language-{.cpp}" data-lang="{.cpp}">class foo {

public:
foo();
Expand Down
62 changes: 59 additions & 3 deletions contributing/testing-legacy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,33 @@ <h3>

































Expand Down Expand Up @@ -841,6 +868,35 @@ <h3>






<li class="toctree-l2">
<a href="/mongocxx-v3/polyfill-selection/">

Choosing a C&#43;&#43;17 Polyfill
</a>
</li>























Expand Down Expand Up @@ -1699,12 +1755,12 @@ <h1>Testing the legacy driver</h1>
<p>Note: The 26compat branch differs from the instructions below as follows:</p>
<ul>
<li>MongoOrchestration is not required.</li>
<li>The target to run unit tests is &lsquo;smokeCppUnittests&rsquo; (or &rsquo;test&rsquo;, or &lsquo;smoke&rsquo;), not &lsquo;unit&rsquo;</li>
<li>The target to run unit tests is &lsquo;smokeCppUnittests&rsquo; (or &lsquo;test&rsquo;, or &lsquo;smoke&rsquo;), not &lsquo;unit&rsquo;</li>
<li>The build-[test] aliases are not supported (the run- aliases are supported, however)</li>
<li>There are no integration tests</li>
<li>The target to run the examples is &lsquo;smokeClient&rsquo;, not &rsquo;examples&rsquo;</li>
<li>The target to run the examples is &lsquo;smokeClient&rsquo;, not &lsquo;examples&rsquo;</li>
<li>You must have a mongod running on port 27999 to run the examples.</li>
<li>The &rsquo;test&rsquo; target does not run all tests, only the unit tests (see above).</li>
<li>The &lsquo;test&rsquo; target does not run all tests, only the unit tests (see above).</li>
</ul>
<h3 id="unit-tests">Unit tests</h3>
<p>Unit tests do not require a running mongod or mongo-orchestration. These
Expand Down
60 changes: 58 additions & 2 deletions contributing/testing-mongocxx/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,33 @@ <h3>

































Expand Down Expand Up @@ -817,6 +844,35 @@ <h3>






<li class="toctree-l2">
<a href="/mongocxx-v3/polyfill-selection/">

Choosing a C&#43;&#43;17 Polyfill
</a>
</li>























Expand Down Expand Up @@ -1703,8 +1759,8 @@ <h2 id="writing-new-tests">Writing new tests</h2>
<p>If you&rsquo;d like to add a feature to the driver, please write a test for it as
well. Additions to existing classes should have new sections added to the
existing test cases:</p>
<pre tabindex="0"><code>TEST_CASE(&#34;existing_class&#34;, &#34;[existing_class]&#34;) {
SECTION(&#34;Can do some new thing&#34;) {
<pre tabindex="0"><code>TEST_CASE(&quot;existing_class&quot;, &quot;[existing_class]&quot;) {
SECTION(&quot;Can do some new thing&quot;) {
...
REQUIRE(new_thing_works);
}
Expand Down
Loading

0 comments on commit 0c78670

Please sign in to comment.