| 151 | } |
| 152 | |
| 153 | void UnZipNormalFile::onEnter() |
| 154 | { |
| 155 | TestCase::onEnter(); |
| 156 | |
| 157 | const auto winSize = Director::getInstance()->getWinSize(); |
| 158 | |
| 159 | Label* label = Label::createWithTTF("unziping file", "fonts/Marker Felt.ttf", 23); |
| 160 | label->setPosition(winSize.width / 2, winSize.height / 2); |
| 161 | addChild(label); |
| 162 | |
| 163 | unzipTest(label, "zip/10k.txt", "10-nopasswd.zip", "zip/10k-nopass.zip"); |
| 164 | } |
| 165 | |
| 166 | std::string UnZipNormalFile::subtitle() const |
| 167 | { |
nothing calls this directly
no test coverage detected