TestAPI.tsx 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. import React from 'react';
  2. import {
  3. RunAllGridTests,
  4. TestCreateGrid,
  5. TestCreateNewField,
  6. TestCreateRow,
  7. TestCreateSelectOptionInCell,
  8. TestDeleteField,
  9. TestDeleteRow,
  10. TestEditCell,
  11. TestEditCheckboxCell,
  12. TestEditDateCell,
  13. TestEditDateFormat,
  14. TestEditField,
  15. TestEditNumberFormat,
  16. TestEditTextCell,
  17. TestEditURLCell,
  18. TestGetSingleSelectFieldData,
  19. TestMoveField,
  20. TestSwitchFromMultiSelectToText,
  21. TestSwitchFromSingleSelectToNumber,
  22. } from './TestGrid';
  23. import {
  24. TestCreateKanbanBoard,
  25. TestCreateKanbanBoardColumn,
  26. TestCreateKanbanBoardRowInNoStatusGroup,
  27. TestAllKanbanTests,
  28. TestMoveKanbanBoardColumn,
  29. TestMoveKanbanBoardRow,
  30. } from './TestGroup';
  31. import { TestCreateDocument } from './TestDocument';
  32. export const TestAPI = () => {
  33. return (
  34. <React.Fragment>
  35. <ul className='m-6, space-y-2'>
  36. {/*<tests></tests>*/}
  37. <RunAllGridTests></RunAllGridTests>
  38. <TestCreateGrid></TestCreateGrid>
  39. <TestCreateRow></TestCreateRow>
  40. <TestDeleteRow></TestDeleteRow>
  41. <TestEditCell></TestEditCell>
  42. <TestEditTextCell></TestEditTextCell>
  43. <TestEditURLCell></TestEditURLCell>
  44. <TestEditDateCell></TestEditDateCell>
  45. <TestEditCheckboxCell></TestEditCheckboxCell>
  46. <TestCreateSelectOptionInCell></TestCreateSelectOptionInCell>
  47. <TestGetSingleSelectFieldData></TestGetSingleSelectFieldData>
  48. <TestEditField></TestEditField>
  49. <TestMoveField></TestMoveField>
  50. <TestCreateNewField></TestCreateNewField>
  51. <TestDeleteField></TestDeleteField>
  52. <TestEditDateFormat></TestEditDateFormat>
  53. <TestEditNumberFormat></TestEditNumberFormat>
  54. <TestSwitchFromSingleSelectToNumber></TestSwitchFromSingleSelectToNumber>
  55. <TestSwitchFromMultiSelectToText></TestSwitchFromMultiSelectToText>
  56. {/*kanban board */}
  57. <TestAllKanbanTests></TestAllKanbanTests>
  58. <TestCreateKanbanBoard></TestCreateKanbanBoard>
  59. <TestCreateKanbanBoardRowInNoStatusGroup></TestCreateKanbanBoardRowInNoStatusGroup>
  60. <TestMoveKanbanBoardRow></TestMoveKanbanBoardRow>
  61. <TestMoveKanbanBoardColumn></TestMoveKanbanBoardColumn>
  62. <TestCreateKanbanBoardColumn></TestCreateKanbanBoardColumn>
  63. <TestCreateDocument></TestCreateDocument>
  64. </ul>
  65. </React.Fragment>
  66. );
  67. };