refactor(tests): move files from `angular2/e2e_test` to `angular2/src/test_lib`
The `e2e_test` folder in `angular2` never contained e2e tests but was used to store utilities for writing e2e/perf tests. A better place for them is `angular2/src/test_lib`. Closes #855
This commit is contained in:
parent
ba0a1ec459
commit
7ddfbf8bea
|
@ -1,4 +1,4 @@
|
|||
var testUtil = require('./test_util');
|
||||
var testUtil = require('./e2e_util');
|
||||
var benchpress = require('benchpress/benchpress');
|
||||
|
||||
module.exports = {
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 change detection benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 compiler benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 di benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 element injector benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 naive infinite scroll benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var testUtil = require('angular2/e2e_test/test_util');
|
||||
var testUtil = require('angular2/src/test_lib/e2e_util');
|
||||
|
||||
describe('ng2 naive infinite scroll benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 selector benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng2 tree benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng1.x compiler benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng1.x largetable benchmark', function () {
|
||||
var URL = 'benchmarks_external/src/largetable/largetable_benchmark.html';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng-dart1.x naive infinite scroll benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var perfUtil = require('angular2/e2e_test/perf_util');
|
||||
var perfUtil = require('angular2/src/test_lib/perf_util');
|
||||
|
||||
describe('ng1.x tree benchmark', function () {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var testUtil = require('angular2/e2e_test/test_util');
|
||||
var testUtil = require('angular2/src/test_lib/e2e_util');
|
||||
describe('hello world', function () {
|
||||
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
|
Loading…
Reference in New Issue