VirtualBox

source: vbox/trunk/src/VBox/HostServices/SharedFolders/testcase/tstSharedFolderService.h@ 78359

Last change on this file since 78359 was 76570, checked in by vboxsync, 6 years ago

HostServices: Use VBOX_INCLUDED_SRC_ as header guard prefix with scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.3 KB
Line 
1/** @file
2 * VBox Shared Folders testcase stub redefinitions.
3 */
4
5/*
6 * Copyright (C) 2011-2019 Oracle Corporation
7 *
8 * This file is part of VirtualBox Open Source Edition (OSE), as
9 * available from http://www.virtualbox.org. This file is free software;
10 * you can redistribute it and/or modify it under the terms of the GNU
11 * General Public License (GPL) as published by the Free Software
12 * Foundation, in version 2 as it comes in the "COPYING" file of the
13 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15 */
16
17#ifndef VBOX_INCLUDED_SRC_SharedFolders_testcase_tstSharedFolderService_h
18#define VBOX_INCLUDED_SRC_SharedFolders_testcase_tstSharedFolderService_h
19#ifndef RT_WITHOUT_PRAGMA_ONCE
20# pragma once
21#endif
22
23/* Grumble... if the coding style let us use the anonymous "struct RTTESTINT *"
24 * instead of "PRTTEST" here we wouldn't need to unnecessarily include this. */
25#include <iprt/test.h>
26
27void testMappingsQuery(RTTEST hTest);
28/* Sub-tests for testMappingsQuery(). */
29void testMappingsQuerySimple(RTTEST hTest);
30void testMappingsQueryTooFewBuffers(RTTEST hTest);
31void testMappingsQueryAutoMount(RTTEST hTest);
32void testMappingsQueryArrayWrongSize(RTTEST hTest);
33
34void testMappingsQueryName(RTTEST hTest);
35/* Sub-tests for testMappingsQueryName(). */
36void testMappingsQueryNameValid(RTTEST hTest);
37void testMappingsQueryNameInvalid(RTTEST hTest);
38void testMappingsQueryNameBadBuffer(RTTEST hTest);
39
40void testMapFolder(RTTEST hTest);
41/* Sub-tests for testMapFolder(). */
42void testMapFolderValid(RTTEST hTest);
43void testMapFolderInvalid(RTTEST hTest);
44void testMapFolderTwice(RTTEST hTest);
45void testMapFolderDelimiter(RTTEST hTest);
46void testMapFolderCaseSensitive(RTTEST hTest);
47void testMapFolderCaseInsensitive(RTTEST hTest);
48void testMapFolderBadParameters(RTTEST hTest);
49
50void testUnmapFolder(RTTEST hTest);
51/* Sub-tests for testUnmapFolder(). */
52void testUnmapFolderValid(RTTEST hTest);
53void testUnmapFolderInvalid(RTTEST hTest);
54void testUnmapFolderBadParameters(RTTEST hTest);
55
56void testCreate(RTTEST hTest);
57/* Sub-tests for testCreate(). */
58void testCreateFileSimple(RTTEST hTest);
59void testCreateFileSimpleCaseInsensitive(RTTEST hTest);
60void testCreateDirSimple(RTTEST hTest);
61void testCreateBadParameters(RTTEST hTest);
62
63void testClose(RTTEST hTest);
64/* Sub-tests for testClose(). */
65void testCloseBadParameters(RTTEST hTest);
66
67void testRead(RTTEST hTest);
68/* Sub-tests for testRead(). */
69void testReadBadParameters(RTTEST hTest);
70void testReadFileSimple(RTTEST hTest);
71
72void testWrite(RTTEST hTest);
73/* Sub-tests for testWrite(). */
74void testWriteBadParameters(RTTEST hTest);
75void testWriteFileSimple(RTTEST hTest);
76
77void testLock(RTTEST hTest);
78/* Sub-tests for testLock(). */
79void testLockBadParameters(RTTEST hTest);
80void testLockFileSimple(RTTEST hTest);
81
82void testFlush(RTTEST hTest);
83/* Sub-tests for testFlush(). */
84void testFlushBadParameters(RTTEST hTest);
85void testFlushFileSimple(RTTEST hTest);
86
87void testDirList(RTTEST hTest);
88/* Sub-tests for testDirList(). */
89void testDirListBadParameters(RTTEST hTest);
90void testDirListEmpty(RTTEST hTest);
91
92void testReadLink(RTTEST hTest);
93/* Sub-tests for testReadLink(). */
94void testReadLinkBadParameters(RTTEST hTest);
95
96void testFSInfo(RTTEST hTest);
97/* Sub-tests for testFSInfo(). */
98void testFSInfoBadParameters(RTTEST hTest);
99void testFSInfoQuerySetFMode(RTTEST hTest);
100void testFSInfoQuerySetDirATime(RTTEST hTest);
101void testFSInfoQuerySetFileATime(RTTEST hTest);
102void testFSInfoQuerySetEndOfFile(RTTEST hTest);
103
104void testRemove(RTTEST hTest);
105/* Sub-tests for testRemove(). */
106void testRemoveBadParameters(RTTEST hTest);
107
108void testRename(RTTEST hTest);
109/* Sub-tests for testRename(). */
110void testRenameBadParameters(RTTEST hTest);
111
112void testSymlink(RTTEST hTest);
113/* Sub-tests for testSymlink(). */
114void testSymlinkBadParameters(RTTEST hTest);
115
116void testMappingsAdd(RTTEST hTest);
117/* Sub-tests for testMappingsAdd(). */
118void testMappingsAddBadParameters(RTTEST hTest);
119
120void testMappingsRemove(RTTEST hTest);
121/* Sub-tests for testMappingsRemove(). */
122void testMappingsRemoveBadParameters(RTTEST hTest);
123
124#if 0 /* Where should this go? */
125void testSetStatusLed(RTTEST hTest);
126/* Sub-tests for testStatusLed(). */
127void testSetStatusLedBadParameters(RTTEST hTest);
128#endif
129
130#endif /* !VBOX_INCLUDED_SRC_SharedFolders_testcase_tstSharedFolderService_h */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette