Changeset 9629 for code/branches/core6/test/core/object
- Timestamp:
- Aug 9, 2013, 9:26:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/test/core/object/ContextTest.cc
- Property svn:eol-style set to native
r9610 r9629 11 11 { 12 12 public: 13 SubclassContext() { RegisterRootObject(SubclassContext); }13 SubclassContext() : Context(NULL) { RegisterRootObject(SubclassContext); } 14 14 }; 15 15 } … … 17 17 TEST(ContextTest, CanCreateContext) 18 18 { 19 Context context ;19 Context context(NULL); 20 20 } 21 21 … … 27 27 TEST(ContextTest, ContextIsItsOwnContext) 28 28 { 29 Context context ;29 Context context(NULL); 30 30 EXPECT_EQ(&context, context.getContext()); 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.