!662 fix SYSCALL SysFstat,SysFstat64,SysFstatat64(fix struct kstat with stat) & add 19 IO testcases

Merge pull request !662 from 刘治万/1015_unitest
This commit is contained in:
openharmony_ci
2021-11-04 01:46:08 +00:00
committed by Gitee
6 changed files with 341 additions and 48 deletions

View File

@@ -192,7 +192,6 @@ HWTEST_F(IoTest, ItStdioReadv001, TestSize.Level0)
ItStdioReadv001();
}
/* *
* @tc.name: IT_STDIO_RINDEX_001
* @tc.desc: function for IoTest
@@ -291,5 +290,225 @@ HWTEST_F(IoTest, ItStdioMbrlen001, TestSize.Level0)
{
ItStdioMbrlen001();
}
/* *
* @tc.name: IT_STDIO_HASMNTOPT_001
* @tc.desc: function for IoTest-normal testcase
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IT_STDIO_HASMNTOPT_001, TestSize.Level0)
{
IT_STDIO_HASMNTOPT_001();
}
/* *
* @tc.name: IO_TEST_DUPLOCALE_001
* @tc.desc: function for IoTest-dup the locale global pointer
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DUPLOCALE_001, TestSize.Level0)
{
IO_TEST_DUPLOCALE_001();
}
/* *
* @tc.name: IO_TEST_NL_LANGINFO_001
* @tc.desc: function for IoTest-normal testcase
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_NL_LANGINFO_001, TestSize.Level0)
{
IO_TEST_NL_LANGINFO_001();
}
/* *
* @tc.name: IO_TEST_STRCASECMP_L_001
* @tc.desc: function for IoTest-normal testcase
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_STRCASECMP_L_001, TestSize.Level0)
{
IO_TEST_STRCASECMP_L_001();
}
/* *
* @tc.name: IO_TEST_STRCASECMP_L_002
* @tc.desc: function for IoTest-normal testcase
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_STRCASECMP_L_002, TestSize.Level0)
{
IO_TEST_STRCASECMP_L_002();
}
/* *
* @tc.name: IO_TEST_STRNCASECMP_L_001
* @tc.desc: function for IoTest-normal testcase
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_STRNCASECMP_L_001, TestSize.Level0)
{
IO_TEST_STRNCASECMP_L_001();
}
/* *
* @tc.name: IO_TEST_STRNCASECMP_L_002
* @tc.desc: function for IoTest-normal testcase
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_STRNCASECMP_L_002, TestSize.Level0)
{
IO_TEST_STRNCASECMP_L_002();
}
/* *
* @tc.name: IO_TEST_NL_LANGINFO_l_001
* @tc.desc: function for IoTest-query language and locale information
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_NL_LANGINFO_l_001, TestSize.Level0)
{
IO_TEST_NL_LANGINFO_l_001();
}
/* *
* @tc.name: IO_TEST_DNGETTEXT_001
* @tc.desc: function for IoTest-print the translated string1 or string2
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DNGETTEXT_001, TestSize.Level0)
{
IO_TEST_DNGETTEXT_001();
}
/* *
* @tc.name: IO_TEST_DNGETTEXT_002
* @tc.desc: function for IoTest-innormal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DNGETTEXT_002, TestSize.Level0)
{
IO_TEST_DNGETTEXT_002();
}
/* *
* @tc.name: IO_TEST_DCNGETTEXT_001
* @tc.desc: function for IoTest-print the translated string1 or string2 with locale parameter
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DCNGETTEXT_001, TestSize.Level0)
{
IO_TEST_DCNGETTEXT_001();
}
/* *
* @tc.name: IO_TEST_DCNGETTEXT_002
* @tc.desc: function for IoTest-innormal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DCNGETTEXT_002, TestSize.Level0)
{
IO_TEST_DCNGETTEXT_002();
}
/* *
* @tc.name: IO_TEST_DCGETTEXT_001
* @tc.desc: function for IoTest-print the translated string with locale parameter
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DCGETTEXT_001, TestSize.Level0)
{
IO_TEST_DCGETTEXT_001();
}
/* *
* @tc.name: IO_TEST_DCGETTEXT_002
* @tc.desc: function for IoTest-innormal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_DCGETTEXT_002, TestSize.Level0)
{
IO_TEST_DCGETTEXT_002();
}
/* *
* @tc.name: IO_TEST_GETTEXT_001
* @tc.desc: function for IoTest-normal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_GETTEXT_001, TestSize.Level0)
{
IO_TEST_GETTEXT_001();
}
/* *
* @tc.name: IO_TEST_LOCALE_001
* @tc.desc: function for IoTest-normal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_LOCALE_001, TestSize.Level0)
{
IO_TEST_LOCALE_001();
}
/* *
* @tc.name: IO_TEST_LOCALE_002
* @tc.desc: function for IoTest-innormal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_LOCALE_002, TestSize.Level0)
{
IO_TEST_LOCALE_002();
}
/* *
* @tc.name: IO_TEST_STRFMON_L_001
* @tc.desc: function for IoTest-normal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_STRFMON_L_001, TestSize.Level0)
{
IO_TEST_STRFMON_L_001();
}
/* *
* @tc.name: IO_TEST_STRFMON_L_002
* @tc.desc: function for IoTest-innormal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_STRFMON_L_002, TestSize.Level0)
{
IO_TEST_STRFMON_L_002();
}
/* *
* @tc.name: IO_TEST_NGETTEXT_001
* @tc.desc: function for IoTest-normal testcases
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(IoTest, IO_TEST_NGETTEXT_001, TestSize.Level0)
{
IO_TEST_NGETTEXT_001();
}
#endif
} // namespace OHOS