OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'package:github_sample/src/github_mock.dart'; | 5 import 'package:github_sample/src/github_mock.dart'; |
6 import 'package:github_sample/src/github_mock_data.dart'; | 6 import 'package:github_sample/src/github_mock_data.dart'; |
7 | 7 |
8 main() { | 8 main() { |
9 var mock = new GithubMock('127.0.0.1', 8321); | 9 var mock = new GithubMock('127.0.0.1', 8321); |
10 mock.dataStorage = new ByteMapDataStorage(); | 10 mock.dataStorage = new ByteMapDataStorage(); |
11 mock.verbose = true; | 11 mock.verbose = true; |
12 mock.run(); | 12 mock.run(); |
13 } | 13 } |
OLD | NEW |