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

Side by Side Diff: test/regression/0100/0198.stmt

Issue 1255643002: New, simpler and faster line splitter. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Optimize nesting. Reformat. Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « test/regression/0100/0108.unit ('k') | test/regression/0200/0224.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> (indent 2) 1 >>> (indent 2)
2 testThat('backward navigation is disabled when at end of stream', 2 testThat('backward navigation is disabled when at end of stream',
3 when: (TaskList taskList, TaskService taskService) { 3 when: (TaskList taskList, TaskService taskService) {
4 var cursorPageNo = 0; 4 var cursorPageNo = 0;
5 final streamCtrl = initCustomTaskServiceMock(taskService, 5 final streamCtrl = initCustomTaskServiceMock(taskService,
6 canMoveTo: (pageNo) => pageNo < 0 ? false : true, 6 canMoveTo: (pageNo) => pageNo < 0 ? false : true,
7 getCurrentPageNumber: () => cursorPageNo); 7 getCurrentPageNumber: () => cursorPageNo);
8 8
9 first('attach tasklist', () { 9 first('attach tasklist', () {
10 taskList.attach(); 10 taskList.attach();
(...skipping 28 matching lines...) Expand all
39 'pager at page 1', 39 'pager at page 1',
40 () => { 40 () => {
41 taskList.currentPageNo: 1, 41 taskList.currentPageNo: 1,
42 taskList.backwardPaginationDisabled: isFalse 42 taskList.backwardPaginationDisabled: isFalse
43 }) 43 })
44 .then('go to page 2', () { 44 .then('go to page 2', () {
45 taskList.nextPage(); 45 taskList.nextPage();
46 addTasks(streamCtrl, count: 1); 46 addTasks(streamCtrl, count: 1);
47 cursorPageNo = 1; 47 cursorPageNo = 1;
48 }).thenExpect( 48 }).thenExpect(
49 'pager unchanged', 49 'pager unchanged',
50 () => { 50 () => {
51 taskList.currentPageNo: 2, 51 taskList.currentPageNo: 2,
52 taskList.backwardPaginationDisabled: isTrue 52 taskList.backwardPaginationDisabled: isTrue
53 }); 53 });
54 }); 54 });
OLDNEW
« no previous file with comments | « test/regression/0100/0108.unit ('k') | test/regression/0200/0224.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698