ModelLog Class Reference

Inherits from NSObject
Declared in ModelLog.h
ModelLog.m

Overview

An object that stores the test error logs intercepted when testing a model file with AssimpImporterTests.

Creating a model test log

– init

Creates a new model test log object.

- (id)init

Return Value

A new model test log object.

Discussion

Creates a new model test log object.

Declared In

ModelLog.h

Add, fetch error logs

– addErrorLog:

Add an error log for a test assertion in AssimpImporterTests checks.

- (void)addErrorLog:(NSString *)errorLog

Parameters

errorLog

The string error log.

Discussion

Add an error log for a test assertion in AssimpImporterTests checks.

Declared In

ModelLog.h

– getErrors

Returns the array of error logs for each error intercepted in testing.

- (NSArray *)getErrors

Return Value

The array of error logs.

Discussion

Returns the array of error logs for each error intercepted in testing.

Declared In

ModelLog.h

Pass or Fail

– testPassed

Returns the model test as passed verification if there were no errors during testing.

- (BOOL)testPassed

Return Value

Whether the test passed or failed.

Discussion

Returns the model test as passed verification if there were no errors during testing.

Declared In

ModelLog.h