[zanata/zanata-platform] 740084: refactor(ZNTA-1905): move test files to component ...
GitHub
noreply at github.com
Wed May 3 06:07:53 UTC 2017
Branch: refs/heads/master
Home: https://github.com/zanata/zanata-platform
Commit: 74008473abb1d559741de5772b6cfb915b870b98
https://github.com/zanata/zanata-platform/commit/74008473abb1d559741de5772b6cfb915b870b98
Author: David Mason <drdmason at gmail.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
R server/zanata-frontend/src/frontend/__tests__/components/ButtonTest.js
R server/zanata-frontend/src/frontend/__tests__/components/DashboardLinkTest.js
R server/zanata-frontend/src/frontend/__tests__/components/DocsDropdownTest.js
R server/zanata-frontend/src/frontend/__tests__/components/DropdownTest.js
R server/zanata-frontend/src/frontend/__tests__/components/IconButtonTest.js
R server/zanata-frontend/src/frontend/__tests__/components/IconButtonToggleTest.js
R server/zanata-frontend/src/frontend/__tests__/components/LanguageDropdownTest.js
R server/zanata-frontend/src/frontend/__tests__/components/NoSuggestionPanelTest.js
R server/zanata-frontend/src/frontend/__tests__/components/PagerTest.js
R server/zanata-frontend/src/frontend/__tests__/components/ProgressBarTest.js
R server/zanata-frontend/src/frontend/__tests__/components/ProjectVersionLinkTest.js
R server/zanata-frontend/src/frontend/__tests__/components/SuggestionContentsTest.js
R server/zanata-frontend/src/frontend/__tests__/components/SuggestionMatchPercentTest.js
R server/zanata-frontend/src/frontend/__tests__/components/SuggestionSourceDetailsTest.js
R server/zanata-frontend/src/frontend/__tests__/components/SuggestionSourcesTest.js
R server/zanata-frontend/src/frontend/__tests__/components/TextDiffTest.js
R server/zanata-frontend/src/frontend/__tests__/components/ToggleSwitchTest.js
R server/zanata-frontend/src/frontend/__tests__/components/TransUnitFilterTest.js
R server/zanata-frontend/src/frontend/__tests__/components/TranslatingIndicatorTest.js
R server/zanata-frontend/src/frontend/__tests__/components/UiLanguageDropdownTest.js
R server/zanata-frontend/src/frontend/__tests__/editor/components/EditorSearchInputTest.js
R server/zanata-frontend/src/frontend/__tests__/utils/GlossaryHelperTest.js
R server/zanata-frontend/src/frontend/__tests__/utils/StringUtilsTest.js
R server/zanata-frontend/src/frontend/__tests__/utils/UtilTest.js
R server/zanata-frontend/src/frontend/__tests__/utils/phraseTest.js
A server/zanata-frontend/src/frontend/app/editor/components/Button/Button.test.js
R server/zanata-frontend/src/frontend/app/editor/components/DashboardLink.js
A server/zanata-frontend/src/frontend/app/editor/components/DashboardLink/DashboardLink.test.js
A server/zanata-frontend/src/frontend/app/editor/components/DashboardLink/index.js
R server/zanata-frontend/src/frontend/app/editor/components/DocsDropdown.js
A server/zanata-frontend/src/frontend/app/editor/components/DocsDropdown/DocsDropdown.test.js
A server/zanata-frontend/src/frontend/app/editor/components/DocsDropdown/index.js
A server/zanata-frontend/src/frontend/app/editor/components/Dropdown/Dropdown.test.js
A server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.test.js
R server/zanata-frontend/src/frontend/app/editor/components/IconButton.js
A server/zanata-frontend/src/frontend/app/editor/components/IconButton/IconButton.test.js
A server/zanata-frontend/src/frontend/app/editor/components/IconButton/index.js
R server/zanata-frontend/src/frontend/app/editor/components/IconButtonToggle.js
A server/zanata-frontend/src/frontend/app/editor/components/IconButtonToggle/IconButtonToggle.test.js
A server/zanata-frontend/src/frontend/app/editor/components/IconButtonToggle/index.js
R server/zanata-frontend/src/frontend/app/editor/components/LanguagesDropdown.js
A server/zanata-frontend/src/frontend/app/editor/components/LanguagesDropdown/LanguageDropdown.test.js
A server/zanata-frontend/src/frontend/app/editor/components/LanguagesDropdown/index.js
R server/zanata-frontend/src/frontend/app/editor/components/NoSuggestionsPanel.js
A server/zanata-frontend/src/frontend/app/editor/components/NoSuggestionsPanel/NoSuggestionsPanel.test.js
A server/zanata-frontend/src/frontend/app/editor/components/NoSuggestionsPanel/index.js
R server/zanata-frontend/src/frontend/app/editor/components/Pager.js
A server/zanata-frontend/src/frontend/app/editor/components/Pager/Pager.test.js
A server/zanata-frontend/src/frontend/app/editor/components/Pager/index.js
A server/zanata-frontend/src/frontend/app/editor/components/ProgressBar/ProgressBar.test.js
R server/zanata-frontend/src/frontend/app/editor/components/ProjectVersionLink.js
A server/zanata-frontend/src/frontend/app/editor/components/ProjectVersionLink/ProjectVersionLink.test.js
A server/zanata-frontend/src/frontend/app/editor/components/ProjectVersionLink/index.js
R server/zanata-frontend/src/frontend/app/editor/components/SuggestionContents.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionContents/SuggestionContents.test.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionContents/index.js
R server/zanata-frontend/src/frontend/app/editor/components/SuggestionDetailsSummary.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionDetailsSummary/SuggestionDetailsSummary.test.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionDetailsSummary/index.js
R server/zanata-frontend/src/frontend/app/editor/components/SuggestionMatchPercent.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionMatchPercent/SuggestionMatchPercent.test.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionMatchPercent/index.js
R server/zanata-frontend/src/frontend/app/editor/components/SuggestionSources.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionSources/SuggestionSources.test.js
A server/zanata-frontend/src/frontend/app/editor/components/SuggestionSources/index.js
A server/zanata-frontend/src/frontend/app/editor/components/TextDiff/TextDiff.test.js
A server/zanata-frontend/src/frontend/app/editor/components/ToggleSwitch/ToggleSwitch.test.js
R server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter.js
A server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/TransUnitFilter.test.js
A server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/index.js
R server/zanata-frontend/src/frontend/app/editor/components/TranslatingIndicator.js
A server/zanata-frontend/src/frontend/app/editor/components/TranslatingIndicator/TranslatingIndicator.test.js
A server/zanata-frontend/src/frontend/app/editor/components/TranslatingIndicator/index.js
R server/zanata-frontend/src/frontend/app/editor/components/UiLanguageDropdown.js
A server/zanata-frontend/src/frontend/app/editor/components/UiLanguageDropdown/UiLanguageDropdown.test.js
A server/zanata-frontend/src/frontend/app/editor/components/UiLanguageDropdown/index.js
A server/zanata-frontend/src/frontend/app/editor/utils/Util.test.js
A server/zanata-frontend/src/frontend/app/editor/utils/phrase-util.test.js
A server/zanata-frontend/src/frontend/app/utils/GlossaryHelper.test.js
A server/zanata-frontend/src/frontend/app/utils/StringUtils.test.js
Log Message:
-----------
refactor(ZNTA-1905): move test files to component directories
Components that are file modules are converted to directory modules.
Relative imports need updating but this is done as a separate commit
to ensure git recognizes all the file moves correctly.
Commit: c43de4675b239b98cdeb3ab158ff71ac93b65b00
https://github.com/zanata/zanata-platform/commit/c43de4675b239b98cdeb3ab158ff71ac93b65b00
Author: David Mason <drdmason at gmail.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M server/zanata-frontend/src/frontend/app/editor/components/Button/Button.test.js
M server/zanata-frontend/src/frontend/app/editor/components/DashboardLink/DashboardLink.test.js
M server/zanata-frontend/src/frontend/app/editor/components/DocsDropdown/DocsDropdown.test.js
M server/zanata-frontend/src/frontend/app/editor/components/DocsDropdown/index.js
M server/zanata-frontend/src/frontend/app/editor/components/Dropdown/Dropdown.test.js
M server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.test.js
M server/zanata-frontend/src/frontend/app/editor/components/IconButton/IconButton.test.js
M server/zanata-frontend/src/frontend/app/editor/components/IconButton/index.js
M server/zanata-frontend/src/frontend/app/editor/components/IconButtonToggle/IconButtonToggle.test.js
M server/zanata-frontend/src/frontend/app/editor/components/IconButtonToggle/index.js
M server/zanata-frontend/src/frontend/app/editor/components/LanguagesDropdown/LanguageDropdown.test.js
M server/zanata-frontend/src/frontend/app/editor/components/LanguagesDropdown/index.js
M server/zanata-frontend/src/frontend/app/editor/components/NoSuggestionsPanel/NoSuggestionsPanel.test.js
M server/zanata-frontend/src/frontend/app/editor/components/Pager/Pager.test.js
M server/zanata-frontend/src/frontend/app/editor/components/ProgressBar/ProgressBar.test.js
M server/zanata-frontend/src/frontend/app/editor/components/ProjectVersionLink/ProjectVersionLink.test.js
M server/zanata-frontend/src/frontend/app/editor/components/SuggestionContents/SuggestionContents.test.js
M server/zanata-frontend/src/frontend/app/editor/components/SuggestionContents/index.js
M server/zanata-frontend/src/frontend/app/editor/components/SuggestionDetailsSummary/SuggestionDetailsSummary.test.js
M server/zanata-frontend/src/frontend/app/editor/components/SuggestionMatchPercent/SuggestionMatchPercent.test.js
M server/zanata-frontend/src/frontend/app/editor/components/SuggestionSources/SuggestionSources.test.js
M server/zanata-frontend/src/frontend/app/editor/components/SuggestionSources/index.js
M server/zanata-frontend/src/frontend/app/editor/components/TextDiff/TextDiff.test.js
M server/zanata-frontend/src/frontend/app/editor/components/ToggleSwitch/ToggleSwitch.test.js
M server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/TransUnitFilter.test.js
M server/zanata-frontend/src/frontend/app/editor/components/TransUnitFilter/index.js
M server/zanata-frontend/src/frontend/app/editor/components/TranslatingIndicator/TranslatingIndicator.test.js
M server/zanata-frontend/src/frontend/app/editor/components/UiLanguageDropdown/UiLanguageDropdown.test.js
M server/zanata-frontend/src/frontend/app/editor/components/UiLanguageDropdown/index.js
M server/zanata-frontend/src/frontend/app/editor/utils/phrase-util.test.js
M server/zanata-frontend/src/frontend/app/utils/GlossaryHelper.test.js
M server/zanata-frontend/src/frontend/app/utils/StringUtils.test.js
Log Message:
-----------
refactor(ZNTA-1905): update relative imports for moved tests and modules
Correct all relative imports to match new file locations. Kept as a
separate commit to ensure these changes do not interfere with git's
detection of renamed files.
Commit: 1e42168a36aab32f16e8c60eae515946544478d7
https://github.com/zanata/zanata-platform/commit/1e42168a36aab32f16e8c60eae515946544478d7
Author: David Mason <drdmason at gmail.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
A server/zanata-frontend/src/frontend/app/components/Alert/Alert.story.js
R server/zanata-frontend/src/frontend/app/components/Alert/story.js
A server/zanata-frontend/src/frontend/app/components/Badge/Badge.story.js
R server/zanata-frontend/src/frontend/app/components/Badge/story.js
A server/zanata-frontend/src/frontend/app/components/Breadcrumbs/Breadcrumbs.story.js
R server/zanata-frontend/src/frontend/app/components/Breadcrumbs/story.js
A server/zanata-frontend/src/frontend/app/components/Button/Button.story.js
R server/zanata-frontend/src/frontend/app/components/Button/story.js
A server/zanata-frontend/src/frontend/app/components/Dropdown/Dropdown.story.js
R server/zanata-frontend/src/frontend/app/components/Dropdown/story.js
A server/zanata-frontend/src/frontend/app/components/EditableText/EditableText.story.js
R server/zanata-frontend/src/frontend/app/components/EditableText/story.js
A server/zanata-frontend/src/frontend/app/components/Form/Form.story.js
R server/zanata-frontend/src/frontend/app/components/Form/story.js
R server/zanata-frontend/src/frontend/app/components/Foundation/story.js
A server/zanata-frontend/src/frontend/app/components/Icon/Icon.story.js
R server/zanata-frontend/src/frontend/app/components/Icon/story.js
A server/zanata-frontend/src/frontend/app/components/Label/Label.story.js
R server/zanata-frontend/src/frontend/app/components/Label/story.js
A server/zanata-frontend/src/frontend/app/components/Link/Link.story.js
R server/zanata-frontend/src/frontend/app/components/Link/story.js
A server/zanata-frontend/src/frontend/app/components/List/List.story.js
R server/zanata-frontend/src/frontend/app/components/List/story.js
A server/zanata-frontend/src/frontend/app/components/LoaderText/LoaderText.story.js
R server/zanata-frontend/src/frontend/app/components/LoaderText/story.js
A server/zanata-frontend/src/frontend/app/components/Modal/Modal.story.js
R server/zanata-frontend/src/frontend/app/components/Modal/story.js
A server/zanata-frontend/src/frontend/app/components/Notification/Notification.story.js
R server/zanata-frontend/src/frontend/app/components/Notification/story.js
A server/zanata-frontend/src/frontend/app/components/Pagination/Pagination.story.js
R server/zanata-frontend/src/frontend/app/components/Pagination/story.js
A server/zanata-frontend/src/frontend/app/components/Panel/Panel.story.js
R server/zanata-frontend/src/frontend/app/components/Panel/story.js
A server/zanata-frontend/src/frontend/app/components/ProgressBar/ProgressBar.story.js
R server/zanata-frontend/src/frontend/app/components/ProgressBar/story.js
A server/zanata-frontend/src/frontend/app/components/Table/Table.story.js
R server/zanata-frontend/src/frontend/app/components/Table/story.js
A server/zanata-frontend/src/frontend/app/components/Tabs/Tabs.story.js
R server/zanata-frontend/src/frontend/app/components/Tabs/story.js
A server/zanata-frontend/src/frontend/app/components/TextInput/TextInput.story.js
R server/zanata-frontend/src/frontend/app/components/TextInput/story.js
A server/zanata-frontend/src/frontend/app/components/Tooltip/Tooltip.story.js
R server/zanata-frontend/src/frontend/app/components/Tooltip/story.js
A server/zanata-frontend/src/frontend/app/components/Well/Well.story.js
R server/zanata-frontend/src/frontend/app/components/Well/story.js
A server/zanata-frontend/src/frontend/app/components/components.story.js
A server/zanata-frontend/src/frontend/app/components/foundation.story.js
R server/zanata-frontend/src/frontend/app/components/stories.js
A server/zanata-frontend/src/frontend/app/editor/components/Button/Button.story.js
R server/zanata-frontend/src/frontend/app/editor/components/Button/story.js
A server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/EditorSearchInput.story.js
R server/zanata-frontend/src/frontend/app/editor/components/EditorSearchInput/story.js
A server/zanata-frontend/src/frontend/app/editor/components/GlossarySearchInput/GlossarySearchInput.story.js
R server/zanata-frontend/src/frontend/app/editor/components/GlossarySearchInput/story.js
A server/zanata-frontend/src/frontend/app/editor/components/GlossaryTerm/GlossaryTerm.story.js
R server/zanata-frontend/src/frontend/app/editor/components/GlossaryTerm/story.js
A server/zanata-frontend/src/frontend/app/editor/components/GlossaryTermModal/GlossaryTermModal.story.js
R server/zanata-frontend/src/frontend/app/editor/components/GlossaryTermModal/story.js
A server/zanata-frontend/src/frontend/app/editor/components/ProgressBar/ProgressBar.story.js
R server/zanata-frontend/src/frontend/app/editor/components/ProgressBar/story.js
A server/zanata-frontend/src/frontend/app/editor/components/TextDiff/TextDiff.story.js
R server/zanata-frontend/src/frontend/app/editor/components/TextDiff/story.js
A server/zanata-frontend/src/frontend/app/editor/components/components.story.js
R server/zanata-frontend/src/frontend/app/editor/components/stories.js
Log Message:
-----------
refactor(ZNTA-1905): include module name in story file name
This will make for easier debugging, safer coverage exclusion rules, and
works with both file and directory commonjs modules.
Note: some imports are updated in a subsequent commit, kept separate to
ensure git will have no trouble identifying the moved files.
Commit: 59671bd48ed1325b75cb83a98e5390f7aa601170
https://github.com/zanata/zanata-platform/commit/59671bd48ed1325b75cb83a98e5390f7aa601170
Author: David Mason <drdmason at gmail.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M server/zanata-frontend/src/frontend/.storybook-editor/config.js
M server/zanata-frontend/src/frontend/.storybook-frontend/config.js
M server/zanata-frontend/src/frontend/app/components/components.story.js
M server/zanata-frontend/src/frontend/app/components/foundation.story.js
M server/zanata-frontend/src/frontend/app/editor/components/components.story.js
M server/zanata-frontend/src/frontend/package.json
Log Message:
-----------
refactor(ZNTA-1905): update imports for renamed story files
Commit: dc757206bd905252f57694d3056da54ae5db2c28
https://github.com/zanata/zanata-platform/commit/dc757206bd905252f57694d3056da54ae5db2c28
Author: David Mason <drdmason at gmail.com>
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
A server/zanata-frontend/src/frontend/app/components/Dropdowns/Dropdowns.story.js
R server/zanata-frontend/src/frontend/app/components/Dropdowns/story.js
A server/zanata-frontend/src/frontend/app/components/Forms/Forms.story.js
R server/zanata-frontend/src/frontend/app/components/Forms/story.js
A server/zanata-frontend/src/frontend/app/components/Labels/Labels.story.js
R server/zanata-frontend/src/frontend/app/components/Labels/story.js
A server/zanata-frontend/src/frontend/app/components/Lists/Lists.story.js
R server/zanata-frontend/src/frontend/app/components/Lists/story.js
Log Message:
-----------
refactor(ZNTA-1905): rename additional story files
These are added in master since my initial implementation. They do not
appear to be imported anywhere so the rename alone is enough. They can
be cleaned up after the migration.
Compare: https://github.com/zanata/zanata-platform/compare/83a7cb1b115d...dc757206bd90
More information about the zanata-commits
mailing list