USB: Make unit test mock classes common

This commit moves the mock classes used for HCD unit tests into
a common header so that other layers of the USB Host stack can
also utilzie them for their own unit tests.
This commit is contained in:
Darian Leung
2021-06-28 12:39:39 +08:00
parent d7928bf1db
commit b901cbd273
7 changed files with 354 additions and 229 deletions

View File

@@ -12,14 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//Todo: Move all the port and PHY to here
//Have a separate test file for INTR (HID), ISOC (UVC), and BULK (SCSI)
//Each test case has a fixed HW device
//Implements bare minimum for a MOCK protocol
#include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"