Skip to content

Commit 9b1673f

Browse files
authored
Yosifov/add test (#2710)
* Setup Project Changes Service test suite * Add tests for GetPrepareInfo from ProjectChangesService * Add test to verify changes on a sync file has been applied. * Make ios/android lower case folder names, as it seems like in Linux the case-sensitivity plays a role * Fix platform names casing * Clone the test for Android for file changes * fix lint errors * Add tests for issue #2697 * Adding Tests to verify that the App_Resources have been reloaded * Adding tests for new/deleted platform/common files * Refactor the changes tests and add some more tests * Improve assertions to include message what was wrong with the directory structure * Minor messages improvement * remove delete file tests - seems we do not support this currently. * Adding tests to verify new files in App_Resources are detected and copied to destination. * Remove .only() which was used only for debugging purposes on the Travis CI
1 parent a2d926d commit 9b1673f

File tree

3 files changed

+558
-21
lines changed

3 files changed

+558
-21
lines changed

test/base-service-test.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import * as yok from "../lib/common/yok";
2+
3+
export abstract class BaseServiceTest {
4+
protected injector: IInjector;
5+
constructor() {
6+
this.injector = new yok.Yok();
7+
8+
this.initInjector();
9+
}
10+
11+
abstract initInjector(): void;
12+
13+
resolve(name: string, ctorArguments?: IDictionary<any>): any {
14+
return this.injector.resolve(name);
15+
}
16+
}

0 commit comments

Comments
 (0)