Guest User

Untitled

a guest
Oct 19th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #import <GHUnit/GHUnit.h>
  2. #import "Show.h"
  3. @interface ShowTest : GHTestCase { }
  4. @end
  5.  
  6. @implementation ShowTest
  7. - (void)testShowCreate
  8. {
  9. Show *s = [[Show alloc] init];
  10. GHAssertNotNil(s,@"Was nil.");
  11. }
  12.  
  13. @end
  14.  
  15. __objc_classrefs__DATA@0 in ShowTest.o
  16.  
  17. Show* s = [[objc_getClass("Show") alloc] init];
  18. ...
  19.  
  20. Show* s = [[NSClassFromString(@"Show") alloc] init];
  21. ...
Add Comment
Please, Sign In to add comment