xuegao | 524b364 | 2019-10-11 15:41:49 +0200 | [diff] [blame^] | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | |
| 3 | exports[`Verify OnapClamp Test the render method 1`] = ` |
| 4 | <ThemeProvider |
| 5 | theme={ |
| 6 | Object { |
| 7 | "backgroundColor": "#eeeeee", |
| 8 | "fontDanger": "#eb238e", |
| 9 | "fontDark": "#888888", |
| 10 | "fontFamily": "Arial, Sans-serif", |
| 11 | "fontHighlight": "#ffff00", |
| 12 | "fontLight": "#ffffff", |
| 13 | "fontNormal": "black", |
| 14 | "fontSize": "16px", |
| 15 | "fontWarning": "#eb238e", |
| 16 | "loopViewerBackgroundColor": "white", |
| 17 | "loopViewerFontColor": "yellow", |
| 18 | "loopViewerHeaderBackgroundColor": "#337ab7", |
| 19 | "loopViewerHeaderFontColor": "white", |
| 20 | "menuBackgroundColor": "white", |
| 21 | "menuFontColor": "black", |
| 22 | "menuHighlightedBackgroundColor": "#337ab7", |
| 23 | "menuHighlightedFontColor": "white", |
| 24 | } |
| 25 | } |
| 26 | > |
| 27 | <styled.div |
| 28 | id="main_div" |
| 29 | > |
| 30 | <Route |
| 31 | path="/operationalPolicyModal" |
| 32 | render={[Function]} |
| 33 | /> |
| 34 | <Route |
| 35 | path="/configurationPolicyModal/:componentName" |
| 36 | render={[Function]} |
| 37 | /> |
| 38 | <Route |
| 39 | path="/openLoop" |
| 40 | render={[Function]} |
| 41 | /> |
| 42 | <Route |
| 43 | path="/loopProperties" |
| 44 | render={[Function]} |
| 45 | /> |
| 46 | <Route |
| 47 | path="/userInfo" |
| 48 | render={[Function]} |
| 49 | /> |
| 50 | <Route |
| 51 | path="/closeLoop" |
| 52 | render={[Function]} |
| 53 | /> |
| 54 | <Route |
| 55 | path="/submit" |
| 56 | render={[Function]} |
| 57 | /> |
| 58 | <Route |
| 59 | path="/stop" |
| 60 | render={[Function]} |
| 61 | /> |
| 62 | <Route |
| 63 | path="/restart" |
| 64 | render={[Function]} |
| 65 | /> |
| 66 | <Route |
| 67 | path="/delete" |
| 68 | render={[Function]} |
| 69 | /> |
| 70 | <Route |
| 71 | path="/undeploy" |
| 72 | render={[Function]} |
| 73 | /> |
| 74 | <Route |
| 75 | path="/deploy" |
| 76 | render={[Function]} |
| 77 | /> |
| 78 | <Route |
| 79 | path="/refreshStatus" |
| 80 | render={[Function]} |
| 81 | /> |
| 82 | <Route |
| 83 | path="/logout" |
| 84 | render={[Function]} |
| 85 | /> |
| 86 | <GlobalStyleComponent /> |
| 87 | <Alert |
| 88 | closeLabel="Close alert" |
| 89 | dismissible={true} |
| 90 | onClose={[Function]} |
| 91 | show={false} |
| 92 | transition={ |
| 93 | Object { |
| 94 | "$$typeof": Symbol(react.forward_ref), |
| 95 | "defaultProps": Object { |
| 96 | "appear": false, |
| 97 | "in": false, |
| 98 | "mountOnEnter": false, |
| 99 | "timeout": 300, |
| 100 | "unmountOnExit": false, |
| 101 | }, |
| 102 | "displayName": "Fade", |
| 103 | "render": [Function], |
| 104 | } |
| 105 | } |
| 106 | variant="danger" |
| 107 | /> |
| 108 | <Navbar |
| 109 | collapseOnSelect={false} |
| 110 | expand={true} |
| 111 | variant="light" |
| 112 | > |
| 113 | <NavbarBrand> |
| 114 | <img |
| 115 | alt="" |
| 116 | height="50px" |
| 117 | src={null} |
| 118 | width="234px" |
| 119 | /> |
| 120 | <styled.a> |
| 121 | CLAMP |
| 122 | </styled.a> |
| 123 | </NavbarBrand> |
| 124 | <NavbarToggle |
| 125 | aria-controls="responsive-navbar-nav" |
| 126 | label="Toggle navigation" |
| 127 | /> |
| 128 | <MenuBar |
| 129 | loopName="Empty (NO loop loaded yet)" |
| 130 | /> |
| 131 | <NavbarText> |
| 132 | <styled.a> |
| 133 | Signed in as: |
| 134 | </styled.a> |
| 135 | <Styled(Link) |
| 136 | to="/userInfo" |
| 137 | /> |
| 138 | <Styled(Link) |
| 139 | to="/logout/" |
| 140 | > |
| 141 | (logout) |
| 142 | </Styled(Link)> |
| 143 | </NavbarText> |
| 144 | </Navbar> |
| 145 | <styled.div> |
| 146 | <styled.div> |
| 147 | Loop Viewer - |
| 148 | Empty (NO loop loaded yet) |
| 149 | </styled.div> |
| 150 | <styled.div> |
| 151 | <withRouter(LoopViewSvg) |
| 152 | loopCache={ |
| 153 | LoopCache { |
| 154 | "loopJsonCache": Object {}, |
| 155 | } |
| 156 | } |
| 157 | /> |
| 158 | <LoopStatus |
| 159 | loopCache={ |
| 160 | LoopCache { |
| 161 | "loopJsonCache": Object {}, |
| 162 | } |
| 163 | } |
| 164 | /> |
| 165 | <LoopLogs |
| 166 | loopCache={ |
| 167 | LoopCache { |
| 168 | "loopJsonCache": Object {}, |
| 169 | } |
| 170 | } |
| 171 | /> |
| 172 | </styled.div> |
| 173 | </styled.div> |
| 174 | </styled.div> |
| 175 | </ThemeProvider> |
| 176 | `; |