Last modified by Tilal Ahmad on 2018/12/19 16:08

From version < 17.1 >
edited by Tilal Ahmad
on 2018/12/19 15:57
To version < 18.1
edited by Tilal Ahmad
on 2018/12/19 16:08
<
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -460,7 +460,8 @@
460 460  
461 461  |=Allowed value|=Meaning|=Example
462 462  |true |Use include instead of forward declaration. |(((
463 -|((({{code language="cpp"}}
463 +|(((
464 +{{code language="cpp"}}
464 464  #include "enums/A.h"
465 465  
466 466  namespace MyProject {
... ... @@ -475,11 +475,13 @@
475 475  
476 476  };
477 477  
478 -} ~/~/ namespace MyProject{{/code}}
479 +} ~/~/ namespace MyProject
480 +{{/code}}
479 479  )))
480 480  )))
481 481  |false|Use forward declaration instead of include. |(((
482 -|((({{code language="cpp"}}
484 +|(((
485 +{{code language="cpp"}}
483 483  namespace MyProject {
484 484  
485 485  enum class A;
... ... @@ -494,7 +494,8 @@
494 494  
495 495  };
496 496  
497 -} ~/~/ namespace MyProject{{/code}}
500 +} ~/~/ namespace MyProject
501 +{{/code}}
498 498  )))
499 499  )))
500 500  
... ... @@ -2054,11 +2054,12 @@
2054 2054  Calls to methods of NUnit.Framework.Assert class are translated into gtest-compatible macros. If you use your own test class with similarly named methods, use this option to enable special treatment of these. Enlist classes wrapped inside 'alias' subnode as shown below. Also, you might want to exclude such classes from porting.
2055 2055  
2056 2056  |(((
2057 -<opt name="nunit_assert_class_aliases" value="true">
2061 +{{code language="xml"}}<opt name="nunit_assert_class_aliases" value="true">
2058 2058  
2059 2059   <alias class="MyNamespace.MyAssertClass"/>
2060 2060  
2061 2061  </opt>
2066 +{{/code}}
2062 2062  )))
2063 2063  
2064 2064  |=Allowed value|=Meaning|=Example
... ... @@ -2071,11 +2071,11 @@
2071 2071  
2072 2072  Toggles prefixing test name with category name to simplify tests group run after porting. Alternatively, if you prefer having original tests names, you might want to disable this option.
2073 2073  
2074 -|(((
2075 -<opt name="original_tests_names" value="true"/>
2079 +|((({{code language="xml"}}
2080 +<opt name="original_tests_names" value="true"/>{{/code}}
2076 2076  )))
2077 2077  
2078 -|(((
2083 +|((({{code language="cpp"}}
2079 2079  [TestFixture]
2080 2080  
2081 2081  public class OriginalTestName
... ... @@ -2088,18 +2088,18 @@
2088 2088  
2089 2089   public void Test1() {}
2090 2090  
2091 -}
2096 +}{{/code}}
2092 2092  )))
2093 2093  
2094 2094  |=Allowed value|=Meaning|=Example
2095 2095  |true|Do not add category prefix.|(((
2096 -|(((
2097 -TEST_F(OriginalTestName, Test1) { s_instance->Test1(); }
2101 +|((({{code language="cpp"}}
2102 +TEST_F(OriginalTestName, Test1) { s_instance->Test1(); }{{/code}}
2098 2098  )))
2099 2099  )))
2100 2100  |false|Add category prefix.|(((
2101 -|(((
2102 -TEST_F(OriginalTestName, Original_Test1) { s_instance->Test1(); }
2106 +|((({{code language="cpp"}}
2107 +TEST_F(OriginalTestName, Original_Test1) { s_instance->Test1(); }{{/code}}
2103 2103  )))
2104 2104  )))
2105 2105