diff options
author | Geir Storli <geirst@oath.com> | 2018-02-02 12:54:29 +0000 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2018-02-02 12:54:29 +0000 |
commit | 4d2fc52cfa76096c81253565874ed33b6b2fe565 (patch) | |
tree | c707f24a3619e914620d075b7c7ac85713b65bf2 /document/src/tests | |
parent | 0c29fb32d7263487ce5d722e95e2fb89166b00c8 (diff) |
Define and use fixed bucket spaces names.
Diffstat (limited to 'document/src/tests')
-rw-r--r-- | document/src/tests/fixed_bucket_spaces_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/document/src/tests/fixed_bucket_spaces_test.cpp b/document/src/tests/fixed_bucket_spaces_test.cpp index fab38c638a7..12c248adf37 100644 --- a/document/src/tests/fixed_bucket_spaces_test.cpp +++ b/document/src/tests/fixed_bucket_spaces_test.cpp @@ -44,11 +44,13 @@ void FixedBucketSpacesTest::bucket_space_from_name_throws_exception_for_unknown_ void FixedBucketSpacesTest::name_from_bucket_space_is_defined_for_default_space() { CPPUNIT_ASSERT_EQUAL(vespalib::stringref("default"), FixedBucketSpaces::to_string(FixedBucketSpaces::default_space())); + CPPUNIT_ASSERT_EQUAL(vespalib::stringref("default"), FixedBucketSpaces::default_space_name()); } void FixedBucketSpacesTest::name_from_bucket_space_is_defined_for_global_space() { CPPUNIT_ASSERT_EQUAL(vespalib::stringref("global"), FixedBucketSpaces::to_string(FixedBucketSpaces::global_space())); + CPPUNIT_ASSERT_EQUAL(vespalib::stringref("global"), FixedBucketSpaces::global_space_name()); } void FixedBucketSpacesTest::name_from_bucket_space_throws_exception_for_unknown_space() { |