48 void tcChangeConnectionName_data(); |
52 void tcChangeConnectionName_data(); |
49 void tcConnectionNameEmpty(); |
53 void tcConnectionNameEmpty(); |
50 void tcChangeAccessPointName(); |
54 void tcChangeAccessPointName(); |
51 void tcChangeAccessPointName_data(); |
55 void tcChangeAccessPointName_data(); |
52 void tcAccessPointNameEmpty(); |
56 void tcAccessPointNameEmpty(); |
|
57 void tcTooLongUserNameInCommsDat(); |
53 void tcChangeUserName(); |
58 void tcChangeUserName(); |
54 void tcChangeUserName_data(); |
59 void tcChangeUserName_data(); |
55 void tcScrollToBottom(); |
60 void tcScrollToBottom(); |
56 void tcChangePromptPassword(); |
61 void tcChangePromptPassword(); |
57 void tcChangePassword(); |
62 void tcChangePassword(); |
58 void tcChangePassword_data(); |
63 void tcChangePassword_data(); |
59 void tcChangeAuthenticationMode(); |
64 void tcChangeAuthenticationMode(); |
60 void tcChangeHomepage(); |
65 void tcChangeHomepage(); |
61 void tcChangeHomepage_data(); |
66 void tcChangeHomepage_data(); |
62 void tcAdvancedSettings(); |
67 void tcOpenAdvancedSettingsView(); |
|
68 void tcExpandIpSettings(); |
|
69 void tcSetIpv4NetworkType(); |
|
70 void tcEnableAutomaticIpv4Address(); |
|
71 void tcEnableUserDefinedIpv4Address(); |
|
72 void tcChangeIpAddress(); |
|
73 void tcChangeIpAddress_data(); |
|
74 void tcScrollToBottom2(); |
|
75 void tcEnableAutomaticIpv4DnsAddress(); |
|
76 void tcEnableUserDefinedIpv4DnsAddress(); |
|
77 void tcChangeIpv4DnsAddress(); |
|
78 void tcChangeIpv4DnsAddress_data(); |
|
79 void tcInvalidIpv4DnsAddress(); |
|
80 void tcScrollToTop(); |
|
81 void tcSetIpv6NetworkType(); |
|
82 void tcEnableAutomaticIpv6DnsAddress(); |
|
83 void tcEnableWellKnownIpv6DnsAddress(); |
|
84 void tcEnableUserDefinedIpv6DnsAddress(); |
|
85 void tcChangeIpv6DnsAddress(); |
|
86 void tcChangeIpv6DnsAddress_data(); |
|
87 void tcInvalidIpv6DnsAddress(); |
|
88 void tcCollapseIpSettings(); |
|
89 void tcExpandProxySettingsAndGetUiWidgets(); |
|
90 void tcChangeProxyServerAddress(); |
|
91 void tcChangeProxyServerAddress_data(); |
|
92 void tcChangeProxyPortNumber(); |
|
93 void tcChangeProxyPortNumber_data(); |
|
94 void tcInvalidProxyPortNumber(); |
|
95 void tcCollapseProxySettings(); |
|
96 void tcCloseAdvancedSettingsView(); |
63 |
97 |
64 private: |
98 private: |
65 // Sub test cases |
99 // Sub test cases |
|
100 void subGetUiWidgets(); |
|
101 void subGetAdvancedUiWidgets(uint index); |
|
102 HbWidget *subGetWidgetByIndex( |
|
103 HbDataForm *form, |
|
104 const QModelIndex &index); |
|
105 void subInitializeCommsDat(); |
66 void subCreateSettingsView(uint connetionMethodId); |
106 void subCreateSettingsView(uint connetionMethodId); |
67 void subVerifyString( |
107 void subVerifyString( |
68 CMManagerShim::ConnectionMethodAttribute attribute, |
108 CMManagerShim::ConnectionMethodAttribute attribute, |
69 HbDataFormModelItem *item, |
109 HbDataFormModelItem *item, |
70 QString expected); |
110 QString expected); |
71 void subClearLineEdit(uint length); |
111 void subClearLineEdit(uint length); |
72 bool subGetBool(CMManagerShim::ConnectionMethodAttribute attribute); |
112 bool subGetBool(CMManagerShim::ConnectionMethodAttribute attribute); |
73 void subVerifyBool( |
113 void subVerifyBool( |
74 CMManagerShim::ConnectionMethodAttribute attribute, |
114 CMManagerShim::ConnectionMethodAttribute attribute, |
75 bool expected); |
115 bool expected); |
|
116 void subVerifyUint( |
|
117 CMManagerShim::ConnectionMethodAttribute attribute, |
|
118 uint expected); |
76 void subClickWidget(const QString &name); |
119 void subClickWidget(const QString &name); |
|
120 void subScrollToBottom(); |
|
121 void subScrollToTop(); |
77 |
122 |
78 private: |
123 private: |
79 // Code references |
124 // Code references |
80 CpPacketDataApView *mTestView; |
125 CpPacketDataApView *mTestView; |
|
126 CpPacketDataApAdvancedView *mTestViewAdvanced; |
|
127 // "Access point settings" UI widgets |
|
128 HbWidget *mConnectionNameWidget; |
|
129 HbWidget *mAccessPointNameWidget; |
|
130 HbWidget *mUserNameWidget; |
|
131 HbWidget *mPasswordPromptWidget; |
|
132 HbWidget *mPasswordWidget; |
|
133 HbWidget *mAuthenticationWidget; |
|
134 HbWidget *mHomepageWidget; |
|
135 // "Advanced settings" UI widgets |
|
136 HbDataFormViewItem *mIpGroupViewItem; |
|
137 HbDataFormViewItem *mProxyGroupViewItem; |
|
138 HbWidget *mNetworkTypeWidget; |
|
139 HbWidget *mIpv4AddressAutomaticWidget; |
|
140 HbWidget *mIpv4AddressWidget; |
|
141 HbWidget *mIpv4DnsAddressAutomaticWidget; |
|
142 HbWidget *mIpv4PrimaryDnsAddressWidget; |
|
143 HbWidget *mIpv4SecondaryDnsAddressWidget; |
|
144 HbWidget *mIpv6DnsAddressAutomaticWidget; |
|
145 HbWidget *mIpv6PrimaryDnsAddressWidget; |
|
146 HbWidget *mIpv6SecondaryDnsAddressWidget; |
|
147 HbWidget *mProxyServerAddressWidget; |
|
148 HbWidget *mProxyPortNumberWidget; |
81 |
149 |
82 // Test data |
150 // Test data |
83 HbAutoTestMainWindow *mMainWindow; |
151 HbAutoTestMainWindow *mMainWindow; |
|
152 QPluginLoader *mPluginLoader; |
84 CpBearerApPluginInterface *mPlugin; |
153 CpBearerApPluginInterface *mPlugin; |
85 }; |
154 }; |