summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50009-literals.mm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50009-literals.mm')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50009-literals.mm47
1 files changed, 0 insertions, 47 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50009-literals.mm b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50009-literals.mm
deleted file mode 100644
index 4bd99277..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/oc/50009-literals.mm
+++ /dev/null
@@ -1,47 +0,0 @@
-
-NSDictionary *dictionary = @{
- @0: @"red", @1: @"green", @2: @"blue"
-};
-
-NSArray *array = @[@0, @1, @2, @YES, @'Z', @42U];
-
-NSArray *multilineArray = @[
- @0, @1, @2, @YES,
- @'Z', @42U
-];
-
-void main(int argc, const char *argv[])
-{
- // character literals.
- NSNumber *theLetterZ = @'Z'; // equivalent to [NSNumber numberWithChar:'Z']
-
- // integral literals.
- NSNumber *fortyTwo = @42; // equivalent to [NSNumber numberWithInt:42]
- NSNumber *fortyTwoUnsigned = @42U; // equivalent to [NSNumber numberWithUnsignedInt:42U]
- NSNumber *fortyTwoLong = @42L; // equivalent to [NSNumber numberWithLong:42L]
- NSNumber *fortyTwoLongLong = @42LL; // equivalent to [NSNumber numberWithLongLong:42LL]
-
- // floating point literals.
- NSNumber *piFloat = @3.141592654F; // equivalent to [NSNumber numberWithFloat:3.141592654F]
- NSNumber *piDouble = @3.1415926535; // equivalent to [NSNumber numberWithDouble:3.1415926535]
-
- // BOOL literals.
- NSNumber *yesNumber = @YES; // equivalent to [NSNumber numberWithBool:YES]
- NSNumber *noNumber = @NO; // equivalent to [NSNumber numberWithBool:NO]
-
- // Raw string literals
- NSString *rawString = [NSString stringWithFormat:@R"(embedded " quotes " )"];
- NSString *delimiterRawString = [NSString stringWithFormat:@R"<<<(embedded "quotes ')<<<"];
- NSString *groupIDString = [NSString stringWithFormat:@R"({"group_id " : " % @",})", groupID];
- NSString *config = @R"({"config_v1" : [
- {"op1" : {"type":{"unsupported1":{}}},"markers":[123]},
- {"op2" : {"type":{"jobs":{"suspend":true,"resume":false}}},"markers":[1]},
- {"op3" : {"type":{"Good Format":{}}},"markers":[123]}
- ]})";
-
-
-#ifdef __cplusplus
- NSNumber *trueNumber = @true; // equivalent to [NSNumber numberWithBool:(BOOL)true]
- NSNumber *falseNumber = @false; // equivalent to [NSNumber numberWithBool:(BOOL)false]
-#endif
-}