diff --git a/developer/src/test/auto/keyboard-info/test-invalid-language-code.keyboard_info b/developer/src/test/auto/keyboard-info/test-invalid-language-code.keyboard_info index 79de65e990..97459477c8 100644 --- a/developer/src/test/auto/keyboard-info/test-invalid-language-code.keyboard_info +++ b/developer/src/test/auto/keyboard-info/test-invalid-language-code.keyboard_info @@ -1,6 +1,17 @@ { + "id": "test", + "name": "test", "license": "mit", "languages": [ "foooooooo=amh" - ] + ], + "platformSupport": { + "windows": "full", + "macos": "full", + "desktopWeb": "full", + "mobileWeb": "full", + "ios": "full", + "android": "full" + }, + "lastModifiedDate": "2017-09-06" } \ No newline at end of file diff --git a/developer/src/test/auto/keyboard-info/test-non-canonical-language-code.keyboard_info b/developer/src/test/auto/keyboard-info/test-non-canonical-language-code.keyboard_info index c245d3f524..eb08779d8f 100644 --- a/developer/src/test/auto/keyboard-info/test-non-canonical-language-code.keyboard_info +++ b/developer/src/test/auto/keyboard-info/test-non-canonical-language-code.keyboard_info @@ -1,6 +1,17 @@ { + "id": "test", + "name": "test", "license": "mit", "languages": [ "amh" - ] + ], + "platformSupport": { + "windows": "full", + "macos": "full", + "desktopWeb": "full", + "mobileWeb": "full", + "ios": "full", + "android": "full" + }, + "lastModifiedDate": "2017-09-06" } \ No newline at end of file diff --git a/developer/src/test/auto/keyboard-info/test.bat b/developer/src/test/auto/keyboard-info/test.bat index d7d896d38b..a08fd723c5 100644 --- a/developer/src/test/auto/keyboard-info/test.bat +++ b/developer/src/test/auto/keyboard-info/test.bat @@ -3,6 +3,9 @@ rem We use test.bat so we can test errorlevels setlocal set ESC= +rem This is temporary until source keyboard_info files go away +copy "%KEYMAN_ROOT%\common\schemas\keyboard_info\keyboard_info.schema.json" "%KEYMAN_ROOT%\common\schemas\keyboard_info\keyboard_info.source.json" + if "%1"=="-h" goto usage if "%1"=="--help" goto usage if "%1"=="-?" goto usage @@ -34,7 +37,7 @@ goto :eof :should-pass echo %BLUE%TEST: %1 %WHITE% -"%compiler%" -s -vs -schema-path "%KEYMAN_ROOT%\common\schemas\keyboard_info" "%2" +"%compiler%" -vs -schema-path "%KEYMAN_ROOT%\common\schemas\keyboard_info" "%2" if %ERRORLEVEL% EQU 0 ( echo %GREEN%TEST PASSED%WHITE% exit /b 0