Browse Source

Move test pages to `/test/manual/`

Alex Dima 3 years ago
parent
commit
430d8e6e17
100 changed files with 8 additions and 8 deletions
  1. 2 2
      .prettierignore
  2. 5 5
      build/simpleserver.js
  3. 0 0
      test/manual/2040/iframe.html
  4. 0 0
      test/manual/2040/iframe.js
  5. 0 0
      test/manual/2040/index.html
  6. 0 0
      test/manual/2096/index.html
  7. 0 0
      test/manual/2264/iframe.html
  8. 0 0
      test/manual/2264/iframe.js
  9. 1 1
      test/manual/2264/index.html
  10. 0 0
      test/manual/colorize.html
  11. 0 0
      test/manual/cross-origin-broken.html
  12. 0 0
      test/manual/cross-origin-good.html
  13. 0 0
      test/manual/cross-origin-worker-proxy.js
  14. 0 0
      test/manual/dev-setup.js
  15. 0 0
      test/manual/diff.html
  16. 0 0
      test/manual/diff.js
  17. 0 0
      test/manual/index.css
  18. 0 0
      test/manual/index.html
  19. 0 0
      test/manual/index.js
  20. 0 0
      test/manual/mouse-fixed.html
  21. 0 0
      test/manual/mouse-scrollable-body.html
  22. 0 0
      test/manual/mouse-scrollable-element.html
  23. 0 0
      test/manual/out-editor-esm-bundle.html
  24. 0 0
      test/manual/playground.generated/creating-the-diffeditor-hello-diff-world.html
  25. 0 0
      test/manual/playground.generated/creating-the-diffeditor-inline-diff-example.html
  26. 0 0
      test/manual/playground.generated/creating-the-diffeditor-multi-line-example.html
  27. 0 0
      test/manual/playground.generated/creating-the-diffeditor-navigating-a-diff.html
  28. 0 0
      test/manual/playground.generated/creating-the-editor-editor-basic-options.html
  29. 0 0
      test/manual/playground.generated/creating-the-editor-hard-wrapping.html
  30. 0 0
      test/manual/playground.generated/creating-the-editor-hello-world.html
  31. 0 0
      test/manual/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html
  32. 0 0
      test/manual/playground.generated/customizing-the-appearence-exposed-colors.html
  33. 0 0
      test/manual/playground.generated/customizing-the-appearence-scrollbars.html
  34. 0 0
      test/manual/playground.generated/customizing-the-appearence-tokens-and-colors.html
  35. 0 0
      test/manual/playground.generated/extending-language-services-codelens-provider-example.html
  36. 0 0
      test/manual/playground.generated/extending-language-services-color-provider-example.html
  37. 0 0
      test/manual/playground.generated/extending-language-services-completion-provider-example.html
  38. 0 0
      test/manual/playground.generated/extending-language-services-configure-javascript-defaults.html
  39. 0 0
      test/manual/playground.generated/extending-language-services-configure-json-defaults.html
  40. 0 0
      test/manual/playground.generated/extending-language-services-custom-languages.html
  41. 0 0
      test/manual/playground.generated/extending-language-services-folding-provider-example.html
  42. 0 0
      test/manual/playground.generated/extending-language-services-hover-provider-example.html
  43. 0 0
      test/manual/playground.generated/extending-language-services-semantic-tokens-provider-example.html
  44. 0 0
      test/manual/playground.generated/extending-language-services-symbols-provider-example.html
  45. 0 0
      test/manual/playground.generated/index.html
  46. 0 0
      test/manual/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html
  47. 0 0
      test/manual/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html
  48. 0 0
      test/manual/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html
  49. 0 0
      test/manual/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html
  50. 0 0
      test/manual/playground.generated/interacting-with-the-editor-listening-to-key-events.html
  51. 0 0
      test/manual/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html
  52. 0 0
      test/manual/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html
  53. 0 0
      test/manual/playground.generated/interacting-with-the-editor-revealing-a-position.html
  54. 0 0
      test/manual/samples-all.generated.js
  55. 0 0
      test/manual/samples.js
  56. 0 0
      test/manual/samples/run-editor-failing-js.txt
  57. 0 0
      test/manual/samples/run-editor-intellisense-js.txt
  58. 0 0
      test/manual/samples/run-editor-jquery-min-js.txt
  59. 0 0
      test/manual/samples/run-editor-js-validationParticipant.js
  60. 0 0
      test/manual/samples/run-editor-korean.txt
  61. 0 0
      test/manual/samples/run-editor-sample-big-css.txt
  62. 0 0
      test/manual/samples/run-editor-sample-bom-cs.txt
  63. 0 0
      test/manual/samples/run-editor-sample-cr-ps1.txt
  64. 0 0
      test/manual/samples/run-editor-sample-dynamic.txt
  65. 0 0
      test/manual/samples/run-editor-sample-f12-css.txt
  66. 0 0
      test/manual/samples/run-editor-sample-html.txt
  67. 0 0
      test/manual/samples/run-editor-sample-js.txt
  68. 0 0
      test/manual/samples/run-editor-sample-msn-js.txt
  69. 0 0
      test/manual/samples/sample.abap.txt
  70. 0 0
      test/manual/samples/sample.aes.txt
  71. 0 0
      test/manual/samples/sample.apex.txt
  72. 0 0
      test/manual/samples/sample.azcli.txt
  73. 0 0
      test/manual/samples/sample.bat.txt
  74. 0 0
      test/manual/samples/sample.bicep.txt
  75. 0 0
      test/manual/samples/sample.c.txt
  76. 0 0
      test/manual/samples/sample.cameligo.txt
  77. 0 0
      test/manual/samples/sample.clojure.txt
  78. 0 0
      test/manual/samples/sample.coffeescript.txt
  79. 0 0
      test/manual/samples/sample.cpp.txt
  80. 0 0
      test/manual/samples/sample.csharp.txt
  81. 0 0
      test/manual/samples/sample.csp.txt
  82. 0 0
      test/manual/samples/sample.css.txt
  83. 0 0
      test/manual/samples/sample.dart.txt
  84. 0 0
      test/manual/samples/sample.dockerfile.txt
  85. 0 0
      test/manual/samples/sample.elixir.txt
  86. 0 0
      test/manual/samples/sample.fsharp.txt
  87. 0 0
      test/manual/samples/sample.go.txt
  88. 0 0
      test/manual/samples/sample.graphql.txt
  89. 0 0
      test/manual/samples/sample.handlebars.txt
  90. 0 0
      test/manual/samples/sample.hcl.txt
  91. 0 0
      test/manual/samples/sample.html.txt
  92. 0 0
      test/manual/samples/sample.ini.txt
  93. 0 0
      test/manual/samples/sample.java.txt
  94. 0 0
      test/manual/samples/sample.javascript.txt
  95. 0 0
      test/manual/samples/sample.json.txt
  96. 0 0
      test/manual/samples/sample.julia.txt
  97. 0 0
      test/manual/samples/sample.kotlin.txt
  98. 0 0
      test/manual/samples/sample.less.txt
  99. 0 0
      test/manual/samples/sample.lex.txt
  100. 0 0
      test/manual/samples/sample.lua.txt

