HWDBTestCase7

来源:互联网 发布:https绑定域名iis 编辑:程序博客网 时间:2024/06/12 00:02

 protected final void tearDown() throws Exception
    {
        lastFlag = false;
        for (File f : files)
        {
            fileName = f.getPath();
            if (fileName.substring(fileName.lastIndexOf("//") + 1)
                    .startsWith(USER_TOPENG))
            {
                changeDbInfo(USER_TOPENG, PWD_TOPENG);
                disableForeignKey();
            }
            if (fileName.substring(fileName.lastIndexOf("//") + 1)
                    .startsWith(USER_CCARE))
            {
                changeDbInfo(USER_CCARE, PWD_CCARE);
                disableForeignKey();
            }
        

原创粉丝点击