|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* This file is part of the highcharts-bundle package. |
|
5
|
|
|
* |
|
6
|
|
|
* (c) 2017 WEBEWEB |
|
7
|
|
|
* |
|
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
|
9
|
|
|
* file that was distributed with this source code. |
|
10
|
|
|
*/ |
|
11
|
|
|
|
|
12
|
|
|
namespace WBW\Bundle\HighchartsBundle\Tests\API\Options; |
|
13
|
|
|
|
|
14
|
|
|
use PHPUnit_Framework_TestCase; |
|
15
|
|
|
|
|
16
|
|
|
/** |
|
17
|
|
|
* Highcharts lang test. |
|
18
|
|
|
* |
|
19
|
|
|
* @author webeweb <https://github.com/webeweb/> |
|
20
|
|
|
* @package WBW\Bundle\HighchartsBundle\Tests\API\Options |
|
21
|
|
|
* @version 5.0.14 |
|
22
|
|
|
*/ |
|
23
|
|
|
final class HighchartsLangTest extends PHPUnit_Framework_TestCase { |
|
24
|
|
|
|
|
25
|
|
|
/** |
|
26
|
|
|
* Tests the __construct() method. |
|
27
|
|
|
* |
|
28
|
|
|
* @return void |
|
29
|
|
|
*/ |
|
30
|
|
|
public function testConstructor() { |
|
31
|
|
|
|
|
32
|
|
|
$obj1 = new \WBW\Bundle\HighchartsBundle\API\Options\HighchartsLang(true); |
|
33
|
|
|
|
|
34
|
|
|
$this->assertEquals(null, $obj1->getContextButtonTitle()); |
|
35
|
|
|
$this->assertEquals(null, $obj1->getDecimalPoint()); |
|
36
|
|
|
$this->assertEquals(null, $obj1->getDownloadJPEG()); |
|
37
|
|
|
$this->assertEquals(null, $obj1->getDownloadPDF()); |
|
38
|
|
|
$this->assertEquals(null, $obj1->getDownloadPNG()); |
|
39
|
|
|
$this->assertEquals(null, $obj1->getDownloadSVG()); |
|
40
|
|
|
$this->assertEquals(null, $obj1->getDrillUpText()); |
|
41
|
|
|
$this->assertEquals(null, $obj1->getInvalidDate()); |
|
42
|
|
|
$this->assertEquals(null, $obj1->getLoading()); |
|
43
|
|
|
$this->assertEquals(null, $obj1->getMonths()); |
|
44
|
|
|
$this->assertEquals(null, $obj1->getNoData()); |
|
45
|
|
|
$this->assertEquals(null, $obj1->getNumericSymbolMagnitude()); |
|
46
|
|
|
$this->assertEquals(null, $obj1->getNumericSymbols()); |
|
47
|
|
|
$this->assertEquals(null, $obj1->getPrintChart()); |
|
48
|
|
|
$this->assertEquals(null, $obj1->getResetZoom()); |
|
49
|
|
|
$this->assertEquals(null, $obj1->getResetZoomTitle()); |
|
50
|
|
|
$this->assertEquals(null, $obj1->getShortMonths()); |
|
51
|
|
|
$this->assertEquals(null, $obj1->getShortWeekdays()); |
|
52
|
|
|
$this->assertEquals(null, $obj1->getThousandsSep()); |
|
53
|
|
|
$this->assertEquals(null, $obj1->getWeekdays()); |
|
54
|
|
|
|
|
55
|
|
|
$obj0 = new \WBW\Bundle\HighchartsBundle\API\Options\HighchartsLang(false); |
|
56
|
|
|
|
|
57
|
|
|
$this->assertEquals("Chart context menu", $obj0->getContextButtonTitle()); |
|
58
|
|
|
$this->assertEquals(".", $obj0->getDecimalPoint()); |
|
59
|
|
|
$this->assertEquals("Download JPEG image", $obj0->getDownloadJPEG()); |
|
60
|
|
|
$this->assertEquals("Download PDF document", $obj0->getDownloadPDF()); |
|
61
|
|
|
$this->assertEquals("Download PNG image", $obj0->getDownloadPNG()); |
|
62
|
|
|
$this->assertEquals("Download SVG vector image", $obj0->getDownloadSVG()); |
|
63
|
|
|
$this->assertEquals("Back to {series.name}", $obj0->getDrillUpText()); |
|
64
|
|
|
$this->assertEquals(null, $obj0->getInvalidDate()); |
|
65
|
|
|
$this->assertEquals("Loading...", $obj0->getLoading()); |
|
66
|
|
|
$this->assertEquals(["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], $obj0->getMonths()); |
|
67
|
|
|
$this->assertEquals("No data to display", $obj0->getNoData()); |
|
68
|
|
|
$this->assertEquals(1000, $obj0->getNumericSymbolMagnitude()); |
|
69
|
|
|
$this->assertEquals(["k", "M", "G", "T", "P", "E"], $obj0->getNumericSymbols()); |
|
70
|
|
|
$this->assertEquals("Print chart", $obj0->getPrintChart()); |
|
71
|
|
|
$this->assertEquals("Reset zoom", $obj0->getResetZoom()); |
|
72
|
|
|
$this->assertEquals("Reset zoom level 1:1", $obj0->getResetZoomTitle()); |
|
73
|
|
|
$this->assertEquals(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], $obj0->getShortMonths()); |
|
74
|
|
|
$this->assertEquals(null, $obj0->getShortWeekdays()); |
|
75
|
|
|
$this->assertEquals(null, $obj0->getThousandsSep()); |
|
76
|
|
|
$this->assertEquals(["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], $obj0->getWeekdays()); |
|
77
|
|
|
} |
|
78
|
|
|
|
|
79
|
|
|
/** |
|
80
|
|
|
* Tests the jsonSerialize() method. |
|
81
|
|
|
* |
|
82
|
|
|
* @return void |
|
83
|
|
|
*/ |
|
84
|
|
|
public function testJsonSerialize() { |
|
85
|
|
|
|
|
86
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Options\HighchartsLang(true); |
|
87
|
|
|
|
|
88
|
|
|
$this->assertEquals([], $obj->jsonSerialize()); |
|
89
|
|
|
} |
|
90
|
|
|
|
|
91
|
|
|
/** |
|
92
|
|
|
* Tests the toArray() method. |
|
93
|
|
|
* |
|
94
|
|
|
* @return void |
|
95
|
|
|
*/ |
|
96
|
|
|
public function testToArray() { |
|
97
|
|
|
|
|
98
|
|
|
$obj = new \WBW\Bundle\HighchartsBundle\API\Options\HighchartsLang(true); |
|
99
|
|
|
|
|
100
|
|
|
$obj->setContextButtonTitle("7a5efd58f7f05365b0f3f4b9573d73a9"); |
|
101
|
|
|
|
|
102
|
|
|
$res1 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9"]; |
|
103
|
|
|
$this->assertEquals($res1, $obj->toArray()); |
|
104
|
|
|
|
|
105
|
|
|
$obj->setDecimalPoint("7d9af7a21241609a979bda8ca517044c"); |
|
106
|
|
|
|
|
107
|
|
|
$res2 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c"]; |
|
108
|
|
|
$this->assertEquals($res2, $obj->toArray()); |
|
109
|
|
|
|
|
110
|
|
|
$obj->setDownloadJPEG("35ef8afd48b58aed282a3dbcc908d9f6"); |
|
111
|
|
|
|
|
112
|
|
|
$res3 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6"]; |
|
113
|
|
|
$this->assertEquals($res3, $obj->toArray()); |
|
114
|
|
|
|
|
115
|
|
|
$obj->setDownloadPDF("aa023eae5abd2e0879bec81e092e66d5"); |
|
116
|
|
|
|
|
117
|
|
|
$res4 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5"]; |
|
118
|
|
|
$this->assertEquals($res4, $obj->toArray()); |
|
119
|
|
|
|
|
120
|
|
|
$obj->setDownloadPNG("e1df48f80c5798d2f9c4d6d547716ae0"); |
|
121
|
|
|
|
|
122
|
|
|
$res5 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0"]; |
|
123
|
|
|
$this->assertEquals($res5, $obj->toArray()); |
|
124
|
|
|
|
|
125
|
|
|
$obj->setDownloadSVG("003855f2b7922a03bcb46e7b43b22bc7"); |
|
126
|
|
|
|
|
127
|
|
|
$res6 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7"]; |
|
128
|
|
|
$this->assertEquals($res6, $obj->toArray()); |
|
129
|
|
|
|
|
130
|
|
|
$obj->setDrillUpText("7398f774f17ac4f9f0eb0b21c9a88990"); |
|
131
|
|
|
|
|
132
|
|
|
$res7 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990"]; |
|
133
|
|
|
$this->assertEquals($res7, $obj->toArray()); |
|
134
|
|
|
|
|
135
|
|
|
$obj->setInvalidDate("bdb500c6e404d6c0ca66ff50b8d61885"); |
|
136
|
|
|
|
|
137
|
|
|
$res8 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885"]; |
|
138
|
|
|
$this->assertEquals($res8, $obj->toArray()); |
|
139
|
|
|
|
|
140
|
|
|
$obj->setLoading("a14fa2166ed698f3d04061f57e5ab9b9"); |
|
141
|
|
|
|
|
142
|
|
|
$res9 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9"]; |
|
143
|
|
|
$this->assertEquals($res9, $obj->toArray()); |
|
144
|
|
|
|
|
145
|
|
|
$obj->setMonths(["months" => "da36cfaf48b9e19896e23e1207040d1e"]); |
|
146
|
|
|
|
|
147
|
|
|
$res10 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"]]; |
|
148
|
|
|
$this->assertEquals($res10, $obj->toArray()); |
|
149
|
|
|
|
|
150
|
|
|
$obj->setNoData("a63552597cd61a815eed873c5235c18e"); |
|
151
|
|
|
|
|
152
|
|
|
$res11 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e"]; |
|
153
|
|
|
$this->assertEquals($res11, $obj->toArray()); |
|
154
|
|
|
|
|
155
|
|
|
$obj->setNumericSymbolMagnitude(45); |
|
156
|
|
|
|
|
157
|
|
|
$res12 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45]; |
|
158
|
|
|
$this->assertEquals($res12, $obj->toArray()); |
|
159
|
|
|
|
|
160
|
|
|
$obj->setNumericSymbols(["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"]); |
|
161
|
|
|
|
|
162
|
|
|
$res13 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"]]; |
|
163
|
|
|
$this->assertEquals($res13, $obj->toArray()); |
|
164
|
|
|
|
|
165
|
|
|
$obj->setPrintChart("864d4f633659213ec0e69fc169a4bac1"); |
|
166
|
|
|
|
|
167
|
|
|
$res14 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1"]; |
|
168
|
|
|
$this->assertEquals($res14, $obj->toArray()); |
|
169
|
|
|
|
|
170
|
|
|
$obj->setResetZoom("3b4f63d9335b37193695773c54d06634"); |
|
171
|
|
|
|
|
172
|
|
|
$res15 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1", "resetZoom" => "3b4f63d9335b37193695773c54d06634"]; |
|
173
|
|
|
$this->assertEquals($res15, $obj->toArray()); |
|
174
|
|
|
|
|
175
|
|
|
$obj->setResetZoomTitle("4644b6dcf8cb64bc947a3d7617d98cdd"); |
|
176
|
|
|
|
|
177
|
|
|
$res16 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1", "resetZoom" => "3b4f63d9335b37193695773c54d06634", "resetZoomTitle" => "4644b6dcf8cb64bc947a3d7617d98cdd"]; |
|
178
|
|
|
$this->assertEquals($res16, $obj->toArray()); |
|
179
|
|
|
|
|
180
|
|
|
$obj->setShortMonths(["shortMonths" => "7cfa6eb2e9f41003ac5c121106dc32c1"]); |
|
181
|
|
|
|
|
182
|
|
|
$res17 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1", "resetZoom" => "3b4f63d9335b37193695773c54d06634", "resetZoomTitle" => "4644b6dcf8cb64bc947a3d7617d98cdd", "shortMonths" => ["shortMonths" => "7cfa6eb2e9f41003ac5c121106dc32c1"]]; |
|
183
|
|
|
$this->assertEquals($res17, $obj->toArray()); |
|
184
|
|
|
|
|
185
|
|
|
$obj->setShortWeekdays(["shortWeekdays" => "f232077d652edee073a547d6f8c9dbaa"]); |
|
186
|
|
|
|
|
187
|
|
|
$res18 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1", "resetZoom" => "3b4f63d9335b37193695773c54d06634", "resetZoomTitle" => "4644b6dcf8cb64bc947a3d7617d98cdd", "shortMonths" => ["shortMonths" => "7cfa6eb2e9f41003ac5c121106dc32c1"], "shortWeekdays" => ["shortWeekdays" => "f232077d652edee073a547d6f8c9dbaa"]]; |
|
188
|
|
|
$this->assertEquals($res18, $obj->toArray()); |
|
189
|
|
|
|
|
190
|
|
|
$obj->setThousandsSep("62ca5281092a9f16f951c5b81a9e25f9"); |
|
191
|
|
|
|
|
192
|
|
|
$res19 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1", "resetZoom" => "3b4f63d9335b37193695773c54d06634", "resetZoomTitle" => "4644b6dcf8cb64bc947a3d7617d98cdd", "shortMonths" => ["shortMonths" => "7cfa6eb2e9f41003ac5c121106dc32c1"], "shortWeekdays" => ["shortWeekdays" => "f232077d652edee073a547d6f8c9dbaa"], "thousandsSep" => "62ca5281092a9f16f951c5b81a9e25f9"]; |
|
193
|
|
|
$this->assertEquals($res19, $obj->toArray()); |
|
194
|
|
|
|
|
195
|
|
|
$obj->setWeekdays(["weekdays" => "92b9604ffb8fe10577de981be625a6d1"]); |
|
196
|
|
|
|
|
197
|
|
|
$res20 = ["contextButtonTitle" => "7a5efd58f7f05365b0f3f4b9573d73a9", "decimalPoint" => "7d9af7a21241609a979bda8ca517044c", "downloadJPEG" => "35ef8afd48b58aed282a3dbcc908d9f6", "downloadPDF" => "aa023eae5abd2e0879bec81e092e66d5", "downloadPNG" => "e1df48f80c5798d2f9c4d6d547716ae0", "downloadSVG" => "003855f2b7922a03bcb46e7b43b22bc7", "drillUpText" => "7398f774f17ac4f9f0eb0b21c9a88990", "invalidDate" => "bdb500c6e404d6c0ca66ff50b8d61885", "loading" => "a14fa2166ed698f3d04061f57e5ab9b9", "months" => ["months" => "da36cfaf48b9e19896e23e1207040d1e"], "noData" => "a63552597cd61a815eed873c5235c18e", "numericSymbolMagnitude" => 45, "numericSymbols" => ["numericSymbols" => "e1dfcadcb412bd09f22c6686e6801994"], "printChart" => "864d4f633659213ec0e69fc169a4bac1", "resetZoom" => "3b4f63d9335b37193695773c54d06634", "resetZoomTitle" => "4644b6dcf8cb64bc947a3d7617d98cdd", "shortMonths" => ["shortMonths" => "7cfa6eb2e9f41003ac5c121106dc32c1"], "shortWeekdays" => ["shortWeekdays" => "f232077d652edee073a547d6f8c9dbaa"], "thousandsSep" => "62ca5281092a9f16f951c5b81a9e25f9", "weekdays" => ["weekdays" => "92b9604ffb8fe10577de981be625a6d1"]]; |
|
198
|
|
|
$this->assertEquals($res20, $obj->toArray()); |
|
199
|
|
|
} |
|
200
|
|
|
|
|
201
|
|
|
} |
|
202
|
|
|
|