Upgrade the nuget(Newtonsoft.Json) version of TC (#422)
[platform/core/dotnet/launcher.git] / tests / Apps / README.md
1 # Test Case for dotnet-launcher - Build(.tpk)
2
3 Must be run(```./BuildTPK.py```) at least once.
4
5 ### Usage
6
7 * Build(.tpk) all applications
8 ```
9 launcher/tests/Apps$ ./BuildTPK.py
10 Build complete : org.tizen.example.Launcher_TC_AOT_01.Tizen-1.0.0.tpk
11 Build complete : org.tizen.example.Launcher_TC_AOT_02.Tizen-1.0.0.tpk
12 ...
13 Build complete : org.tizen.example.Launcher_TC_TOOL_07.Tizen-1.0.0.tpk
14 ```
15
16 * Rebuild(.tpk) all applications
17
18   Delete all previously built tpks.
19 ```
20 launcher/tests/Apps$ ./BuildTPK.py -r
21 Build complete : org.tizen.example.Launcher_TC_AOT_01.Tizen-1.0.0.tpk
22 Build complete : org.tizen.example.Launcher_TC_AOT_02.Tizen-1.0.0.tpk
23 ...
24 Build complete : org.tizen.example.Launcher_TC_TOOL_07.Tizen-1.0.0.tpk
25 ```
26
27 * Build(.tpk) the specified application
28
29   Build only for specific solutions(.sln).
30 ```
31 launcher/tests/Apps$ ./BuildTPK.py Launcher_TC_AOT_01/Launcher_TC_AOT_01.sln Launcher_TC_TAC_01/Launcher_TC_TAC_01.sln
32 Build complete : org.tizen.example.Launcher_TC_AOT_01.Tizen-1.0.0.tpk
33 Build complete : org.tizen.example.Launcher_TC_TAC_01.Tizen-1.0.0.tpk
34 ```
35
36 * Create a new test application
37
38   Create a project in ```launcher/test/Apps/``` folder. And the solution name is generated in the same format as **Launcher_TC_{Module_Name}_{Number}**.
39
40 ### Description(Apps)
41 * AOT
42
43  Apps(.sln)         | PackageID                                  | prefer_dotnet_aot | prefer_nuget_cache | Nuget
44 --------------------|--------------------------------------------|-------------------|--------------------|--------------------------|
45  Launcher_TC_AOT_01 | org.tizen.example.Launcher_TC_AOT_01.Tizen | X                 | X                  | Xamarin.Forms(4.6.0.967)
46  Launcher_TC_AOT_02 | org.tizen.example.Launcher_TC_AOT_02.Tizen | True              | X                  | Xamarin.Forms(4.6.0.967)
47  Launcher_TC_AOT_03 | org.tizen.example.Launcher_TC_AOT_03.Tizen | True              | X                  | Xamarin.Forms(4.6.0.967)
48
49 * LAUNCH
50
51  Apps(.sln)            | PackageID                                     | prefer_dotnet_aot | prefer_nuget_cache | Nuget
52 -----------------------|-----------------------------------------------|-------------------|--------------------|--------------------------|
53  Launcher_TC_LAUNCH_01 | org.tizen.example.Launcher_TC_LAUNCH_01.Tizen | X                 | X                  | Xamarin.Forms(4.6.0.967)
54  Launcher_TC_LAUNCH_02 | org.tizen.example.Launcher_TC_LAUNCH_02       | X                 | X                  | -
55  Launcher_TC_LAUNCH_03 | org.tizen.example.Launcher_TC_LAUNCH_03.Tizen | X                 | X                  | Xamarin.Forms(4.6.0.967)
56
57 * PLUGIN
58
59  Apps(.sln)            | PackageID                                     | prefer_dotnet_aot | prefer_nuget_cache | Nuget
60 -----------------------|-----------------------------------------------|-------------------|--------------------|--------------------------|
61  Launcher_TC_PLUGIN_01 | org.tizen.example.Launcher_TC_PLUGIN_01.Tizen | X                 | X                  | HarfBuzzSharp(2.6.1.6)
62  Launcher_TC_PLUGIN_02 | org.tizen.example.Launcher_TC_PLUGIN_02.Tizen | X                 | X                  | SkiaSharp(2.80.2)
63  Launcher_TC_PLUGIN_03 | org.tizen.example.Launcher_TC_PLUGIN_03.Tizen | False             | X                  | Xamarin.Forms(4.6.0.967)
64  Launcher_TC_PLUGIN_04 | org.tizen.example.Launcher_TC_PLUGIN_04.Tizen | True              | X                  | Xamarin.Forms(4.6.0.967)
65  Launcher_TC_PLUGIN_05 | org.tizen.example.Launcher_TC_PLUGIN_05.Tizen | X                 | False              | Xamarin.Forms(4.6.0.967)
66  Launcher_TC_PLUGIN_06 | org.tizen.example.Launcher_TC_PLUGIN_06.Tizen | X                 | True               | Xamarin.Forms(4.6.0.967)
67  Launcher_TC_PLUGIN_07 | org.tizen.example.Launcher_TC_PLUGIN_07.Tizen | X                 | False              | SkiaSharp(1.68.0)
68  Launcher_TC_PLUGIN_08 | org.tizen.example.Launcher_TC_PLUGIN_08.Tizen | X                 | True               | SkiaSharp(1.68.0)
69
70 * PRELOAD
71
72  Apps(.sln)             | PackageID                                      | prefer_dotnet_aot | prefer_nuget_cache | Nuget
73 ------------------------|------------------------------------------------|-------------------|--------------------|--------------------------|
74  Launcher_TC_PRELOAD_01 | org.tizen.example.Launcher_TC_PRELOAD_01.Tizen | X                 | X                  | Xamarin.Forms(4.6.0.967)
75  Launcher_TC_PRELOAD_02 | org.tizen.example.Launcher_TC_PRELOAD_02       | X                 | X                  | -
76
77 * TAC
78
79  Apps(.sln)         | PackageID                                  | prefer_dotnet_aot | prefer_nuget_cache | Nuget
80 --------------------|--------------------------------------------|-------------------|--------------------|-----------------------------------------------------|
81  Launcher_TC_TAC_01 | org.tizen.example.Launcher_TC_TAC_01.Tizen | X                 | True               | Xamarin.Forms(4.6.0.967)
82  Launcher_TC_TAC_02 | org.tizen.example.Launcher_TC_TAC_00.Tizen | X                 | True               | Xamarin.Forms(4.8.0.1364), Newtonsoft.Json(13.0.1)
83  Launcher_TC_TAC_03 | org.tizen.example.Launcher_TC_TAC_00.Tizen | X                 | True               | Xamarin.Forms(4.8.0.1687), sqlite-net-base(1.7.335)
84  Launcher_TC_TAC_04 | org.tizen.example.Launcher_TC_TAC_00.Tizen | X                 | X                  | Xamarin.Forms(4.8.0.1364)
85  Launcher_TC_TAC_05 | org.tizen.example.Launcher_TC_TAC_05.Tizen | X                 | True               | Xamarin.Forms(5.0.0.1558-pre3)
86  Launcher_TC_TAC_06 | org.tizen.example.Launcher_TC_TAC_06.Tizen | X                 | True               | Xamarin.Forms(5.0.0.1558-pre3)
87  Launcher_TC_TAC_07 | org.tizen.example.Launcher_TC_TAC_07.Tizen | X                 | True               | Xamarin.Forms(4.4.0.991864)
88  Launcher_TC_TAC_08 | org.tizen.example.Launcher_TC_TAC_08.Tizen | X                 | True               | XSF(1.0.0.0)
89  Launcher_TC_TAC_09 | org.tizen.example.Launcher_TC_TAC_09.Tizen | X                 | True               | XSF(1.0.0.0)
90  Launcher_TC_TAC_10 | org.tizen.example.Launcher_TC_TAC_10.Tizen | X                 | True               | Xamarin.Forms(4.8.0.1560), Google.Apis(1.49.0)
91  Launcher_TC_TAC_11 | org.tizen.example.Launcher_TC_TAC_11.Tizen | X                 | True               | Xamarin.Forms(4.6.0.967), CommandLineParser(2.6.0)
92
93 * TLC
94
95  Apps(.sln)         | PackageID                                  | prefer_dotnet_aot | prefer_nuget_cache | Nuget
96 --------------------|--------------------------------------------|-------------------|--------------------|------------------------|
97  Launcher_TC_TLC_01 | org.tizen.example.Launcher_TC_TLC_01.Tizen | X                 | True               | SkiaSharp(1.68.0)
98  Launcher_TC_TLC_02 | org.tizen.example.Launcher_TC_TLC_00.Tizen | X                 | True               | SkiaSharp(1.68.3)
99  Launcher_TC_TLC_03 | org.tizen.example.Launcher_TC_TLC_00.Tizen | X                 | True               | SkiaSharp(2.80.0)
100  Launcher_TC_TLC_04 | org.tizen.example.Launcher_TC_TLC_00.Tizen | X                 | True               | SkiaSharp(1.68.2)
101  Launcher_TC_TLC_05 | org.tizen.example.Launcher_TC_TLC_00.Tizen | X                 | True               | SkiaSharp(2.80.2)
102  Launcher_TC_TLC_06 | org.tizen.example.Launcher_TC_TLC_00.Tizen | X                 | X                  | SkiaSharp(2.80.2)
103  Launcher_TC_TLC_07 | org.tizen.example.Launcher_TC_TLC_07.Tizen | X                 | True               | HarfBuzzSharp(2.6.1.7)
104  Launcher_TC_TLC_08 | org.tizen.example.Launcher_TC_TLC_08.Tizen | X                 | True               | HarfBuzzSharp(2.6.1.7)
105  Launcher_TC_TLC_09 | org.tizen.example.Launcher_TC_TLC_09.Tizen | X                 | True               | SkiaSharp(1.68.1)
106  Launcher_TC_TLC_10 | org.tizen.example.Launcher_TC_TLC_10.Tizen | X                 | True               | FFmpegBindings(4.3.1)
107
108 * TOOL
109
110  Apps(.sln)          | PackageID                                   | prefer_dotnet_aot | prefer_nuget_cache | Nuget
111 ---------------------|---------------------------------------------|-------------------|--------------------|---------------------------------------------|
112  Launcher_TC_TOOL_01 | org.tizen.example.Launcher_TC_TOOL_01.Tizen | True              | X                  | Xamarin.Forms(4.6.0.967)
113  Launcher_TC_TOOL_02 | org.tizen.example.Launcher_TC_TOOL_02.Tizen | X                 | X                  | Xamarin.Forms(4.6.0.967)
114  Launcher_TC_TOOL_03 | org.tizen.example.Launcher_TC_TOOL_03.Tizen | True              | X                  | Xamarin.Forms(4.6.0.967)
115  Launcher_TC_TOOL_04 | org.tizen.example.Launcher_TC_TOOL_04.Tizen | X                 | True               | Xamarin.Forms(4.6.0.967)
116  Launcher_TC_TOOL_05 | org.tizen.example.Launcher_TC_TOOL_05.Tizen | X                 | True               | Xamarin.Forms(4.6.0.967)
117  Launcher_TC_TOOL_06 | org.tizen.example.Launcher_TC_TOOL_06.Tizen | X                 | True               | Xamarin.Forms(4.6.0.967)
118  Launcher_TC_TOOL_07 | org.tizen.example.Launcher_TC_TOOL_07.Tizen | True              | True               | Xamarin.Forms(4.6.0.967), SkiaSharp(2.80.2)
119  Launcher_TC_TOOL_08 | org.tizen.example.Launcher_TC_TOOL_08.Tizen | True              | X                  | Xamarin.Forms(4.6.0.967)
120  Launcher_TC_TOOL_09 | org.tizen.example.Launcher_TC_TOOL_09.Tizen | X                 | X                  | Xamarin.Forms(4.6.0.967)
121
122 ----
123 ### Note
124
125 ```
126  sln_name : Launcher_TC_TAC_02
127  package_id : org.tizen.example.Launcher_TC_TAC_00.Tizen
128  tpk_name : org.tizen.example.Launcher_TC_TAC_00.Tizen-1.0.0.tpk
129  tpk_rename : org.tizen.example.Launcher_TC_TAC_02.Tizen-1.0.0.tpk
130 ```
131   *NOTE : For tests related to application updates, the solution(.sln) is different, but the same package ID must be used.
132 Also, different applications but the name of the built .tpk is the same.
133 So, the BuildTPK.py script renames the generated tpk to the name of the solution(.sln).
134 Therefore, Get the path of tpk based on the solution name and install the app.*