2015-05-13 16:01:31 -04:00
|
|
|
import {ddescribe, describe, it, iit, xit, expect, beforeEach, afterEach} from 'angular2/test_lib';
|
2015-01-21 15:05:52 -05:00
|
|
|
|
2015-05-13 16:01:31 -04:00
|
|
|
import {PreGeneratedChangeDetection} from 'angular2/change_detection';
|
2015-01-21 15:05:52 -05:00
|
|
|
|
2015-01-14 16:51:16 -05:00
|
|
|
export function main() {
|
2015-05-13 16:01:31 -04:00
|
|
|
describe("PreGeneratedChangeDetection", () => {
|
|
|
|
it("sfs", () => {
|
|
|
|
|
|
|
|
var rs = coalesce([
|
|
|
|
r("user", [], 0, 1, true),
|
|
|
|
r("user", [], 0, 2, true)
|
|
|
|
]);
|
|
|
|
|
|
|
|
expect(rs[1]).toEqual(new ProtoRecord(
|
|
|
|
RECORD_TYPE_SELF, "self", null,
|
|
|
|
[], null, 1, null, 2,
|
|
|
|
null, null,
|
|
|
|
true, false)
|
|
|
|
);
|
|
|
|
});
|
2015-01-14 16:51:16 -05:00
|
|
|
});
|
|
|
|
}
|