QGVAPlayerDemoUITests.m 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // QGVAPlayerDemoUITests.m
  2. // Tencent is pleased to support the open source community by making vap available.
  3. //
  4. // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
  5. //
  6. // Licensed under the MIT License (the "License"); you may not use this file except in
  7. // compliance with the License. You may obtain a copy of the License at
  8. //
  9. // http://opensource.org/licenses/MIT
  10. //
  11. // Unless required by applicable law or agreed to in writing, software distributed under the License is
  12. // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  13. // either express or implied. See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. #import <XCTest/XCTest.h>
  16. @interface QGVAPlayerDemoUITests : XCTestCase
  17. @end
  18. @implementation QGVAPlayerDemoUITests
  19. - (void)setUp {
  20. // Put setup code here. This method is called before the invocation of each test method in the class.
  21. // In UI tests it is usually best to stop immediately when a failure occurs.
  22. self.continueAfterFailure = NO;
  23. // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
  24. if (@available(iOS 9.0, *)) {
  25. [[[XCUIApplication alloc] init] launch];
  26. } else {
  27. // Fallback on earlier versions
  28. }
  29. // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
  30. }
  31. - (void)tearDown {
  32. // Put teardown code here. This method is called after the invocation of each test method in the class.
  33. }
  34. - (void)testExample {
  35. // Use recording to get started writing UI tests.
  36. // Use XCTAssert and related functions to verify your tests produce the correct results.
  37. }
  38. @end