diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/oc/50007-misc.m')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/oc/50007-misc.m | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/oc/50007-misc.m b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/oc/50007-misc.m new file mode 100644 index 00000000..4de222a1 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/oc/50007-misc.m @@ -0,0 +1,25 @@ +-(id)init +{ + GLfloat wc[3][3] = { { 0.6, 0.6, 0.0 }, { 1.0, 0.7, 0.1 }, { 0.5, 0.7, 0.2 }, }; + GLfloat cc[3][3] = { { 0.0, 0.0, 0.6 }, { 0.3, 0.1, 0.5 }, { 0.0, 0.0, 0.5 }, }; + GLfloat sc[3] = { 0.75, 0.75, 0.75 }; + + return [self initWithWarmColors: (float *)&wc coolColors: (float *)&cc + surfaceColor: sc enableTexturing: NO enableSpecular: YES + enableQuakeDisruptor: NO]; + + [NSException raise: NSInternalInconsistency + format: @"An internal inconsistency was raised"]; + + for (i = 0; i < [a count]; i++) + { + [thePerson setAmount: (1.5 * 17) forKey: @"overtime"]; + [screen showtext : x: y: @"Message"]; + } +} + +*outError = [NSError errorWithDomain: NSCocoaErrorDomain + code: 0 + userInfo: [NSDictionary + dictionaryWithObject: @"Some Description" + forKey: NSLocalizedDescriptionKey]]; |