+ 2 - 2
.prettierignore

@@ -1,8 +1,6 @@
 **/node_modules/
 **/out/
 **/release/
-/monaco-editor/test/samples-all.generated.js
-/monaco-editor/test/playground.generated/
 /monaco-editor/typedoc/theme/
 /monaco-editor/typedoc/monaco.d.ts
 /monaco-editor/website/lib/
@@ -15,3 +13,5 @@
 /samples/browser-esm-webpack-typescript/dist/*.js
 /samples/browser-esm-webpack-typescript-react/dist/*.js
 /src/typescript/lib/
+/test/manual/samples-all.generated.js
+/test/manual/playground.generated/

+ 5 - 5
build/simpleserver.js

@@ -20,9 +20,9 @@ createSimpleServer(SERVER_ROOT, 8080);
 createSimpleServer(SERVER_ROOT, 8088);
 
 function generateTestSamplesTask() {
-	const sampleNames = fs.readdirSync(path.join(REPO_ROOT, 'monaco-editor/test/samples'));
+	const sampleNames = fs.readdirSync(path.join(REPO_ROOT, 'test/manual/samples'));
 	const samples = sampleNames.map((sampleName) => {
-		const samplePath = path.join(REPO_ROOT, 'monaco-editor/test/samples', sampleName);
+		const samplePath = path.join(REPO_ROOT, 'test/manual/samples', sampleName);
 		const sampleContent = fs.readFileSync(samplePath).toString();
 		return {
 			name: sampleName,
@@ -33,7 +33,7 @@ function generateTestSamplesTask() {
 		'//This is a generated file via `npm run simpleserver`\ndefine([], function() { return';
 	const suffix = '; });';
 	fs.writeFileSync(
-		path.join(REPO_ROOT, 'monaco-editor/test/samples-all.generated.js'),
+		path.join(REPO_ROOT, 'test/manual/samples-all.generated.js'),
 		prefix + JSON.stringify(samples, null, '\t') + suffix
 	);
 
@@ -96,7 +96,7 @@ function generateTestSamplesTask() {
 			'</html>'
 		];
 		fs.writeFileSync(
-			path.join(REPO_ROOT, 'monaco-editor/test/playground.generated/' + sampleId + '.html'),
+			path.join(REPO_ROOT, 'test/manual/playground.generated/' + sampleId + '.html'),
 			result.join('\n')
 		);
 		locations.push({
@@ -132,7 +132,7 @@ function generateTestSamplesTask() {
 		'</html>'
 	];
 	fs.writeFileSync(
-		path.join(REPO_ROOT, 'monaco-editor/test/playground.generated/index.html'),
+		path.join(REPO_ROOT, 'test/manual/playground.generated/index.html'),
 		index.join('\n')
 	);
 }

+ 0 - 0
monaco-editor/test/2040/iframe.html → test/manual/2040/iframe.html


+ 0 - 0
monaco-editor/test/2040/iframe.js → test/manual/2040/iframe.js


+ 0 - 0
monaco-editor/test/2040/index.html → test/manual/2040/index.html


+ 0 - 0
monaco-editor/test/2096/index.html → test/manual/2096/index.html


+ 0 - 0
monaco-editor/test/2264/iframe.html → test/manual/2264/iframe.html


+ 0 - 0
monaco-editor/test/2264/iframe.js → test/manual/2264/iframe.js


+ 1 - 1
monaco-editor/test/2264/index.html → test/manual/2264/index.html

@@ -3,7 +3,7 @@
 	<head> </head>
 	<body>
 		<iframe
-			src="http://localhost:8088/monaco-editor/test/2264/iframe.html?editor=src"
+			src="http://localhost:8088/monaco-editor/test/manual/2264/iframe.html?editor=src"
 			style="width: 800px; height: 600px"
 			sandbox="allow-same-origin allow-scripts allow-popups allow-modals allow-forms allow-downloads"
 		></iframe>

+ 0 - 0
monaco-editor/test/colorize.html → test/manual/colorize.html


+ 0 - 0
monaco-editor/test/cross-origin-broken.html → test/manual/cross-origin-broken.html


+ 0 - 0
monaco-editor/test/cross-origin-good.html → test/manual/cross-origin-good.html


+ 0 - 0
monaco-editor/test/cross-origin-worker-proxy.js → test/manual/cross-origin-worker-proxy.js


+ 0 - 0
monaco-editor/test/dev-setup.js → test/manual/dev-setup.js


+ 0 - 0
monaco-editor/test/diff.html → test/manual/diff.html


+ 0 - 0
monaco-editor/test/diff.js → test/manual/diff.js


+ 0 - 0
monaco-editor/test/index.css → test/manual/index.css


+ 0 - 0
monaco-editor/test/index.html → test/manual/index.html


+ 0 - 0
monaco-editor/test/index.js → test/manual/index.js


+ 0 - 0
monaco-editor/test/mouse-fixed.html → test/manual/mouse-fixed.html


+ 0 - 0
monaco-editor/test/mouse-scrollable-body.html → test/manual/mouse-scrollable-body.html


+ 0 - 0
monaco-editor/test/mouse-scrollable-element.html → test/manual/mouse-scrollable-element.html


+ 0 - 0
monaco-editor/test/out-editor-esm-bundle.html → test/manual/out-editor-esm-bundle.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-diffeditor-hello-diff-world.html → test/manual/playground.generated/creating-the-diffeditor-hello-diff-world.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-diffeditor-inline-diff-example.html → test/manual/playground.generated/creating-the-diffeditor-inline-diff-example.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-diffeditor-multi-line-example.html → test/manual/playground.generated/creating-the-diffeditor-multi-line-example.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-diffeditor-navigating-a-diff.html → test/manual/playground.generated/creating-the-diffeditor-navigating-a-diff.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-editor-editor-basic-options.html → test/manual/playground.generated/creating-the-editor-editor-basic-options.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-editor-hard-wrapping.html → test/manual/playground.generated/creating-the-editor-hard-wrapping.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-editor-hello-world.html → test/manual/playground.generated/creating-the-editor-hello-world.html


+ 0 - 0
monaco-editor/test/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html → test/manual/playground.generated/creating-the-editor-syntax-highlighting-for-html-elements.html


+ 0 - 0
monaco-editor/test/playground.generated/customizing-the-appearence-exposed-colors.html → test/manual/playground.generated/customizing-the-appearence-exposed-colors.html


+ 0 - 0
monaco-editor/test/playground.generated/customizing-the-appearence-scrollbars.html → test/manual/playground.generated/customizing-the-appearence-scrollbars.html


+ 0 - 0
monaco-editor/test/playground.generated/customizing-the-appearence-tokens-and-colors.html → test/manual/playground.generated/customizing-the-appearence-tokens-and-colors.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-codelens-provider-example.html → test/manual/playground.generated/extending-language-services-codelens-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-color-provider-example.html → test/manual/playground.generated/extending-language-services-color-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-completion-provider-example.html → test/manual/playground.generated/extending-language-services-completion-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-configure-javascript-defaults.html → test/manual/playground.generated/extending-language-services-configure-javascript-defaults.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-configure-json-defaults.html → test/manual/playground.generated/extending-language-services-configure-json-defaults.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-custom-languages.html → test/manual/playground.generated/extending-language-services-custom-languages.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-folding-provider-example.html → test/manual/playground.generated/extending-language-services-folding-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-hover-provider-example.html → test/manual/playground.generated/extending-language-services-hover-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-semantic-tokens-provider-example.html → test/manual/playground.generated/extending-language-services-semantic-tokens-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/extending-language-services-symbols-provider-example.html → test/manual/playground.generated/extending-language-services-symbols-provider-example.html


+ 0 - 0
monaco-editor/test/playground.generated/index.html → test/manual/playground.generated/index.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html → test/manual/playground.generated/interacting-with-the-editor-adding-a-command-to-an-editor-instance.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html → test/manual/playground.generated/interacting-with-the-editor-adding-an-action-to-an-editor-instance.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html → test/manual/playground.generated/interacting-with-the-editor-customizing-the-line-numbers.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html → test/manual/playground.generated/interacting-with-the-editor-line-and-inline-decorations.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-listening-to-key-events.html → test/manual/playground.generated/interacting-with-the-editor-listening-to-key-events.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html → test/manual/playground.generated/interacting-with-the-editor-listening-to-mouse-events.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html → test/manual/playground.generated/interacting-with-the-editor-rendering-glyphs-in-the-margin.html


+ 0 - 0
monaco-editor/test/playground.generated/interacting-with-the-editor-revealing-a-position.html → test/manual/playground.generated/interacting-with-the-editor-revealing-a-position.html


+ 0 - 0
monaco-editor/test/samples-all.generated.js → test/manual/samples-all.generated.js


+ 0 - 0
monaco-editor/test/samples.js → test/manual/samples.js


+ 0 - 0
monaco-editor/test/samples/run-editor-failing-js.txt → test/manual/samples/run-editor-failing-js.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-intellisense-js.txt → test/manual/samples/run-editor-intellisense-js.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-jquery-min-js.txt → test/manual/samples/run-editor-jquery-min-js.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-js-validationParticipant.js → test/manual/samples/run-editor-js-validationParticipant.js


+ 0 - 0
monaco-editor/test/samples/run-editor-korean.txt → test/manual/samples/run-editor-korean.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-big-css.txt → test/manual/samples/run-editor-sample-big-css.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-bom-cs.txt → test/manual/samples/run-editor-sample-bom-cs.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-cr-ps1.txt → test/manual/samples/run-editor-sample-cr-ps1.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-dynamic.txt → test/manual/samples/run-editor-sample-dynamic.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-f12-css.txt → test/manual/samples/run-editor-sample-f12-css.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-html.txt → test/manual/samples/run-editor-sample-html.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-js.txt → test/manual/samples/run-editor-sample-js.txt


+ 0 - 0
monaco-editor/test/samples/run-editor-sample-msn-js.txt → test/manual/samples/run-editor-sample-msn-js.txt


+ 0 - 0
monaco-editor/test/samples/sample.abap.txt → test/manual/samples/sample.abap.txt


+ 0 - 0
monaco-editor/test/samples/sample.aes.txt → test/manual/samples/sample.aes.txt


+ 0 - 0
monaco-editor/test/samples/sample.apex.txt → test/manual/samples/sample.apex.txt


+ 0 - 0
monaco-editor/test/samples/sample.azcli.txt → test/manual/samples/sample.azcli.txt


+ 0 - 0
monaco-editor/test/samples/sample.bat.txt → test/manual/samples/sample.bat.txt


+ 0 - 0
monaco-editor/test/samples/sample.bicep.txt → test/manual/samples/sample.bicep.txt


+ 0 - 0
monaco-editor/test/samples/sample.c.txt → test/manual/samples/sample.c.txt


+ 0 - 0
monaco-editor/test/samples/sample.cameligo.txt → test/manual/samples/sample.cameligo.txt


+ 0 - 0
monaco-editor/test/samples/sample.clojure.txt → test/manual/samples/sample.clojure.txt


+ 0 - 0
monaco-editor/test/samples/sample.coffeescript.txt → test/manual/samples/sample.coffeescript.txt


+ 0 - 0
monaco-editor/test/samples/sample.cpp.txt → test/manual/samples/sample.cpp.txt


+ 0 - 0
monaco-editor/test/samples/sample.csharp.txt → test/manual/samples/sample.csharp.txt


+ 0 - 0
monaco-editor/test/samples/sample.csp.txt → test/manual/samples/sample.csp.txt


+ 0 - 0
monaco-editor/test/samples/sample.css.txt → test/manual/samples/sample.css.txt


+ 0 - 0
monaco-editor/test/samples/sample.dart.txt → test/manual/samples/sample.dart.txt


+ 0 - 0
monaco-editor/test/samples/sample.dockerfile.txt → test/manual/samples/sample.dockerfile.txt


+ 0 - 0
monaco-editor/test/samples/sample.elixir.txt → test/manual/samples/sample.elixir.txt


+ 0 - 0
monaco-editor/test/samples/sample.fsharp.txt → test/manual/samples/sample.fsharp.txt


+ 0 - 0
monaco-editor/test/samples/sample.go.txt → test/manual/samples/sample.go.txt


+ 0 - 0
monaco-editor/test/samples/sample.graphql.txt → test/manual/samples/sample.graphql.txt


+ 0 - 0
monaco-editor/test/samples/sample.handlebars.txt → test/manual/samples/sample.handlebars.txt


+ 0 - 0
monaco-editor/test/samples/sample.hcl.txt → test/manual/samples/sample.hcl.txt


+ 0 - 0
monaco-editor/test/samples/sample.html.txt → test/manual/samples/sample.html.txt


+ 0 - 0
monaco-editor/test/samples/sample.ini.txt → test/manual/samples/sample.ini.txt


+ 0 - 0
monaco-editor/test/samples/sample.java.txt → test/manual/samples/sample.java.txt


+ 0 - 0
monaco-editor/test/samples/sample.javascript.txt → test/manual/samples/sample.javascript.txt


+ 0 - 0
monaco-editor/test/samples/sample.json.txt → test/manual/samples/sample.json.txt


+ 0 - 0
monaco-editor/test/samples/sample.julia.txt → test/manual/samples/sample.julia.txt


+ 0 - 0
monaco-editor/test/samples/sample.kotlin.txt → test/manual/samples/sample.kotlin.txt


+ 0 - 0
monaco-editor/test/samples/sample.less.txt → test/manual/samples/sample.less.txt


+ 0 - 0
monaco-editor/test/samples/sample.lex.txt → test/manual/samples/sample.lex.txt


+ 0 - 0
monaco-editor/test/samples/sample.lua.txt → test/manual/samples/sample.lua.txt


Some files were not shown because too many files changed in this diff