Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2894)

Unified Diff: dart/tests/try/poi/serialize_test.dart

Issue 391363002: Use kinds "class side" and "instance side". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r39137. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/site/try/poi/poi.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/poi/serialize_test.dart
diff --git a/dart/tests/try/poi/serialize_test.dart b/dart/tests/try/poi/serialize_test.dart
index 583b49ac74d7a714e732b0e7b2de6ad22c030244..731a4b14f3a2b04b21d7302816b201785fa96afb 100644
--- a/dart/tests/try/poi/serialize_test.dart
+++ b/dart/tests/try/poi/serialize_test.dart
@@ -74,12 +74,16 @@ final expectedInteresting = {
"type": "() -> dynamic",
"enclosing": {
"name": "Foo",
- "kind": "class",
+ "kind": "class side",
"members": [
+ {
+ "kind": "generative_constructor",
+ "type": "() -> Foo"
+ }
],
"enclosing": {
- "name": "this(Foo)",
- "kind": "class",
+ "name": "Foo",
+ "kind": "instance side",
"members": [
{
"name": "fisk",
@@ -91,10 +95,6 @@ final expectedInteresting = {
"kind": "function",
"type": "() -> dynamic"
},
- {
- "kind": "generative_constructor",
- "type": "() -> Foo"
- }
],
"enclosing": {
"name": "interesting",
@@ -126,7 +126,7 @@ final expectedSubclass = {
"type": "() -> dynamic",
"enclosing": {
"name": "C",
- "kind": "class",
+ "kind": "class side",
"members": [
{
"name": "staticMethod1",
@@ -137,11 +137,15 @@ final expectedSubclass = {
"name": "staticMethod2",
"kind": "function",
"type": "() -> dynamic"
+ },
+ {
+ "kind": "generative_constructor",
+ "type": "() -> C"
}
],
"enclosing": {
- "name": "this(C)",
- "kind": "class",
+ "name": "C",
+ "kind": "instance side",
"members": [
{
"name": "instanceMethod1",
@@ -152,10 +156,6 @@ final expectedSubclass = {
"name": "instanceMethod2",
"kind": "function",
"type": "() -> dynamic"
- },
- {
- "kind": "generative_constructor",
- "type": "() -> C"
}
],
"enclosing": {
@@ -194,8 +194,8 @@ final expectedSubclass = {
},
]..addAll(coreImports),
"enclosing": {
- "name": "this(S)",
- "kind": "class",
+ "name": "S",
+ "kind": "instance side",
"members": [
{
"name": "superMethod1",
@@ -207,14 +207,10 @@ final expectedSubclass = {
"kind": "function",
"type": "() -> dynamic"
},
- {
- "kind": "generative_constructor",
- "type": "() -> S"
- }
],
"enclosing": {
- "name": "this(P)",
- "kind": "class",
+ "name": "P",
+ "kind": "instance side",
"members": [
{
"name": "pMethod1",
@@ -236,10 +232,6 @@ final expectedSubclass = {
"kind": "function",
"type": "() -> dynamic"
},
- {
- "kind": "generative_constructor",
- "type": "() -> P"
- }
],
"enclosing": object,
}
@@ -500,14 +492,10 @@ final coreImports = [
];
final object = {
- "name": "this(Object)",
- "kind": "class",
+ "name": "Object",
+ "kind": "instance side",
"members": [
{
- "kind": "generative_constructor",
- "type": "() -> dynamic"
- },
- {
"name": "==",
"kind": "function",
"type": "(dynamic) -> bool"
« no previous file with comments | « dart/site/try/poi/poi.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698