Add the option to check Internet privilege in dotnettool for the FOTA
[platform/core/dotnet/launcher.git] / tests / TCs / 6_TOOL / README.md
index a27cd5f..47d24d8 100644 (file)
@@ -67,39 +67,95 @@ launcher/tests/TCs/6_TOOL$ ./TOOL.py TC_01
   1. sh-3.2# dotnettool --r2r --ni-dll /usr/share/dotnet.tizen/framework/Tizen.dll
 * TC_08
 ```
+  PASS : Displays detailed information while creating native image for Tizen.Log.dll.
+```
+  1. sh-3.2# dotnettool --verbose --ni-dll /usr/share/dotnet.tizen/framework/Tizen.Log.dll
+* TC_09
+```
+  PASS : Create a native image for netstandard.dll by specifying the directory containing the IBC files.
+```
+  1. sh-3.2# dotnettool --ibc-dir /usr/share/dotnet.tizen/ibcdata/ --ni-dll /usr/share/dotnet.tizen/netcoreapp/netstandard.dll
+* TC_10
+```
   PASS : The Launcher_TC_TOOL_01 application does not have native image.
 ```
   1. sh-3.2# dotnettool --ni-reset-pkg org.tizen.example.Launcher_TC_TOOL_01.Tizen
-* TC_09
+* TC_11
 ```
   PASS : The Launcher_TC_TOOL_02 application generates native image.
 ```
   1. sh-3.2# dotnettool --ni-pkg org.tizen.example.Launcher_TC_TOOL_02.Tizen
-* TC_10
+* TC_12
 ```
   PASS : The prefer_dotnet_aot metadata value of true will regenerates the native image in all .NET applications.
 ```
   1. sh-3.2# dotnettool --ni-regen-all-app
-* TC_11
+* TC_13
 ```
   PASS : The prefer_nuget_cache metadata value of true will regenerates the native image in the TAC.
 ```
   1. sh-3.2# dotnettool --tac-regen-all
-* TC_12
+* TC_14
 ```
   PASS : The Launcher_TC_TOOL_05 application must not have TAC applied.
 ```
   1. sh-3.2# dotnettool --tac-disable-pkg org.tizen.example.Launcher_TC_TOOL_05.Tizen
-* TC_13
+* TC_15
 ```
   PASS : The Launcher_TC_TOOL_06 application must have TAC applied.
 ```
   1. sh-3.2# dotnettool --tac-enable-pkg org.tizen.example.Launcher_TC_TOOL_06.Tizen
-* TC_14
+* TC_16
 ```
   PASS : The Database of the restored TAC and TLC must be a valid value.
 ```
   1. sh-3.2# dotnettool --tac-restore-db
+* TC_17
+```
+  PASS : The prefer_dotnet_aot metadata value of true will regenerates the native image in all .NET applications of read-only type.
+```
+  1. sh-3.2# dotnettool --ni-regen-all-ro-app
+* TC_18
+```
+  PASS : The Launcher_TC_TOOL_08 application should load the newly generated native image.
+```
+ 1. Regenerated NI files of read-only application is stored at "/opt/usr/dotnet/apps/[PkgID]/bin/.native_image/".
+ 2. The assembly in the "/opt/usr/dotnet/apps/[PkgId]/bin/.native/image/" should be loaded when running the application.
+* TC_19
+```
+  PASS : The `Launcher_TC_TOOL_09` application of read-only type generates native image.
+```
+  1. sh-3.2# dotnettool --ni-ro-pkg org.tizen.example.Launcher_TC_TOOL_09.Tizen
+* TC_20
+```
+ PASS : Print command and option while creating native image for Tizen.dll.
+```
+ 1. sh-3.2# dotnettool --ni-dll --print-cmd /usr/share/dotnet.tizen/framework/Tizen.dll
+* TC_21
+```
+ PASS : Create native image for netstandard.dll by adding options --inputbubble and --compilebubblegenerics.
+```
+ 1. sh-3.2# dotnettool --ni-dll --inputbubble --print-cmd /usr/share/dotnet.tizen/netcoreapp/netstandard.dll
+* TC_22
+```
+ PASS : Create native image for System.dll by adding options --inputbubble and --inputbubbleref.
+```
+ 1. sh-3.2# dotnettool --ni-dll --inputbubble --inputbubbleref /usr/share/dotnet.tizen/netcoreapp/crossgen2 --print-cmd /usr/share/dotnet.tizen/netcoreapp/System.dll
+* TC_23
+```
+ PASS : Create native image for System.Console.dll by adding option --ref.
+```
+ 1. sh-3.2# dotnettool --ni-dll --ref /usr/share/dotnet.tizen/netcoreapp:/usr/share/dotnet.tizen/netcoreapp/crossgen2 --print-cmd /usr/share/dotnet.tizen/netcoreapp/System.Console.dll
+* TC_24
+```
+ PASS : Create native image for mscorlib.dll by adding option --no-pipeline.
+```
+ 1. sh-3.2# dotnettool --ni-dll --no-pipeline --print-cmd /usr/share/dotnet.tizen/netcoreapp/mscorlib.dll
+* TC_25
+```
+ PASS : Applications that do not have Internet privilege must have ._TIZEN_DOTNET_SYSTEM_NET_DISABLEIPV6 file created.
+```
+ 1. sh-3.2# dotnettool --check-all-app-privilege
 ----
 
 ### Note