Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
458b8a02
Commit
458b8a02
authored
12 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
Initialize variable to nil in the entity test
SVN: 27081
parent
3ae1fb7b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis-ipad/BisKit/Tests/CISDOBIpadEntityTest.m
+1
-1
1 addition, 1 deletion
openbis-ipad/BisKit/Tests/CISDOBIpadEntityTest.m
with
1 addition
and
1 deletion
openbis-ipad/BisKit/Tests/CISDOBIpadEntityTest.m
+
1
−
1
View file @
458b8a02
...
@@ -59,7 +59,7 @@ NSManagedObjectContext* GetDatabaseManagedObjectContext(NSURL* storeURL, NSError
...
@@ -59,7 +59,7 @@ NSManagedObjectContext* GetDatabaseManagedObjectContext(NSURL* storeURL, NSError
[
connection
release
];
[
connection
release
];
NSURL
*
tempDir
=
[
NSURL
fileURLWithPath
:
NSTemporaryDirectory
()];
NSURL
*
tempDir
=
[
NSURL
fileURLWithPath
:
NSTemporaryDirectory
()];
self
.
databaseUrl
=
[
tempDir
URLByAppendingPathComponent
:
@
"ipad-test.db"
];
self
.
databaseUrl
=
[
tempDir
URLByAppendingPathComponent
:
@
"ipad-test.db"
];
NSError
*
error
;
NSError
*
error
=
nil
;
self
.
moc
=
GetDatabaseManagedObjectContext
(
self
.
databaseUrl
,
&
error
);
self
.
moc
=
GetDatabaseManagedObjectContext
(
self
.
databaseUrl
,
&
error
);
STAssertNil
(
error
,
@
"DB file could not be created:\n%@"
,
error
);
STAssertNil
(
error
,
@
"DB file could not be created:\n%@"
,
error
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment