Преглед на файлове

Tests: Stabilized ToolbarView tests after refactoring.

Aleksander Nowodzinski преди 6 години
родител
ревизия
b91efcd58e
променени са 2 файла, в които са добавени 389 реда и са изтрити 453 реда
  1. 5 5
      packages/ckeditor5-ui/src/toolbar/toolbarview.js
  2. 384 448
      packages/ckeditor5-ui/tests/toolbar/toolbarview.js

+ 5 - 5
packages/ckeditor5-ui/src/toolbar/toolbarview.js

@@ -187,7 +187,7 @@ export default class ToolbarView extends View {
 		 *
 		 * See {@link module:ui/toolbar/toolbarview~ToolbarFeature} to learn more.
 		 *
-		 * @private
+		 * @protected
 		 * @readonly
 		 * @member {module:ui/toolbar/toolbarview~ToolbarFeature}
 		 */
@@ -399,7 +399,7 @@ class DynamicGrouping {
 		 * When none of the {@link module:ui/toolbar/toolbarview~ToolbarView#items} were grouped, it
 		 * matches the {@link module:ui/toolbar/toolbarview~ToolbarView#items} collection in size and order.
 		 *
-		 * @private
+		 * @protected
 		 * @readonly
 		 * @member {module:ui/viewcollection~ViewCollection}
 		 */
@@ -413,7 +413,7 @@ class DynamicGrouping {
 		 * When none of the {@link module:ui/toolbar/toolbarview~ToolbarView#items} were grouped,
 		 * this collection is empty.
 		 *
-		 * @private
+		 * @protected
 		 * @readonly
 		 * @member {module:ui/viewcollection~ViewCollection}
 		 */
@@ -425,7 +425,7 @@ class DynamicGrouping {
 		 * {@link module:ui/toolbar/toolbarview~ToolbarView#children toolbar children} and offers another
 		 * (nested) toolbar which displays items that would normally overflow.
 		 *
-		 * @private
+		 * @protected
 		 * @readonly
 		 * @member {module:ui/dropdown/dropdownview~DropdownView}
 		 */
@@ -532,7 +532,7 @@ class DynamicGrouping {
 	 * {@link #_groupedItems} to be returned back to {@link #_ungroupedItems} and still fit into a single row
 	 * without the toolbar wrapping.
 	 *
-	 * @private
+	 * @protected
 	 */
 	_updateGrouping() {
 		const view = this.view;

Файловите разлики са ограничени, защото са твърде много
+ 384 - 448
packages/ckeditor5-ui/tests/toolbar/toolbarview.js