OLD | NEW |
(Empty) | |
| 1 // -*- mode: ObjC -*- |
| 2 |
| 3 // This file is part of class-dump, a utility for examining the Objective-C seg
ment of Mach-O files. |
| 4 // Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard. |
| 5 |
| 6 #import <SenTestingKit/SenTestingKit.h> |
| 7 |
| 8 @class CDTypeLexer; |
| 9 |
| 10 @interface CDTypeLexerUnitTest : SenTestCase |
| 11 { |
| 12 CDTypeLexer *lexer; |
| 13 } |
| 14 |
| 15 - (void)setUp; |
| 16 - (void)tearDown; |
| 17 |
| 18 - (void)_setupLexerForString:(NSString *)str; |
| 19 - (void)_cleanupLexer; |
| 20 - (void)_showScannedTokens; |
| 21 - (void)showScannedTokensForString:(NSString *)str; |
| 22 |
| 23 - (void)testLexingString:(NSString *)str expectedResults:(struct tokenValuePair
*)expectedResults; |
| 24 |
| 25 - (void)testSimpleTokens; |
| 26 - (void)testQuotedStringToken; |
| 27 - (void)testEmptyQuotedStringToken; |
| 28 - (void)testUnterminatedQuotedString; |
| 29 - (void)testIdentifierToken; |
| 30 - (void)testTemplateTokens; |
| 31 |
| 32 @end |
OLD | NEW |