Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 25 of 241) sorted by relevance

12345678910

/openbmc/webui-vue/tests/unit/Global/
H A DTableDateFilter.spec.js17 const wrapper = mount(TableDateFilter, { constant
38 wrapper.vm.fromDate = '';
39 wrapper.vm.toDate = '';
40 wrapper.vm.v$.$reset();
41 await wrapper.vm.$nextTick();
45 expect(wrapper.exists()).toBe(true);
49 expect(wrapper.find('#input-from-date').exists()).toBe(true);
50 expect(wrapper.find('#input-to-date').exists()).toBe(true);
55 await wrapper.find('#input-from-date').setValue('2025-01-15');
56 wrapper.vm.v$.fromDate.$touch();
[all …]
H A DStatusIcon.spec.js5 const wrapper = mount(StatusIcon, { constant
11 expect(wrapper.exists()).toBe(true);
14 expect(wrapper.find('.info').exists()).toBe(true);
17 await wrapper.setProps({ status: 'success' });
18 expect(wrapper.find('.success').exists()).toBe(true);
21 await wrapper.setProps({ status: 'warning' });
22 expect(wrapper.find('.warning').exists()).toBe(true);
25 await wrapper.setProps({ status: 'danger' });
26 expect(wrapper.find('.danger').exists()).toBe(true);
29 await wrapper.setProps({ status: 'secondary' });
[all …]
H A DLoadingBar.spec.js5 const wrapper = mount(LoadingBar, { constant
17 expect(wrapper.exists()).toBe(true);
20 await wrapper.setData({
24 expect(wrapper.vm.isLoadingComplete).toBe(false);
25 expect(wrapper.find('.progress').exists()).toBe(true);
28 await wrapper.setData({
32 expect(wrapper.vm.isLoadingComplete).toBe(true);
33 expect(wrapper.find('.progress').exists()).toBe(false);
36 expect(wrapper.element).toMatchSnapshot();
H A DSearch.spec.js5 const wrapper = mount(Search, { constant
13 expect(wrapper.exists()).toBe(true);
16 wrapper.find('input').trigger('input');
17 expect(wrapper.emitted('change-search')).toHaveLength(1);
20 await wrapper.setData({ filter: 'true' });
21 wrapper.find('button').trigger('click');
22 expect(wrapper.emitted('clear-search')).toHaveLength(1);
25 expect(wrapper.element).toMatchSnapshot();
H A DTableCellCount.spec.js5 const wrapper = mount(TableCellCount, { constant
15 expect(wrapper.exists()).toBe(true);
18 expect(wrapper.text()).toContain('global.table.selectedItems');
21 await wrapper.setProps({ filteredItemsCount: 5, totalNumberOfCells: 5 });
22 expect(wrapper.text()).toContain('global.table.items');
25 expect(wrapper.element).toMatchSnapshot();
H A DInputPasswordToggle.spec.js5 const wrapper = mount(InputPasswordToggle, { constant
16 expect(wrapper.exists()).toBe(true);
19 expect(wrapper.find('.isVisible').exists()).toBe(false);
22 await wrapper.find('button').trigger('click');
23 expect(wrapper.find('.isVisible').exists()).toBe(true);
26 expect(wrapper.element).toMatchSnapshot();
H A DTableToolbar.spec.js5 const wrapper = mount(TableToolbar, { constant
14 expect(wrapper.exists()).toBe(true);
17 await wrapper.setProps({ selectedItemsCount: 12 });
18 expect(wrapper.find('.toolbar-container').exists()).toBe(true);
21 expect(wrapper.element).toMatchSnapshot();
H A DPageTitle.spec.js5 const wrapper = mount(PageTitle, { constant
15 expect(wrapper.exists()).toBe(true);
18 expect(wrapper.find('h1').exists()).toBe(true);
21 expect(wrapper.find('p').exists()).toBe(true);
24 expect(wrapper.element).toMatchSnapshot();
H A DPageContainer.spec.js5 const wrapper = mount(PageContainer, { constant
11 expect(wrapper.exists()).toBe(true);
14 expect(wrapper.find('main').exists()).toBe(true);
17 expect(wrapper.element).toMatchSnapshot();
H A DPageSection.spec.js5 const wrapper = mount(PageSection, { constant
14 expect(wrapper.exists()).toBe(true);
17 expect(wrapper.find('h2').exists()).toBe(true);
20 expect(wrapper.element).toMatchSnapshot();
H A DInfoTooltip.spec.js7 const wrapper = mount(InfoTooltip, { constant
16 expect(wrapper.exists()).toBe(true);
19 expect(wrapper.element).toMatchSnapshot();
/openbmc/webui-vue/tests/unit/views/SecurityAndAccess/UserManagement/
H A DModalUser.spec.js7 let wrapper; variable
40 wrapper = mount(ModalUser, {
60 wrapper.unmount();
64 expect(wrapper.exists()).toBe(true);
69 expect(wrapper.vm.v$).toBeDefined();
73 expect(wrapper.vm.v$.form).toBeDefined();
77 expect(wrapper.vm.v$.form.username).toBeDefined();
78 expect(wrapper.vm.v$.form.username.required).toBeDefined();
82 expect(wrapper.vm.v$.form.username.maxLength).toBeDefined();
86 expect(wrapper.vm.v$.form.username.pattern).toBeDefined();
[all …]
/openbmc/webui-vue/tests/unit/views/Settings/Network/
H A DModalHostname.spec.js6 let wrapper; variable
9 wrapper = mount(ModalHostname, {
24 wrapper.unmount();
28 expect(wrapper.exists()).toBe(true);
33 expect(wrapper.vm.v$).toBeDefined();
37 expect(wrapper.vm.v$.form).toBeDefined();
38 expect(wrapper.vm.v$.form.hostname).toBeDefined();
42 expect(wrapper.vm.v$.form.hostname.required).toBeDefined();
46 expect(wrapper.vm.v$.form.hostname.validateHostname).toBeDefined();
50 expect(typeof wrapper.vm.v$.form.hostname.$touch).toBe('function');
[all …]
H A DModalMacAddress.spec.js6 let wrapper; variable
9 wrapper = mount(ModalMacAddress, {
24 wrapper.unmount();
28 expect(wrapper.exists()).toBe(true);
33 expect(wrapper.vm.v$).toBeDefined();
37 expect(wrapper.vm.v$.form).toBeDefined();
38 expect(wrapper.vm.v$.form.macAddress).toBeDefined();
42 expect(wrapper.vm.v$.form.macAddress.required).toBeDefined();
46 expect(wrapper.vm.v$.form.macAddress.macAddress).toBeDefined();
50 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(false);
[all …]
/openbmc/webui-vue/tests/unit/
H A DAppHeader.spec.js36 const wrapper = mount(AppHeader, {
50 expect(wrapper.exists()).toBe(true);
54 expect(wrapper.element).toMatchSnapshot();
58 wrapper.get('#app-header-refresh').trigger('click');
59 await wrapper.vm.$nextTick();
60 expect(wrapper.emitted('refresh')).toBeTruthy();
65 wrapper.get('#app-header-trigger').trigger('click');
66 await wrapper.vm.$nextTick();
71 wrapper.get('[data-test-id="appHeader-link-logout"]').trigger('click');
72 await wrapper
35 const wrapper = mount(AppHeader, { global() constant
[all...]
H A DAppNavigation.spec.js9 let wrapper;
14 wrapper = mount(AppNavigation, {
22 expect(wrapper.exists()).toBe(true);
26 expect(wrapper.element).toMatchSnapshot();
30 wrapper.vm.isNavigationOpen = true;
31 expect(wrapper.element).toMatchSnapshot();
36 const navOverlay = wrapper.find('#nav-overlay');
38 await wrapper.vm.$nextTick();
43 wrapper.vm.isNavigationOpen = false;
45 expect(wrapper
10 let wrapper; global() variable
[all...]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/
H A D0001-Using-native-binaries.patch27 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
35 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
43 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
56 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
64 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
72 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
80 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
88 + '<(PRODUCT_DIR)/v8-qemu-wrapper.sh',
/openbmc/openbmc/poky/meta/recipes-devtools/vala/
H A Dvala_0.56.18.bb33 … # Write out a vapigen wrapper that will be provided by pkg-config file installed in target sysroot
34 # The wrapper will call a native vapigen
35 cat > ${B}/vapigen-wrapper << EOF
39 chmod +x ${B}/vapigen-wrapper
44 # Vapigen wrapper needs to be available system-wide, because it will be used
48 install ${B}/vapigen-wrapper ${D}${bindir_crossscripts}/
51 # Put vapigen wrapper into target sysroot so that it can be used when building
61 # up our wrapper.
63 -e "s|vapigen=.*|vapigen=${bindir_crossscripts}/vapigen-wrapper|" \
67 SSTATE_SCAN_FILES += "vapigen-wrapper"
/openbmc/openbmc/poky/meta/recipes-core/glibc/
H A Dglibc-testsuite_2.41.bb6 SRC_URI += "file://check-test-wrapper"
21 chmod 0755 ${UNPACKDIR}/check-test-wrapper
29 test-wrapper="${UNPACKDIR}/check-test-wrapper ${TOOLCHAIN_TEST_TARGET}" \
/openbmc/openbmc/poky/meta/recipes-gnome/gobject-introspection/
H A Dgobject-introspection_1.84.0.bb39 # needed for writing out the qemu wrapper script
46 # Configure target build to use native tools of itself and to use a qemu wrapper
65 # Write out a qemu wrapper that will be given to gi-scanner so that it
83 …# Write out a wrapper for g-ir-scanner itself, which will be used when building introspection files
84 …# for glib-based packages. This wrapper calls the native version of the scanner, and tells it to u…
85 …# a qemu wrapper for running transient target binaries produced by the scanner, and an include dir…
87 cat > ${B}/g-ir-scanner-wrapper << EOF
92 …s-envvar=GIR_EXTRA_LIBS_PATH --use-binary-wrapper=${STAGING_BINDIR}/g-ir-scanner-qemuwrapper --use…
94 chmod +x ${B}/g-ir-scanner-wrapper
96 # Write out a wrapper for g-ir-compiler, which runs the target version of it through qemu.
[all …]
/openbmc/openbmc/poky/
H A D.b4-config2 prep-perpatch-check-cmd = ./scripts/b4-wrapper-poky.py prep-perpatch-check-cmd
3 send-auto-cc-cmd = ./scripts/b4-wrapper-poky.py send-auto-cc-cmd
4 send-auto-to-cmd = ./scripts/b4-wrapper-poky.py send-auto-to-cmd
/openbmc/webui-vue/src/
H A DeventBus.js6 const wrapper = (...args) => {
7 emitter.off(event, wrapper);
10 emitter.on(event, wrapper);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A D0003-Fix-missing-prototype-compiler-warnings.patch14 lib/wrapper.c | 1 +
42 diff --git a/lib/wrapper.c b/lib/wrapper.c
44 --- a/lib/wrapper.c
45 +++ b/lib/wrapper.c
H A D0011-libtar-fix-programming-mistakes-detected-by-static-a.patch21 lib/wrapper.c | 11 +++++++----
46 diff --git a/lib/wrapper.c b/lib/wrapper.c
48 --- a/lib/wrapper.c
49 +++ b/lib/wrapper.c
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/zile/files/
H A Dremove-help2man.patch11 - build-aux/zile-help2man-wrapper \
23 -$(srcdir)/doc/zile.1.in: doc/man-extras build-aux/zile-help2man-wrapper configure.ac $(builddir)/s…
27 …ile Is Lossy Emacs" --include $(srcdir)/doc/man-extras $(srcdir)/build-aux/zile-help2man-wrapper; \

12345678910