Skip to content

Commit

Permalink
chore(tools): remove rtts from the repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkirov committed Sep 10, 2015
1 parent 6a4a8a6 commit 63141ab
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 848 deletions.
1 change: 0 additions & 1 deletion karma-js.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ module.exports = function(config) {

exclude: [
'dist/js/dev/es5/**/e2e_test/**',
'dist/js/dev/es5/rtts_assert/**',
'dist/angular1_router.js'
],

Expand Down
1 change: 0 additions & 1 deletion modules/angular2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"dependencies": {
"traceur": "<%= packageJson.dependencies.traceur %>",
"reflect-metadata": "<%= packageJson.dependencies['reflect-metadata'] %>",
"rtts_assert": "<%= packageJson.version %>",
"rx": "<%= packageJson.dependencies['rx'] %>",
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
},
Expand Down
4 changes: 1 addition & 3 deletions modules/angular2/src/test_lib/test_lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,12 @@ export class SpyObject {
return object;
}

rttsAssert(value) { return true; }

_createGuinnessCompatibleSpy(name): GuinessCompatibleSpy {
var newSpy: GuinessCompatibleSpy = <any>jasmine.createSpy(name);
newSpy.andCallFake = <any>newSpy.and.callFake;
newSpy.andReturn = <any>newSpy.and.returnValue;
newSpy.reset = <any>newSpy.calls.reset;
// return null by default to satisfy our rtts asserts
// revisit return null here (previously needed for rtts_assert).
newSpy.and.returnValue(null);
return newSpy;
}
Expand Down
3 changes: 1 addition & 2 deletions modules/angular2/test/test_lib/test_lib_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ export function main() {
() => { expect(() => spyObj.someFunc()).not.toThrow(); });

it('should create a default spy that does not fail for numbers', () => {
// Need to return null instead of undefined so that rtts assert does
// not fail...
// Previously needed for rtts_assert. Revisit this behavior.
expect(spyObj.someFunc()).toBe(null);
});
});
Expand Down
1 change: 0 additions & 1 deletion modules/angular2_material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"dependencies": {
"angular2": "<%= packageJson.version %>",
"traceur": "<%= packageJson.dependencies.traceur %>",
"rtts_assert": "<%= packageJson.version %>",
"rx": "<%= packageJson.dependencies['rx'] %>",
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class SeleniumWebDriverAdapter extends WebDriverAdapter {
thenable.then(
// selenium-webdriver uses an own Node.js context,
// so we need to convert data into objects of this context.
// (e.g. otherwise instanceof checks of rtts_assert would fail)
// Previously needed for rtts_asserts.
(data) => completer.resolve(convertToLocalProcess(data)), completer.reject);
return completer.promise;
}
Expand Down
60 changes: 0 additions & 60 deletions modules/rtts_assert/README.js.md

This file was deleted.

18 changes: 0 additions & 18 deletions modules/rtts_assert/package.json

This file was deleted.

1 change: 0 additions & 1 deletion modules/rtts_assert/rtts_assert.ts

This file was deleted.

Loading

0 comments on commit 63141ab

Please sign in to comment.