|
Oolite
|
Go to the source code of this file.
Functions | |
| NSArray * | OOPocRecordedLogMessages (void) |
| void | OOPocClearRecordedLogMessages (void) |
| static void | Check (BOOL condition, NSString *description) |
| static BOOL | LogContains (NSString *text) |
| static double | Now (void) |
| static NSString * | CallForString (OOJSScript *script, NSString *method) |
| static void | RunBehaviourTests (NSString *testDir, NSString *fileName) |
| static void | RunScopeTests (NSString *testDir) |
| static void | RunErrorTests (NSString *testDir) |
| static void | RunTimeLimiterTests (NSString *testDir) |
| int | main (int argc, const char *argv[]) |
Variables | |
| static unsigned | sFailures = 0 |
| static unsigned | sChecks = 0 |
|
static |
Definition at line 55 of file main.m.
References count, nil, OOJSAcquireContext(), and OOStringFromJSValueEvenIfNull().
Referenced by RunBehaviourTests(), RunErrorTests(), RunScopeTests(), and RunTimeLimiterTests().
|
static |
Definition at line 26 of file main.m.
References sChecks, and sFailures.
Referenced by main(), RunBehaviourTests(), RunErrorTests(), RunScopeTests(), and RunTimeLimiterTests().
|
static |
Definition at line 38 of file main.m.
References OOPocRecordedLogMessages().
Referenced by RunErrorTests(), and RunTimeLimiterTests().
Definition at line 123 of file main.m.
References Check(), ranrot_srand(), RunBehaviourTests(), RunErrorTests(), RunScopeTests(), RunTimeLimiterTests(), sChecks, sFailures, OOJavaScriptEngine::sharedEngine, and OOJavaScriptEngine::shutDown.
|
static |
Definition at line 47 of file main.m.
Referenced by RunTimeLimiterTests().
| void OOPocClearRecordedLogMessages | ( | void | ) |
Definition at line 20 of file OOLogStub.m.
Referenced by RunErrorTests(), and RunTimeLimiterTests().
| NSArray * OOPocRecordedLogMessages | ( | void | ) |
Definition at line 15 of file OOLogStub.m.
References sRecordedMessages.
Referenced by LogContains().
|
static |
Definition at line 68 of file main.m.
References CallForString(), Check(), nil, and OOJSScript::scriptWithPath:.
Referenced by main().
|
static |
Definition at line 92 of file main.m.
References CallForString(), Check(), LogContains(), nil, OOPocClearRecordedLogMessages(), and OOJSScript::scriptWithPath:.
Referenced by main().
|
static |
Definition at line 77 of file main.m.
References CallForString(), Check(), nil, and OOJSScript::scriptWithPath:.
Referenced by main().
|
static |
Definition at line 107 of file main.m.
References CallForString(), Check(), LogContains(), nil, Now(), OOPocClearRecordedLogMessages(), and OOJSScript::scriptWithPath:.
Referenced by main().
|
static |