/*
- * Copyright (c) 2015, Intel Corporation
+ * Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
using namespace std;
using namespace testing;
-static const unsigned validModes[] = {
+static constexpr unsigned validModes[] = {
HS_MODE_STREAM,
- HS_MODE_NOSTREAM
+ HS_MODE_NOSTREAM,
+ HS_MODE_VECTORED
};
class Serializep : public TestWithParam<unsigned> {
break;
case HS_MODE_NOSTREAM:
mode_string = "BLOCK";
+ break;
+ case HS_MODE_VECTORED:
+ mode_string = "VECTORED";
+ break;
}
ASSERT_NE(nullptr, original_info) << "hs_serialized_database_info returned null.";
break;
case HS_MODE_NOSTREAM:
mode_string = "BLOCK";
+ break;
+ case HS_MODE_VECTORED:
+ mode_string = "VECTORED";
+ break;
}
ASSERT_NE(nullptr, original_info) << "hs_serialized_database_info returned null.";